Author: tabish
Date: Mon Jun 22 14:33:33 2009
New Revision: 787245
URL: http://svn.apache.org/viewvc?rev=787245&view=rev
Log:
Updates to automate the release process for ActiveMQ-CPP
Modified:
activemq/activemq-cpp/branches/activemq-cpp-2.x/pom.xml
Modified: activemq/activemq-cpp/branches/activemq-cpp-2.x/pom.xml
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/branches/activemq-cpp-2.x/pom.xml?rev=787245&r1=787244&r2=787245&view=diff
==============================================================================
--- activemq/activemq-cpp/branches/activemq-cpp-2.x/pom.xml (original)
+++ activemq/activemq-cpp/branches/activemq-cpp-2.x/pom.xml Mon Jun 22 14:33:33
2009
@@ -96,19 +96,6 @@
</repositories>
<pluginRepositories>
- <pluginRepository>
- <id>apache.incubating.releases</id>
- <name>Apache Incubating Release Distribution Repository</name>
- <url>http://people.apache.org/repo/m2-incubating-repository</url>
- </pluginRepository>
- <pluginRepository>
- <id>apache.snapshots</id>
- <name>Apache Development Snapshot Repository</name>
- <url>http://people.apache.org/repo/m2-snapshot-repository</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- </pluginRepository>
</pluginRepositories>
<dependencies>
@@ -124,6 +111,70 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <!-- Used to generate the openwire commands and marshallers -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <configuration>
+ <tasks>
+ <taskdef name="generate"
classname="org.apache.activemq.openwire.tool.AmqCppGeneratorTask" />
+ <generate version="3" source="${activemq-core-dir}"
target="${basedir}" />
+ </tasks>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>activemq-cpp-library</artifactId>
+ <version>${version}</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>source.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <useReleaseProfile>false</useReleaseProfile>
+ <preparationGoals>clean install</preparationGoals>
+ <goals>deploy</goals>
+ <arguments>-Prelease,deploy</arguments>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+
+ </plugins>
+ </pluginManagement>
+ </build>
+
<profiles>
<profile>
<id>default-tools.jar</id>
@@ -178,69 +229,6 @@
</profile>
</profiles>
- <build>
- <plugins>
- <!-- Used to generate the openwire commands and marshallers -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <configuration>
- <tasks>
- <taskdef name="generate"
classname="org.apache.activemq.openwire.tool.AmqCppGeneratorTask" />
- <generate version="3" source="${activemq-core-dir}"
target="${basedir}" />
- </tasks>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.apache.activemq</groupId>
- <artifactId>activemq-cpp-library</artifactId>
- <version>${version}</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>source.xml</descriptor>
- </descriptors>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <useReleaseProfile>false</useReleaseProfile>
- <preparationGoals>clean install</preparationGoals>
- <goals>deploy</goals>
- <arguments>-Prelease,deploy</arguments>
- <autoVersionSubmodules>true</autoVersionSubmodules>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
<properties>
<activemq-version>5.2.0</activemq-version>
<activemq-core-dir>${ACTIVEMQ_SRC_HOME}/activemq-core/</activemq-core-dir>