You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by so...@apache.org on 2009/01/15 21:29:14 UTC
svn commit: r734809 - in /myfaces/portlet-bridge/core/trunk: ./ api/
api/src/main/resources/META-INF/ assembly/src/main/assembly/
assembly/src/main/resources/ assembly/src/main/resources/META-INF/
examples/assembly/src/main/assembly/ examples/assembly/...
Author: sobryan
Date: Thu Jan 15 12:29:13 2009
New Revision: 734809
URL: http://svn.apache.org/viewvc?rev=734809&view=rev
Log:
Changes to POMs to include the correct liscencing.
Added:
myfaces/portlet-bridge/core/trunk/LICENSE (props changed)
- copied unchanged from r734764, myfaces/portlet-bridge/core/trunk/LICENSE.txt
myfaces/portlet-bridge/core/trunk/NOTICE (props changed)
- copied unchanged from r734764, myfaces/portlet-bridge/core/trunk/NOTICE.txt
myfaces/portlet-bridge/core/trunk/api/src/main/resources/META-INF/NOTICE (props changed)
- copied unchanged from r727864, myfaces/portlet-bridge/core/trunk/api/src/main/resources/META-INF/NOTICE.txt
myfaces/portlet-bridge/core/trunk/assembly/src/main/resources/META-INF/
myfaces/portlet-bridge/core/trunk/assembly/src/main/resources/META-INF/NOTICE (props changed)
- copied unchanged from r727864, myfaces/portlet-bridge/core/trunk/assembly/src/main/resources/NOTICE.txt
myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/resources/META-INF/
myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/resources/META-INF/NOTICE (props changed)
- copied unchanged from r727864, myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/resources/NOTICE.txt
myfaces/portlet-bridge/core/trunk/examples/demo/src/main/resources/META-INF/NOTICE (props changed)
- copied unchanged from r727864, myfaces/portlet-bridge/core/trunk/examples/demo/src/main/resources/META-INF/NOTICE.txt
myfaces/portlet-bridge/core/trunk/impl/src/main/resources/META-INF/NOTICE (props changed)
- copied unchanged from r727864, myfaces/portlet-bridge/core/trunk/impl/src/main/resources/META-INF/NOTICE.txt
Removed:
myfaces/portlet-bridge/core/trunk/LICENSE.txt
myfaces/portlet-bridge/core/trunk/NOTICE.txt
myfaces/portlet-bridge/core/trunk/api/src/main/resources/META-INF/LICENSE.txt
myfaces/portlet-bridge/core/trunk/api/src/main/resources/META-INF/NOTICE.txt
myfaces/portlet-bridge/core/trunk/assembly/src/main/resources/LICENSE.txt
myfaces/portlet-bridge/core/trunk/assembly/src/main/resources/NOTICE.txt
myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/resources/LICENSE.txt
myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/resources/NOTICE.txt
myfaces/portlet-bridge/core/trunk/examples/demo/src/main/resources/META-INF/LICENSE.txt
myfaces/portlet-bridge/core/trunk/examples/demo/src/main/resources/META-INF/NOTICE.txt
myfaces/portlet-bridge/core/trunk/impl/src/main/resources/META-INF/LICENSE.txt
myfaces/portlet-bridge/core/trunk/impl/src/main/resources/META-INF/NOTICE.txt
myfaces/portlet-bridge/core/trunk/src/site/xdoc/
Modified:
myfaces/portlet-bridge/core/trunk/api/pom.xml
myfaces/portlet-bridge/core/trunk/assembly/src/main/assembly/dep.xml
myfaces/portlet-bridge/core/trunk/assembly/src/main/assembly/src-all.xml
myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/assembly/dep.xml
myfaces/portlet-bridge/core/trunk/pom.xml
Propchange: myfaces/portlet-bridge/core/trunk/LICENSE
------------------------------------------------------------------------------
svn:mergeinfo =
Propchange: myfaces/portlet-bridge/core/trunk/NOTICE
------------------------------------------------------------------------------
svn:mergeinfo =
Modified: myfaces/portlet-bridge/core/trunk/api/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/api/pom.xml?rev=734809&r1=734808&r2=734809&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/api/pom.xml (original)
+++ myfaces/portlet-bridge/core/trunk/api/pom.xml Thu Jan 15 12:29:13 2009
@@ -71,26 +71,13 @@
<!-- Generates the Javadocs for the Website. Wagon will transport it -->
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.3</version>
<configuration>
<doctitle>MyFaces Portlet Bridge ${project.version} API</doctitle>
<windowtitle>MyFaces Portlet Bridge ${project.version} API</windowtitle>
- <aggregate>false</aggregate>
- <linksource>true</linksource>
- <breakiterator>true</breakiterator>
- <quiet>true</quiet>
- <verbose>false</verbose>
- <source>${jdk.version}</source>
- <charset>UTF-8</charset>
- <links>
- <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
- <link>http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api</link>
- <link>http://portals.apache.org/pluto/portlet-1.0-apidocs/</link>
- </links>
</configuration>
</plugin>
+
<!-- Allows building of jdev projects (jdev:jdev target) -->
<!-- TODO: This is an artifical dependancy on Trinidad, should it be removed? -->
<plugin>
Propchange: myfaces/portlet-bridge/core/trunk/api/src/main/resources/META-INF/NOTICE
------------------------------------------------------------------------------
svn:mergeinfo =
Modified: myfaces/portlet-bridge/core/trunk/assembly/src/main/assembly/dep.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/assembly/src/main/assembly/dep.xml?rev=734809&r1=734808&r2=734809&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/assembly/src/main/assembly/dep.xml (original)
+++ myfaces/portlet-bridge/core/trunk/assembly/src/main/assembly/dep.xml Thu Jan 15 12:29:13 2009
@@ -29,8 +29,8 @@
</dependencySets>
<fileSets>
<fileSet>
- <directory>src/main/resources</directory>
- <outputDirectory></outputDirectory>
+ <directory>target/maven-shared-archive-resources/META-INF</directory>
+ <outputDirectory></outputDirectory>
<includes>
<include>README*</include>
<include>LICENSE*</include>
@@ -42,6 +42,7 @@
<outputDirectory>javadoc</outputDirectory>
<excludes>
<exclude>*.unpacked</exclude>
+ <exclude>**/META-INF/**</exclude>
</excludes>
</fileSet>
<fileSet>
Modified: myfaces/portlet-bridge/core/trunk/assembly/src/main/assembly/src-all.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/assembly/src/main/assembly/src-all.xml?rev=734809&r1=734808&r2=734809&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/assembly/src/main/assembly/src-all.xml (original)
+++ myfaces/portlet-bridge/core/trunk/assembly/src/main/assembly/src-all.xml Thu Jan 15 12:29:13 2009
@@ -23,21 +23,22 @@
<format>tar.gz</format>
<format>zip</format>
</formats>
- <includeBaseDirectory>true</includeBaseDirectory>
+ <includeBaseDirectory>true</includeBaseDirectory>
<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
- <excludes>
- <exclude>org.apache.myfaces.core:myfaces-api</exclude>
- </excludes>
+ <excludes>
+ <exclude>org.apache.myfaces.core:myfaces-api</exclude>
+ </excludes>
</dependencySet>
- </dependencySets>
-
+ </dependencySets>
+
<fileSets>
<fileSet>
- <directory>src/main/resources</directory>
+ <directory>target/maven-shared-archive-resources/META-INF</directory>
<outputDirectory></outputDirectory>
<includes>
+ <include>README*</include>
<include>LICENSE*</include>
<include>NOTICE*</include>
</includes>
Propchange: myfaces/portlet-bridge/core/trunk/assembly/src/main/resources/META-INF/NOTICE
------------------------------------------------------------------------------
svn:mergeinfo =
Modified: myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/assembly/dep.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/assembly/dep.xml?rev=734809&r1=734808&r2=734809&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/assembly/dep.xml (original)
+++ myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/assembly/dep.xml Thu Jan 15 12:29:13 2009
@@ -25,7 +25,7 @@
</formats>
<fileSets>
<fileSet>
- <directory>src/main/resources</directory>
+ <directory>target/maven-shared-archive-resources/META-INF</directory>
<outputDirectory></outputDirectory>
<includes>
<include>README*</include>
Propchange: myfaces/portlet-bridge/core/trunk/examples/assembly/src/main/resources/META-INF/NOTICE
------------------------------------------------------------------------------
svn:mergeinfo =
Propchange: myfaces/portlet-bridge/core/trunk/examples/demo/src/main/resources/META-INF/NOTICE
------------------------------------------------------------------------------
svn:mergeinfo =
Propchange: myfaces/portlet-bridge/core/trunk/impl/src/main/resources/META-INF/NOTICE
------------------------------------------------------------------------------
svn:mergeinfo =
Modified: myfaces/portlet-bridge/core/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk/pom.xml?rev=734809&r1=734808&r2=734809&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk/pom.xml (original)
+++ myfaces/portlet-bridge/core/trunk/pom.xml Thu Jan 15 12:29:13 2009
@@ -17,231 +17,270 @@
specific language governing permissions and limitations
under the License.
-->
-<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.apache.myfaces.portlet-bridge</groupId>
- <artifactId>portlet-bridge</artifactId>
- <packaging>pom</packaging>
- <name>MyFaces Portlet Bridge</name>
- <version>1.0.0-SNAPSHOT</version>
- <inceptionYear>2007</inceptionYear>
- <description>
- Portlet Bridge for JavaServer Faces is a subproject of Apache MyFaces which provides an
- implementation of the standardized Portlet Bridge as outlined by JSR-301 and subsequent
- specifications. This project will work with MyFaces as well as the R.I. and intended to
- be used to develop the Portlet Bridge Reference Implementation.
- </description>
-
- <url>http://myfaces.apache.org/portlet-bridge/1.0</url>
-
- <parent>
- <artifactId>portlet-bridge-master-pom</artifactId>
- <groupId>org.apache.myfaces.portlet-bridge</groupId>
- <version>2</version>
- </parent>
-
- <properties>
- <specName>Portlet 1.0 Bridge for JavaServer Faces 1.2</specName>
- <specVersion>1.0</specVersion>
- <projectSeries>1.x</projectSeries>
- <jsf.version>1.2_03</jsf.version>
- </properties>
-
- <!-- issueManagement is in parent -->
- <!-- ciManagement are in parent -->
- <!-- mailingLists are in parent -->
- <!-- developers are in parent -->
- <!-- contributors are in parent -->
-
- <scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/portlet-bridge/core/trunk</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/portlet-bridge/core/trunk</developerConnection>
- <url>http://svn.apache.org/viewcvs.cgi/myfaces/portlet-bridge/core/trunk</url>
- </scm>
-
- <distributionManagement>
- <site>
- <id>apache-site</id>
- <url>scpexe://minotaur.apache.org/www/myfaces.apache.org/portlet-bridge/1.0</url>
- </site>
- </distributionManagement>
-
- <modules>
- <module>api</module>
- <module>impl</module>
- <module>examples</module>
- </modules>
-
- <!-- Versions and scope of dependencies -->
- <dependencyManagement>
- <dependencies>
- <!-- Portlet API -->
- <dependency>
- <groupId>portlet-api</groupId>
- <artifactId>portlet-api</artifactId>
- <version>1.0</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- Servlet API -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.4</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- JSP API -->
- <dependency>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.1</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- J2EE Annotations -->
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-annotation_1.0_spec</artifactId>
- <version>1.0</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- MyFaces API -->
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- <version>1.2.2</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-impl</artifactId>
- <version>1.2.2</version>
- <scope>runtime</scope>
- </dependency>
-
- <!-- JSF R.I. API -->
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- <!-- As per spec, 1.2_03 is the minimum R.I. for version 1.0 bridge -->
- <version>${jsf.version}</version>
- <scope>provided</scope>
- </dependency>
-
- <!-- Jetty Pluto Plugin -->
- <dependency>
- <groupId>com.bekk.boss</groupId>
- <artifactId>maven-jetty-pluto-embedded</artifactId>
- <version>1.0</version>
- </dependency>
-
- <dependency>
- <groupId>javax.activation</groupId>
- <artifactId>activation</artifactId>
- <version>1.1</version>
- </dependency>
-
- <!-- JSF Portlet Bridge API -->
- <dependency>
- <groupId>${pom.groupId}</groupId>
- <artifactId>portlet-bridge-api</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
-
- <!-- JSF Portlet Bridge Impl -->
- <dependency>
- <groupId>${pom.groupId}</groupId>
- <artifactId>portlet-bridge-impl</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestEntries>
- <Specification-Title>${specName}</Specification-Title>
- <Specification-Version>${specVersion}</Specification-Version>
- <Specification-Vendor>Java Community (JSR-301)</Specification-Vendor>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <!-- This profile is invoked by -DprepareRelease=true. This allows mvn release:prepare to
- run successfully on the assembly projects. -->
- <profile>
- <id>prepare-release</id>
- <activation>
- <property>
- <name>prepareRelease</name>
- </property>
- </activation>
- <modules>
- <module>assembly</module>
- </modules>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <arguments>-DprepareRelease</arguments>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
- <id>perform-release</id>
- <activation>
- <property>
- <name>performRelease</name>
- <value>true</value>
- </property>
- </activation>
- <modules>
- <module>assembly</module>
- </modules>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.2</version>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-scm-plugin</artifactId>
- <executions>
- <execution>
- <phase>validate</phase>
- <id>getting-scm.revision</id>
- <goals>
- <goal>update</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
+<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.apache.myfaces.portlet-bridge</groupId>
+ <artifactId>portlet-bridge</artifactId>
+ <packaging>pom</packaging>
+ <name>MyFaces Portlet Bridge</name>
+ <version>1.0.0-SNAPSHOT</version>
+ <inceptionYear>2007</inceptionYear>
+ <description>
+ Portlet Bridge for JavaServer Faces is a subproject of Apache MyFaces which provides an
+ implementation of the standardized Portlet Bridge as outlined by JSR-301 and subsequent
+ specifications. This project will work with MyFaces as well as the R.I. and intended to
+ be used to develop the Portlet Bridge Reference Implementation.
+ </description>
+
+ <url>http://myfaces.apache.org/portlet-bridge/1.0</url>
+
+ <parent>
+ <artifactId>portlet-bridge-master-pom</artifactId>
+ <groupId>org.apache.myfaces.portlet-bridge</groupId>
+ <version>2</version>
+ </parent>
+
+ <properties>
+ <specName>Portlet 1.0 Bridge for JavaServer Faces 1.2</specName>
+ <specVersion>1.0</specVersion>
+ <projectSeries>1.x</projectSeries>
+ <jsf.version>1.2_03</jsf.version>
+ </properties>
+
+ <!-- issueManagement is in parent -->
+ <!-- ciManagement are in parent -->
+ <!-- mailingLists are in parent -->
+ <!-- developers are in parent -->
+ <!-- contributors are in parent -->
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/portlet-bridge/core/trunk/</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/portlet-bridge/core/trunk/</developerConnection>
+ <url>http://svn.apache.org/viewcvs.cgi/myfaces/portlet-bridge/core/trunk/</url>
+ </scm>
+
+ <distributionManagement>
+ <site>
+ <id>apache-site</id>
+ <url>scpexe://minotaur.apache.org/www/myfaces.apache.org/portlet-bridge/1.0</url>
+ </site>
+ </distributionManagement>
+
+ <modules>
+ <module>api</module>
+ <module>impl</module>
+ <module>examples</module>
+ </modules>
+
+ <!-- Versions and scope of dependencies -->
+ <dependencyManagement>
+ <dependencies>
+ <!-- Portlet API -->
+ <dependency>
+ <groupId>portlet-api</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- Servlet API -->
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- JSP API -->
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.1</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- J2EE Annotations -->
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-annotation_1.0_spec</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- MyFaces API -->
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-api</artifactId>
+ <version>1.2.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.myfaces.core</groupId>
+ <artifactId>myfaces-impl</artifactId>
+ <version>1.2.2</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- JSF R.I. API -->
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <!-- As per spec, 1.2_03 is the minimum R.I. for version 1.0 bridge -->
+ <version>${jsf.version}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- Jetty Pluto Plugin -->
+ <dependency>
+ <groupId>com.bekk.boss</groupId>
+ <artifactId>maven-jetty-pluto-embedded</artifactId>
+ <version>1.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.activation</groupId>
+ <artifactId>activation</artifactId>
+ <version>1.1</version>
+ </dependency>
+
+ <!-- JSF Portlet Bridge API -->
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>portlet-bridge-api</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+
+ <!-- JSF Portlet Bridge Impl -->
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>portlet-bridge-impl</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.0-alpha-6</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+ <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
+ </resourceBundles>
+ <properties>
+ <addLicense>true</addLicense>
+ </properties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Generates the Javadocs for the Website. Wagon will transport it -->
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <aggregate>false</aggregate>
+ <linksource>true</linksource>
+ <breakiterator>true</breakiterator>
+ <quiet>true</quiet>
+ <verbose>false</verbose>
+ <source>${jdk.version}</source>
+ <charset>UTF-8</charset>
+ <links>
+ <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+ <link>http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api</link>
+ <link>http://portals.apache.org/pluto/portlet-1.0-apidocs/</link>
+ </links>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <Specification-Title>${specName}</Specification-Title>
+ <Specification-Version>${specVersion}</Specification-Version>
+ <Specification-Vendor>Java Community (JSR-301)</Specification-Vendor>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <!-- This profile is invoked by -DprepareRelease=true. This allows mvn release:prepare to
+ run successfully on the assembly projects. -->
+ <profile>
+ <id>prepare-release</id>
+ <activation>
+ <property>
+ <name>prepareRelease</name>
+ </property>
+ </activation>
+ <modules>
+ <module>assembly</module>
+ </modules>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <arguments>-DprepareRelease</arguments>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>perform-release</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+ <modules>
+ <module>assembly</module>
+ </modules>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-scm-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <id>getting-scm.revision</id>
+ <goals>
+ <goal>update</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>