Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from maschmid/SEAMJMS-58
SEAMJMS-58, make the statuswatcher work on both AS6 and AS7
- Loading branch information
Showing
10 changed files
with
242 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
connect | ||
batch | ||
add-jms-topic --name=StatusInfoTopic --entries=java:/jms/statusInfoTopic | ||
add-jms-queue --name=UpdateStatusQueue --entries=java:/jms/updateStatusQueue | ||
run-batch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,148 +1,188 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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.jboss.seam.jms</groupId> | ||
<artifactId>seam-jms-parent</artifactId> | ||
<version>3.1.0-SNAPSHOT</version> | ||
<relativePath>../../pom.xml</relativePath> | ||
</parent> | ||
|
||
<artifactId>seam-jms-example-statuswatcher</artifactId> | ||
<packaging>war</packaging> | ||
|
||
<name>Seam StatusWatcher Example (JMS)</name> | ||
|
||
<properties> | ||
<jboss.home>${env.JBOSS_HOME}</jboss.home> | ||
<jboss.domain>default</jboss.domain> | ||
<jsf.version>2.0.2-FCS</jsf.version> | ||
<ajax4jsf.version>1.0.5</ajax4jsf.version> | ||
</properties> | ||
|
||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>org.jboss.seam.jms</groupId> | ||
<artifactId>seam-jms</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.solder</groupId> | ||
<artifactId>solder-impl</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.solder</groupId> | ||
<artifactId>solder-api</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.spec.javax.jms</groupId> | ||
<artifactId>jboss-jms-api_1.1_spec</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.spec.javax.ejb</groupId> | ||
<artifactId>jboss-ejb-api_3.1_spec</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.hibernate.javax.persistence</groupId> | ||
<artifactId>hibernate-jpa-2.0-api</artifactId> | ||
<version>1.0.0.Final</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<!-- Common to JEE and Servlet containers --> | ||
<dependency> | ||
<groupId>javax.enterprise</groupId> | ||
<artifactId>cdi-api</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.spec.javax.annotation</groupId> | ||
<artifactId>jboss-annotations-api_1.1_spec</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.testng</groupId> | ||
<artifactId>testng</artifactId> | ||
<classifier>jdk15</classifier> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>javax.faces</groupId> | ||
<artifactId>jsf-api</artifactId> | ||
<version>${jsf.version}</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.glassfish.web</groupId> | ||
<artifactId>el-impl</artifactId> | ||
<scope>provided</scope> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>javax.el</groupId> | ||
<artifactId>el-api</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<finalName>jms-statuswatcher</finalName> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>distribution</id> | ||
<activation> | ||
<property> | ||
<name>release</name> | ||
</property> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>jbossas</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>jboss-maven-plugin</artifactId> | ||
<version>1.4.1</version> | ||
<configuration> | ||
<jbossHome>${jboss.home}</jbossHome> | ||
<serverName>${jboss.domain}</serverName> | ||
<fileNames> | ||
<param>${basedir}/src/main/resources-jboss6/statuswatcher-hornetq-jms.xml</param> | ||
<param>${project.build.directory}/${project.build.finalName}.${project.packaging}</param> | ||
</fileNames> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.jboss.seam.jms</groupId> | ||
<artifactId>seam-jms-parent</artifactId> | ||
<version>3.1.0-SNAPSHOT</version> | ||
<relativePath>../../pom.xml</relativePath> | ||
</parent> | ||
|
||
<artifactId>seam-jms-example-statuswatcher</artifactId> | ||
<packaging>war</packaging> | ||
|
||
<name>Seam StatusWatcher Example (JMS)</name> | ||
|
||
<properties> | ||
<jboss.home>${env.JBOSS_HOME}</jboss.home> | ||
<jboss.domain>default</jboss.domain> | ||
<jsf.version>2.0.2-FCS</jsf.version> | ||
<ajax4jsf.version>1.0.5</ajax4jsf.version> | ||
</properties> | ||
|
||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>org.jboss.seam.jms</groupId> | ||
<artifactId>seam-jms</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.solder</groupId> | ||
<artifactId>solder-impl</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.solder</groupId> | ||
<artifactId>solder-api</artifactId> | ||
<scope>compile</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.spec.javax.jms</groupId> | ||
<artifactId>jboss-jms-api_1.1_spec</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.spec.javax.ejb</groupId> | ||
<artifactId>jboss-ejb-api_3.1_spec</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.hibernate.javax.persistence</groupId> | ||
<artifactId>hibernate-jpa-2.0-api</artifactId> | ||
<version>1.0.0.Final</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<!-- Common to JEE and Servlet containers --> | ||
<dependency> | ||
<groupId>javax.enterprise</groupId> | ||
<artifactId>cdi-api</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.jboss.spec.javax.annotation</groupId> | ||
<artifactId>jboss-annotations-api_1.1_spec</artifactId> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.testng</groupId> | ||
<artifactId>testng</artifactId> | ||
<classifier>jdk15</classifier> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>javax.faces</groupId> | ||
<artifactId>jsf-api</artifactId> | ||
<version>${jsf.version}</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.glassfish.web</groupId> | ||
<artifactId>el-impl</artifactId> | ||
<scope>provided</scope> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>javax.el</groupId> | ||
<artifactId>el-api</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<finalName>jms-statuswatcher</finalName> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>distribution</id> | ||
<activation> | ||
<property> | ||
<name>release</name> | ||
</property> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>jbossas6</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>package-jboss</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>war</goal> | ||
</goals> | ||
<configuration> | ||
<useCache>false</useCache> | ||
<warSourceDirectory>src/main/resources-jboss6</warSourceDirectory> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>jboss-maven-plugin</artifactId> | ||
<version>1.4.1</version> | ||
<configuration> | ||
<jbossHome>${jboss.home}</jbossHome> | ||
<serverName>${jboss.domain}</serverName> | ||
<fileNames> | ||
<param>${basedir}/src/main/resources-jboss6/statuswatcher-hornetq-jms.xml</param> | ||
<param>${project.build.directory}/${project.build.finalName}.${project.packaging}</param> | ||
</fileNames> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>jbossas7</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-war-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>package-jboss</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>war</goal> | ||
</goals> | ||
<configuration> | ||
<useCache>false</useCache> | ||
<warSourceDirectory>src/main/resources-jboss7</warSourceDirectory> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.