Author: ataylor
Date: 2011-04-07 10:46:47 -0400 (Thu, 07 Apr 2011)
New Revision: 10458
Added:
trunk/hornetq-twitter-integration/
trunk/hornetq-twitter-integration/pom.xml
trunk/hornetq-twitter-integration/src/
trunk/hornetq-twitter-integration/src/main/
trunk/hornetq-twitter-integration/src/main/java/
trunk/hornetq-twitter-integration/src/main/java/org/
trunk/hornetq-twitter-integration/src/main/java/org/hornetq/
trunk/hornetq-twitter-integration/src/main/java/org/hornetq/integration/
Modified:
trunk/build-hornetq.xml
Log:
mavenized hornetq twitter integartion
Modified: trunk/build-hornetq.xml
===================================================================
--- trunk/build-hornetq.xml 2011-04-06 06:26:27 UTC (rev 10457)
+++ trunk/build-hornetq.xml 2011-04-07 14:46:47 UTC (rev 10458)
@@ -99,11 +99,13 @@
<property name="hornetq.logging.module.jar"
value="hornetq-logging"/>
<property name="hornetq.integration.as.module.jar"
value="hornetq-jboss-as-integration"/>
<property name="hornetq.bootstrap.module.jar"
value="hornetq-bootstrap"/>
+ <property name="hornetq.twitter.module.jar"
value="hornetq-twitter-integration"/>
<property name="target.core.jar.dir"
value="${hornetq.core.module.jar}/target"/>
<property name="target.core.client.jar.dir"
value="${hornetq.core.client.module.jar}/target"/>
<property name="target.logging.jar.dir"
value="${hornetq.logging.module.jar}/target"/>
<property name="target.integration.as.jar.dir"
value="${hornetq.integration.as.module.jar}/target"/>
<property name="target.bootstrap.jar.dir"
value="${hornetq.bootstrap.module.jar}/target"/>
+ <property name="target.twitter.jar.dir"
value="${hornetq.twitter.module.jar}/target"/>
<property name="build.core.client.java5.classes.dir"
value="${build.dir}/classes/core-client-java5"/>
<property name="build.jms.classes.dir"
value="${build.dir}/classes/jms"/>
<property name="build.jms.java5.classes.dir"
value="${build.dir}/classes/jms-java5"/>
@@ -609,25 +611,7 @@
<target name="compile-jboss-integration"
depends="jar-jboss-integration">
</target>
- <target name="compile-twitter-integration"
depends="compile-core">
- <javac destdir="${build.twitter.integration.classes.dir}"
- target="${javac.target}"
- source="${javac.source}"
- optimize="${javac.optimize}"
- debug="${javac.debug}"
- depend="${javac.depend}"
- verbose="${javac.verbose}"
- deprecation="${javac.deprecation}"
- includeAntRuntime="${javac.include.ant.runtime}"
- includeJavaRuntime="${javac.include.java.runtime}"
- encoding="${javac.encoding}"
- failonerror="${javac.fail.onerror}">
- <src>
- <pathelement path="${src.main.dir}"/>
- </src>
- <include name="org/hornetq/integration/twitter/**/*.java"/>
- <classpath refid="twitter.integration.compilation.classpath"/>
- </javac>
+ <target name="compile-twitter-integration"
depends="jar-twitter-integration">
</target>
<target name="compile-spring-integration"
depends="compile-core">
@@ -899,12 +883,12 @@
</jar>
</target>
- <target name="jar-twitter-integration"
depends="compile-twitter-integration">
-
- <jar jarfile="${build.jars.dir}/${twitter.integration.jar.name}">
- <fileset dir="${build.twitter.integration.classes.dir}"
includes="**"/>
- </jar>
-
+ <target name="jar-twitter-integration">
+ <ant antfile="build-thirdparty.xml"
target="maven-install">
+ <property name="maven.opts"
value="-Dmaven.test.skip=true"/>
+ <property name="maven.goal" value="install"/>
+ <property name="working.dir"
value="hornetq-twitter-integration"/>
+ </ant>
</target>
<target name="jar-twitter-integration-sources">
@@ -1212,7 +1196,6 @@
<include name="${jms.client.java5.jar.name}"/>
<include name="${jnp.client.jar.name}"/>
<include name="${spring.integration.jar.name}"/>
- <include name="${twitter.integration.jar.name}"/>
</fileset>
<fileset dir="${org.jboss.naming.lib}">
<include name="jnpserver.jar"/>
@@ -1226,6 +1209,7 @@
<copy
file="${target.logging.jar.dir}/hornetq-logging-2.2.3-SNAPSHOT.jar"
tofile="${build.distro.lib.dir}/hornetq-logging.jar"/>
<copy
file="${target.integration.as.jar.dir}/hornetq-jboss-as-integration-2.2.3-SNAPSHOT.jar"
tofile="${build.distro.lib.dir}/hornetq-jboss-as-integration.jar"/>
<copy
file="${target.bootstrap.jar.dir}/hornetq-bootstrap-2.2.3-SNAPSHOT.jar"
tofile="${build.distro.lib.dir}/hornetq-bootstrap.jar"/>
+ <copy
file="${target.twitter.jar.dir}/hornetq-twitter-integration-2.2.3-SNAPSHOT.jar"
tofile="${build.distro.lib.dir}/hornetq-twitter-integration.jar"/>
<copy file="${org.jboss.netty.lib}/${netty.jar.name}"
tofile="${build.distro.lib.dir}/netty.jar"/>
<copy file="${org.twitter4j.lib}/${twitter4j.jar.name}"
tofile="${build.distro.lib.dir}/${twitter4j.jar.name}"/>
<copy todir="${build.distro.config.dir}">
Added: trunk/hornetq-twitter-integration/pom.xml
===================================================================
--- trunk/hornetq-twitter-integration/pom.xml (rev 0)
+++ trunk/hornetq-twitter-integration/pom.xml 2011-04-07 14:46:47 UTC (rev 10458)
@@ -0,0 +1,37 @@
+<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.hornetq</groupId>
+ <artifactId>hornetq-twitter-integration</artifactId>
+ <packaging>jar</packaging>
+ <version>2.2.3-SNAPSHOT</version>
+ <name>HornetQ Twitter Integration</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.hornetq</groupId>
+ <artifactId>hornetq-core</artifactId>
+ <version>2.2.3-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.twitter4j</groupId>
+ <artifactId>twitter4j-core</artifactId>
+ <version>2.1.6</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>