Skip to main content

Source code file content

Revision: 59090

FindBugs, LL. I'm doing frequent commits because NB is very aggressive about changing hundreds of lines of whitespace if you aren't super-careful...
» Project Revision History

» Checkout URL

svn / tags / v3-docs-3.0-b08 / pom.xml

Size: 4860 bytes, 1 line
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.glassfish.docs</groupId>
    <artifactId>v3-docs</artifactId>
    <version>3.0-b08</version>
    <packaging>pom</packaging>
    <name>V3 Docs</name>

    <profiles>
        <!--profile-->
            <!-- this profile built the plugin that generated JavaHelp but is no longer needed. -->
            <!--id plugin id-->
            <!-- modules-->
      	        <!--module javahelp-plugin-->
            <!-- /modules-->
        <!--/profile-->
        <profile>
            <!-- this profile build and bundles docs-->
            <id>default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <modules>
     	        <module>basedocs</module>
     	        <module>man</module>
      	        <module>help</module>
            </modules>
        </profile>
    </profiles>
    <repositories>
        <repository>
            <id>glassfish-repo-archive</id>
            <name>Nexus repository collection for Glassfish</name>
            <url>http://maven.glassfish.org/content/groups/glassfish</url>
            <snapshots>
                <updatePolicy>never</updatePolicy>
            </snapshots>
        </repository>
    </repositories>

    <pluginRepositories>
	<pluginRepository>
	    <id>glassfish-repo-archive</id>
	    <name>Nexus repository collection for Glassfish</name>
	    <url>http://maven.glassfish.org/content/groups/glassfish</url>
	    <snapshots>
		<updatePolicy>never</updatePolicy>
	    </snapshots>
	</pluginRepository>
    </pluginRepositories>

    <properties>
	<hk2.plugin.version>0.3.89</hk2.plugin.version>
    </properties>

    <build>
	<defaultGoal>install</defaultGoal>
	<sourceDirectory>src/main/java</sourceDirectory>
	<!-- make the target/*.jar names match the name as found in  installed modules/ -->
	<finalName>${project.artifactId}</finalName>

	<pluginManagement>
	    <plugins>
		<plugin>
		    <groupId>com.sun.enterprise</groupId>
		    <artifactId>hk2-maven-plugin</artifactId>
		    <version>${hk2.plugin.version}</version>
		</plugin>
                <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <version>2.0-beta-9</version>
                </plugin>
	    </plugins>
	</pluginManagement>

	<plugins>
	    <plugin>
		<groupId>com.sun.enterprise</groupId>
		<artifactId>hk2-maven-plugin</artifactId>
		<extensions>true</extensions>
		<configuration>
		    <archive>
			<!-- Use the manifest.mf produced by maven-bundle-plugin:manifest -->
			<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
		    </archive>
		</configuration>
	    </plugin>

	    <!-- Configure maven-bundle-plugin to generate OSGi manifest.
		 Please note: we use the manifest goal only and not the bundle goal.
		 The bundle goal can lead to very surprising results if the
		 package names are not correctly specified. So,
		 we use the jar plugin to generate the jar.-->
	    <plugin>
		<groupId>org.apache.felix</groupId>
		<artifactId>maven-bundle-plugin</artifactId>
		<configuration>
		    <!-- By default, we don't export anything.  -->
		    <Export-Package />

		    <!--
			Since, we are in a top level pom and
			we we don't want it to be active for plain jar type artifacts,
			enable the plugin for hk2-jar and bundle packaging type only,
		    -->
		    <supportedProjectTypes>
			<supportedProjectType>hk2-jar</supportedProjectType>
			<supportedProjectType>bundle</supportedProjectType>
		    </supportedProjectTypes>
		    <instructions>
			<!--
			    Read all the configuration from osgi.bundle file, if it exists.
			    See Felix-699 to find out why we use ${basedir}.
			-->
			<_include>-${basedir}/osgi.bundle</_include>
		    </instructions>
		</configuration>
		<executions>
		    <execution>
			<id>bundle-manifest</id>
			<phase>process-classes</phase>
			<goals>
			    <goal>manifest</goal>
			</goals>
		    </execution>
		</executions>
	    </plugin>
	</plugins>
    </build>

    <scm>
        <connection>scm:svn:https://svn.dev.java.net/svn/glassfish-svn/tags/v3-docs-3.0-b08</connection>
        <developerConnection>scm:svn:https://svn.dev.java.net/svn/glassfish-svn/tags/v3-docs-3.0-b08</developerConnection>
    </scm>
    <distributionManagement>
        <repository>            
            <uniqueVersion>false</uniqueVersion>
            <id>rator.sfbay</id>
            <url>dav:http://glassfish-maven-repository.sfbay/maven/repositories/glassfish/</url>
        </repository>
    </distributionManagement>

</project>
 
 
Close
loading
Please Confirm
Close