Skip to content
Permalink
Browse files
updating to apache pom 6
git-svn-id: https://svn.apache.org/repos/asf/activemq/activemq-protobuf/trunk@816104 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dejanb committed Sep 17, 2009
1 parent 54e096e commit a2f89198ddaa483fbf6c09d97a70c4f038709d7e
Showing 1 changed file with 1 addition and 82 deletions.
83 pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>4</version>
<version>6</version>
</parent>

<groupId>org.apache.activemq.protobuf</groupId>
@@ -294,85 +294,4 @@
</plugin>
</plugins>
</reporting>

<profiles>
<profile>
<id>release</id>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<useReleaseProfile>false</useReleaseProfile>
<goals>deploy</goals>
<arguments>-Prelease</arguments>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>

<!-- We want a source jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- We want to sign the artifact, the POM, and all attached artifacts -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<passphrase>${gpg.passphrase}</passphrase>
</configuration>
<executions>
<execution>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- We want to deploy the artifact to a staging location for perusal -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<altDeploymentRepository>${staging.altRepository}/${siteId}</altDeploymentRepository>
<updateReleaseInfo>true</updateReleaseInfo>
</configuration>
</plugin>

<!-- We want the JavaDoc JAR published with the release -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<source>1.5</source>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit a2f8919

Please sign in to comment.