Author: tcurdt Date: Wed May 30 13:48:19 2007 New Revision: 542929 URL: http://svn.apache.org/viewvc?view=rev&rev=542929 Log: try to streamline the release
Modified: jakarta/commons/proper/jci/trunk/pom.xml Modified: jakarta/commons/proper/jci/trunk/pom.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jci/trunk/pom.xml?view=diff&rev=542929&r1=542928&r2=542929 ============================================================================== --- jakarta/commons/proper/jci/trunk/pom.xml (original) +++ jakarta/commons/proper/jci/trunk/pom.xml Wed May 30 13:48:19 2007 @@ -16,7 +16,8 @@ See the License for the 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"> +--> +<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> <parent> <groupId>org.apache.commons</groupId> @@ -48,11 +49,6 @@ <module>examples</module> </modules> <distributionManagement> - <repository> - <id>staging</id> - <name>Apache Release Staging Repository</name> - <url>scpexe://people.apache.org/www/people.apache.org/builds/jakarta-commons/jci/</url> - </repository> <site> <id>website</id> <url>scpexe://people.apache.org/www/jakarta.apache.org/commons/jci/</url> @@ -115,7 +111,7 @@ </goals> </execution> </executions> - </plugin> + </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> @@ -136,9 +132,6 @@ </extensions> </build> <reporting> -<!-- - <excludeDefaults>true</excludeDefaults> ---> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> @@ -213,7 +206,80 @@ </plugin> </plugins> </reporting> - + <profiles> + <profile> + <id>release</id> + <distributionManagement> + <repository> + <id>apache.staging</id> + <name>Apache Release Staging Repository</name> + <url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/builds/jakarta-commons/jci/${tag}</url> + </repository> + </distributionManagement> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>2.0.3</version> + </plugin> + </plugins> + </pluginManagement> + <plugins> + <plugin> + <artifactId>maven-gpg-plugin</artifactId> + <configuration> + <useAgent>true</useAgent> + </configuration> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>create-source-jar</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <executions> + <execution> + <id>create-javadoc-jar</id> + <goals> + <goal>jar</goal> + </goals> + <configuration> + <source>${maven.compile.source}</source> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <generateReleasePoms>true</generateReleasePoms> + <preparationGoals>clean install</preparationGoals> + <autoVersionSubmodules>true</autoVersionSubmodules> + <tag>${tag}</tag> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> <properties> <maven.compile.source>1.4</maven.compile.source> <maven.compile.target>1.4</maven.compile.target> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]