Skip to content
Permalink
Browse files
Update project to allow for generating new versions of some commands.
  • Loading branch information
Timothy A. Bish committed Aug 25, 2014
1 parent a70bb8a commit 053156bb822501d356abc2c1da007e0748e636f3
Showing 2 changed files with 57 additions and 7 deletions.
50 pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>7</version>
<version>14</version>
</parent>

<modelVersion>4.0.0</modelVersion>
@@ -61,13 +61,16 @@
</mailingLists>

<properties>
<activemq-version>5.9-SNAPSHOT</activemq-version>
<projectName>Apache NMS.ActiveMQ</projectName>
<annogen-version>0.1.0</annogen-version>
<ant-version>1.6.2</ant-version>
<ant-version>1.8.4</ant-version>
<activemq-version>5.10.0</activemq-version>
<projectName>Apache NMS.ActiveMQ</projectName>
<xstream-version>1.4.4</xstream-version>
<activemq-src-dir>${ACTIVEMQ_SRC_HOME}/activemq-client/</activemq-src-dir>
<maven-antrun-plugin-version>1.7</maven-antrun-plugin-version>
<nms-activemq-dir>${NMS_ACTIVEMQ_HOME}</nms-activemq-dir>
<source-version>1.6</source-version>
<target-version>1.6</target-version>
</properties>

<dependencies>
@@ -81,6 +84,36 @@
<artifactId>activemq-client</artifactId>
<version>${activemq-version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin-version}</version>
</dependency>
<dependency>
<groupId>groovy</groupId>
<artifactId>gram</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>1.0-jsr-03</version>
</dependency>
<dependency>
<groupId>annogen</groupId>
<artifactId>annogen</artifactId>
<version>${annogen-version}</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>${ant-version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
</dependency>
</dependencies>

<distributionManagement>
@@ -108,7 +141,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -128,8 +160,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>${source-version}</source>
<target>${target-version}</target>
<optimize>true</optimize>
<debug>true</debug>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<plugin>
@@ -34,6 +34,8 @@ protected void generateUsingDirectives( PrintWriter out ) {
protected void generateProperties( PrintWriter out ) {

out.println(" private Exception rollbackCause = null;");
out.println(" private long deliverySequenceId;");
out.println(" private object consumer;");
out.println("");

super.generateProperties(out);
@@ -46,6 +48,18 @@ protected void generateAdditonalMembers( PrintWriter out ) {
out.println(" set { this.rollbackCause = value; }");
out.println(" }");
out.println("");
out.println(" public long DeliverySequenceId");
out.println(" {");
out.println(" get { return this.deliverySequenceId; }");
out.println(" set { this.deliverySequenceId = value; }");
out.println(" }");
out.println("");
out.println(" public object Consumer");
out.println(" {");
out.println(" get { return this.consumer; }");
out.println(" set { this.consumer = value; }");
out.println(" }");
out.println("");

super.generateAdditonalMembers( out );
}

0 comments on commit 053156b

Please sign in to comment.