Hi All -
I was wondering if someone could help me with my problem. I am having trouble stopping JBoss with the cargo plugin. Startup and my integration tests run fine.
I am using a vanilla 4.2.2 instance with my RMI port at 11098
Attached is my pom.xml and settings.xml.
Any help would be much appreciated!
Thanks,
Michael
<settings xmlns="
http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository />
<interactiveMode/>
<usePluginRegistry/>
<offline/>
<pluginGroups/>
<servers>
<server>
<id>releases</id>
<username>admin</username>
<password>jnapp</password>
</server>
<server>
<id>snapshots</id>
<username>admin</username>
<password>jnapp</password>
</server>
</servers>
<mirrors>
<mirror>
<!--This sends everything to /public -->
<id>nexus</id>
<mirrorOf>central</mirrorOf>
<url>
http://192.168.1.7:18080/nexus/content/groups/public</url>
</mirror>
</mirrors>
<proxies/>
<profiles>
<profile>
<id>nexus</id>
<properties>
<flex.home>C:/flex_sdk_3-2/</flex.home>
<jboss.home>C:/jboss-4.2.2.GA</jboss.home>
<jboss.configuration>default</jboss.configuration>
<jboss.rmi>11098</jboss.rmi>
<jboss.port>7001</jboss.port>
<release.repo>
http://192.168.1.7:18080/nexus/content/repositories/releases</release.repo>
<snapshot.repo>
http://192.168.1.7:18080/nexus/content/repositories/snapshots</snapshot.repo>
</properties>
<!-- Enable snapshots for the built in central repo to direct -->
<!-- all requests to nexus via the mirror -->
<repositories>
<repository>
<id>central</id>
<url>
http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>
http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<!-- make the profile active all the time -->
<activeProfile>nexus</activeProfile>
</activeProfiles>
</settings>
<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>com.paragonLake</groupId>
<artifactId>DAL_EJB</artifactId>
<version>1.0</version>
<packaging>ejb</packaging>
<properties>
<maven.test.skip>false</maven.test.skip>
<maven.test.failure.ignore>true</maven.test.failure.ignore>
<maven.test.error.ignore>true</maven.test.error.ignore>
</properties>
<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>../DAL_TestClient/src</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.2</version>
<configuration>
<skip>true</skip>
</configuration>
<executions>
<execution>
<id>surefire-it</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<skip>false</skip>
<systemProperties>
<property>
<name>browser</name>
<value>firefox</value>
</property>
</systemProperties>
</configuration>
</execution>
</executions>
</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-ejb-plugin</artifactId>
<configuration>
<ejbVersion>3.0</ejbVersion>
<archive>
<manifest>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.0-beta-2</version>
<configuration>
<wait>false</wait>
<container>
<containerId>jboss42x</containerId>
<home>${jboss.home}</home>
</container>
<configuration>
<type>existing</type>
<home>${jboss.home}/server/default</home>
<properties>
<cargo.jboss.configuration>${jboss.configuration}</cargo.jboss.configuration>
<cargo.rmi.port>${jboss.rmi}</cargo.rmi.port>
<cargo.logging>high</cargo.logging>
<cargo.servlet.port>${jboss.port}</cargo.servlet.port>
</properties>
</configuration>
</configuration>
<executions>
<execution>
<id>start-container</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop-container</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/META-INF</directory>
<targetPath>META-INF</targetPath>
</resource>
<resource>
<directory>src</directory>
<includes>
<include>jndi.properties</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>../DAL_TestClient/src</directory>
<includes>
<include>jndi.properties</include>
<include>log4j.xml</include>
</includes>
</testResource>
</testResources>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<configuration>
<argLine>-Xms256m -Xmx512m</argLine>
</configuration>
<version>2.4.2</version>
</plugin>
</plugins>
</reporting>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-ejb-api</artifactId>
<version>4.2.1.GA</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.14</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-annotations-ejb3</artifactId>
<version>4.2.3.GA</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-email</artifactId>
<version>1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jboss.aop</groupId>
<artifactId>jboss-aop-jdk50</artifactId>
<version>1.5.6.GA</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-ejb3x</artifactId>
<version>4.2.3.GA</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-j2ee</artifactId>
<version>4.2.3.GA</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.xml</groupId>
<artifactId>jaxrpc</artifactId>
<version>1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>javassist</artifactId>
<version>3.4.ga</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-cache</artifactId>
<version>1.4.1.SP12</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>5.8</version>
<scope>test</scope>
<classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jnp-client</artifactId>
<version>4.2.2.GA</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-common-logging-log4j</artifactId>
<version>2.0.4.GA</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jbossall-client</artifactId>
<version>4.2.2.GA</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>releases</id>
<name>Internal Releases</name>
<url>${release.repo}</url>
</repository>
</distributionManagement>
</project>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email