Skip to content
Browse files

minor enhancements, fixes and dep upgrades

- upgrade to JBoss AS 7.1.1.Final
- update build.gradle to work with Arquillian 1.0.0.Final
- fix jaxws project
- add test for named query in jpa project
- add fest library to autodiscover extension
- don't includle version of dep in UI test war
- fix spacing in pom files
  • Loading branch information...
1 parent 70a4a97 commit fc5572ae9139ded08099dc03610a176afbff3d23 @mojavelinux mojavelinux committed
View
13 cdi/build.gradle
@@ -3,9 +3,9 @@ apply plugin: JavaPlugin
buildDir = 'target/gradle-build'
libraryVersions = [
- junit: '4.8.1', arquillian: '1.0.0.CR1', jbossJavaeeSpec: '1.0.0.Final', weld: '1.1.1.Final',
- slf4j: '1.5.10', log4j: '1.2.14', jbossas: '6.0.0.Final', glassfish: '3.1', cdi: '1.0-SP4',
- hamcrest: '1.2', jbossAS7: '7.0.0.CR1'
+ junit: '4.8.1', arquillian: '1.0.0.Final', jbossJavaeeSpec: '1.0.0.Final', weld: '1.1.1.Final',
+ slf4j: '1.5.10', log4j: '1.2.14', jbossAS6: '6.0.0.Final', glassfish: '3.1.2', cdi: '1.0-SP4',
+ hamcrest: '1.2', jbossAS7: '7.1.1.Final', shrinkwrapDesc: '2.0.0-alpha-2'
]
repositories {
@@ -32,8 +32,11 @@ dependencies {
testCompile group: 'junit', name: 'junit', version: libraryVersions.junit
testCompile group: 'org.hamcrest', name: 'hamcrest-core', version: libraryVersions.hamcrest
testCompile group: 'org.jboss.arquillian.junit', name: 'arquillian-junit-container', version: libraryVersions.arquillian
+ testCompile group: 'org.jboss.shrinkwrap.descriptors', name: 'shrinkwrap-descriptors-api-javaee', version: libraryVersions.shrinkwrapDesc
- weldEmbeddedTestRuntime group: 'org.jboss.arquillian.container', name: 'arquillian-weld-ee-embedded-1.1', version: libraryVersions.arquillian
+ testRuntime group: 'org.jboss.shrinkwrap.descriptors', name: 'shrinkwrap-descriptors-impl-javaee', version: libraryVersions.shrinkwrapDesc
+
+ weldEmbeddedTestRuntime group: 'org.jboss.arquillian.container', name: 'arquillian-weld-ee-embedded-1.1', version: '1.0.0.CR3'
weldEmbeddedTestRuntime group: 'org.jboss.spec', name: 'jboss-javaee-6.0', version: libraryVersions.jbossJavaeeSpec
weldEmbeddedTestRuntime group: 'org.jboss.weld', name: 'weld-core', version: libraryVersions.weld
weldEmbeddedTestRuntime group: 'org.slf4j', name: 'slf4j-log4j12', version: libraryVersions.slf4j
@@ -41,7 +44,7 @@ dependencies {
jbossAS6RemoteTestRuntime group: 'org.jboss.arquillian.container', name: 'arquillian-jbossas-remote-6', version: libraryVersions.arquillian
jbossAS6RemoteTestRuntime group: 'org.jboss.spec', name: 'jboss-javaee-6.0', version: libraryVersions.jbossJavaeeSpec
- jbossAS6RemoteTestRuntime group: 'org.jboss.jbossas', name: 'jboss-as-profileservice-client', version: libraryVersions.jbossas
+ jbossAS6RemoteTestRuntime group: 'org.jboss.jbossas', name: 'jboss-as-profileservice-client', version: libraryVersions.jbossAS6
jbossAS7ManagedTestRuntime group: 'org.jboss.as', name: 'jboss-as-arquillian-container-managed', version: libraryVersions.jbossAS7
jbossAS7ManagedTestRuntime group: 'org.jboss.spec', name: 'jboss-javaee-6.0', version: libraryVersions.jbossJavaeeSpec
View
1 cdi/src/test/java/com/acme/cdi/failure/AmbiguousDependencyTestCase.java
@@ -21,5 +21,6 @@ public static JavaArchive createDeployment() {
@Test
public void shouldFailDeployment() {
+ // this method forces the deployment to be attempted
}
}
View
24 ejb/pom.xml
@@ -15,19 +15,19 @@
<name>Arquillian Showcase: EJB</name>
<description>Examples that demonstrate how to test EJB components using Arquillian</description>
- <repositories>
- <repository>
- <id>apache-snapshots-repository</id>
- <name>Apache Snapshots Repository</name>
- <url>https://repository.apache.org/content/groups/snapshots</url>
- <releases>
+ <repositories>
+ <repository>
+ <id>apache-snapshots-repository</id>
+ <name>Apache Snapshots Repository</name>
+ <url>https://repository.apache.org/content/groups/snapshots</url>
+ <releases>
<enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
<dependencies>
<dependency>
View
7 extensions/autodiscover/pom.xml
@@ -39,7 +39,12 @@
<version>1.8.3</version>
<scope>provided</scope>
</dependency>
-
+ <dependency>
+ <groupId>org.easytesting</groupId>
+ <artifactId>fest-assert</artifactId>
+ <version>1.4</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
View
25 ...in/java/org/jboss/arquillian/showcase/extension/autodiscover/client/ArchiveProcessor.java
@@ -36,20 +36,41 @@
{
private static final String ANNOTATION_CLASS_NAME = "org.mockito.Mock";
private static final String MOCKITO_ARTIFACT = "org.mockito:mockito-all";
+
+ private static final String FEST_ASSERTIONS_CLASS_NAME = "org.fest.assertions.Assertions";
+ private static final String FEST_ARTIFACT = "org.easytesting:fest-assert";
@Override
public void process(Archive<?> applicationArchive, TestClass testClass)
{
+ if(ReflectionHelper.isClassPresent(FEST_ASSERTIONS_CLASS_NAME))
+ {
+ appendFestLibrary(applicationArchive);
+ }
+
if(ReflectionHelper.isClassPresent(ANNOTATION_CLASS_NAME))
{
if(ReflectionHelper.getFieldsWithAnnotation(testClass.getJavaClass(), Mock.class).size() > 0)
{
- appendLibrary(applicationArchive);
+ appendMockitoLibrary(applicationArchive);
}
}
}
+
+ private void appendFestLibrary(Archive<?> applicationArchive)
+ {
+ if(applicationArchive instanceof LibraryContainer)
+ {
+ LibraryContainer<?> container = (LibraryContainer<?>) applicationArchive;
+ container.addAsLibraries(
+ DependencyResolvers.use(MavenDependencyResolver.class)
+ .loadMetadataFromPom("pom.xml")
+ .artifact(FEST_ARTIFACT)
+ .resolveAsFiles());
+ }
+ }
- private void appendLibrary(Archive<?> applicationArchive)
+ private void appendMockitoLibrary(Archive<?> applicationArchive)
{
if(applicationArchive instanceof LibraryContainer)
{
View
6 ...st/java/org/jboss/arquillian/showcase/extension/autodiscover/AutodiscoverCDITestCase.java
@@ -17,6 +17,8 @@
*/
package org.jboss.arquillian.showcase.extension.autodiscover;
+import static org.fest.assertions.Assertions.assertThat;
+
import javax.enterprise.inject.Produces;
import org.jboss.arquillian.container.test.api.Deployment;
@@ -24,7 +26,6 @@
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.EmptyAsset;
import org.jboss.shrinkwrap.api.spec.WebArchive;
-import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -32,7 +33,6 @@
import org.mockito.Mockito;
/**
- *
* @author <a href="mailto:aslak@redhat.com">Aslak Knutsen</a>
* @version $Revision: $
*/
@@ -56,6 +56,6 @@ public void setupMock() {
@Test
public void shouldBeAbleToMock(Manager manager) throws Exception {
- Assert.assertEquals(100, manager.execute(100));
+ assertThat(manager.execute(100)).isEqualTo(100);
}
}
View
2 extensions/autodiscover/src/test/resources/arquillian.xml
@@ -7,7 +7,7 @@
<container qualifier="jbossas7" default="true">
<configuration>
- <property name="jbossHome">target/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/jboss-as-${jboss.version:7.1.1.Final}</property>
</configuration>
</container>
View
2 extensions/declarative/src/test/resources/arquillian.xml
@@ -7,7 +7,7 @@
<container qualifier="jbossas7" default="true">
<configuration>
- <property name="jbossHome">target/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/jboss-as-${jboss.version:7.1.1.Final}</property>
</configuration>
</container>
View
2 extensions/deploymentscenario/src/test/resources/arquillian.xml
@@ -7,7 +7,7 @@
<container qualifier="jbossas7" default="true">
<configuration>
- <property name="jbossHome">target/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/jboss-as-${jboss.version:7.1.1.Final}</property>
</configuration>
</container>
View
2 extensions/lifecycle/src/test/resources/arquillian.xml
@@ -7,7 +7,7 @@
<container qualifier="jbossas7" default="true">
<configuration>
- <property name="jbossHome">target/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/jboss-as-${jboss.version:7.1.1.Final}</property>
</configuration>
</container>
View
6 extensions/pom.xml
@@ -19,12 +19,12 @@
<modules>
<module>declarative</module>
- <module>autodiscover</module>
+ <module>autodiscover</module>
<module>lifecycle</module>
- <module>deploymentscenario</module>
+ <module>deploymentscenario</module>
<module>systemproperties</module>
<module>resteasy</module>
- <module>weld-servlet</module>
+ <module>weld-servlet</module>
</modules>
</project>
View
2 extensions/systemproperties/src/test/resources/arquillian.xml
@@ -5,7 +5,7 @@
<container qualifier="jbossas7" default="true">
<configuration>
- <property name="jbossHome">target/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/jboss-as-${jboss.version:7.1.1.Final}</property>
</configuration>
</container>
View
6 jaxrs/src/test/resources/arquillian.xml
@@ -12,13 +12,13 @@
<container qualifier="dev" default="true">
<configuration>
- <property name="jbossHome">target/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/jboss-as-${jboss.version:7.1.1.Final}</property>
</configuration>
</container>
<container qualifier="qa">
<configuration>
- <property name="managementPort">19999</property>
+ <property name="managementPort">10099</property>
<property name="jmxPort">1190</property>
<property name="httpPort">8180</property>
</configuration>
@@ -26,7 +26,7 @@
<container qualifier="stage">
<configuration>
- <property name="managementPort">29999</property>
+ <property name="managementPort">10199</property>
<property name="jmxPort">1290</property>
<property name="httpPort">8280</property>
</configuration>
View
52 jaxws/pom.xml
@@ -24,6 +24,13 @@
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.shrinkwrap.descriptors</groupId>
+ <artifactId>shrinkwrap-descriptors-impl-javaee</artifactId>
+ <scope>test</scope>
</dependency>
</dependencies>
@@ -47,7 +54,7 @@
</profile>
<profile>
- <!-- TODO needs standalone-preview.xml, set using jboss.server.config.file.name property -->
+ <!-- TODO needs standalone-full.xml, set using jboss.server.config.file.name property -->
<id>arq-jbossas-managed-7</id>
<activation>
<activeByDefault>true</activeByDefault>
@@ -59,14 +66,51 @@
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-web-6.0</artifactId>
+ <artifactId>jboss-javaee-6.0</artifactId>
<type>pom</type>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemProperties>
+ <jboss.version>${version.jbossas_7}</jboss.version>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-dist</artifactId>
+ <version>${version.jbossas_7}</version>
+ <type>zip</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</profile>
<profile>
- <!-- Use standalone-preview.xml server config -->
+ <!-- Use standalone-full.xml server config -->
<id>arq-jbossas-remote-7</id>
<dependencies>
<dependency>
@@ -75,7 +119,7 @@
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-web-6.0</artifactId>
+ <artifactId>jboss-javaee-6.0</artifactId>
<type>pom</type>
</dependency>
</dependencies>
View
19 jaxws/src/test/java/com/acme/jaxws/EchoWebServiceEndpointTestCase.java
@@ -7,11 +7,12 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.arquillian.test.api.ArquillianResource;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.jboss.shrinkwrap.descriptor.api.Descriptors;
-import org.jboss.shrinkwrap.descriptor.api.spec.servlet.web.WebAppDescriptor;
+import org.jboss.shrinkwrap.descriptor.api.webapp30.WebAppDescriptor;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -20,25 +21,29 @@
* Tests simple stateless web service endpoint invocation.
*
* @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
+ * @author <a href="http://community.jboss.org/people/dan.j.allen">Dan Allen</a>
*/
@RunWith(Arquillian.class)
public class EchoWebServiceEndpointTestCase {
- @Deployment
+ private static final String ECHO_SERVICE_NAME = "EchoService";
+
+ @Deployment(testable = false)
public static WebArchive createDeployment() {
WebAppDescriptor webXml = Descriptors.create(WebAppDescriptor.class);
return ShrinkWrap.create(WebArchive.class, "jaxws-endpoint-test.war")
.addPackage(EchoWebServiceEndpointBean.class.getPackage())
- .setWebXML(new StringAsset(webXml
- .servlet("EchoService", EchoWebServiceEndpointBean.class.getName(), new String[] { "/EchoService" })
+ .setWebXML(new StringAsset(webXml.createServlet()
+ .servletName(ECHO_SERVICE_NAME).servletClass(EchoWebServiceEndpointBean.class.getName()).up()
+ .createServletMapping().servletName(ECHO_SERVICE_NAME).urlPattern("/" + ECHO_SERVICE_NAME).up()
.exportAsString()));
}
@Test
- public void testSimpleStatelessWebServiceEndpoint() throws Exception {
- final QName serviceName = new QName("com.acme.jaxws", "EchoService");
- final URL wsdlURL = new URL("http://localhost:8080/jaxws-endpoint-test/EchoService?wsdl");
+ public void testSimpleStatelessWebServiceEndpoint(@ArquillianResource URL deploymentUrl) throws Exception {
+ final QName serviceName = new QName("com.acme.jaxws", ECHO_SERVICE_NAME);
+ final URL wsdlURL = new URL(deploymentUrl, ECHO_SERVICE_NAME + "?wsdl");
final Service service = Service.create(wsdlURL, serviceName);
final EchoWebServiceEndpoint port = service.getPort(EchoWebServiceEndpoint.class);
final String result = port.echo("hello");
View
15 jaxws/src/test/resources/arquillian.xml
@@ -3,7 +3,20 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
- <container qualifier="jbossas-remote-7" default="true">
+ <!--
+ <engine>
+ <property name="deploymentExportPath">target/test-archives</property>
+ </engine>
+ -->
+
+ <container qualifier="jbossas-managed-7" default="true">
+ <configuration>
+ <property name="jbossHome">target/jboss-as-${jboss.version:7.1.1.Final}</property>
+ <!-- standalone.xml happens to provide JAX-WS, but if it didn't, you'd specify the full profile here -->
+ <!--
+ <property name="serverConfig">standalone-full.xml</property>
+ -->
+ </configuration>
</container>
</arquillian>
View
3 jpa/src/main/java/com/acme/jpa/Game.java
@@ -17,13 +17,16 @@
package com.acme.jpa;
import java.io.Serializable;
+
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
+import javax.persistence.NamedQuery;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
@Entity
+@NamedQuery(name = "games", query = "select g from Game g order by g.id")
public class Game implements Serializable {
private static final long serialVersionUID = 1L;
View
21 jpa/src/test/java/com/acme/jpa/GamePersistenceTestCase.java
@@ -75,17 +75,32 @@ public void commitTransaction() throws Exception {
}
@Test
- public void shouldFindAllGamesUsingJpqlQuery() throws Exception {
+ public void shouldFindAllGamesUsingExplicitJpqlQuery() throws Exception {
// given
String fetchingAllGamesInJpql = "select g from Game g order by g.id";
// when
- System.out.println("Selecting (using JPQL)...");
+ System.out.println("Selecting (using explicit JPQL)...");
List<Game> games = em.createQuery(fetchingAllGamesInJpql, Game.class)
.getResultList();
// then
- System.out.println("Found " + games.size() + " games (using JPQL)");
+ System.out.println("Found " + games.size() + " games (using explicit JPQL)");
+ assertContainsAllGames(games);
+ }
+
+ @Test
+ public void shouldFindAllGamesUsingNamedJpqlQuery() throws Exception {
+ // given
+ String gamesNamedQuery = "games";
+
+ // when
+ System.out.println("Selecting (using named JPQL)...");
+ List<Game> games = em.createNamedQuery(gamesNamedQuery, Game.class)
+ .getResultList();
+
+ // then
+ System.out.println("Found " + games.size() + " games (using named JPQL)");
assertContainsAllGames(games);
}
View
2 jpa/src/test/resources/arquillian.xml
@@ -14,7 +14,7 @@
<container qualifier="jbossas-remote-7" default="true">
<configuration>
- <property name="jbossHome">target/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/jboss-as-${jboss.version:7.1.1.Final}</property>
</configuration>
</container>
View
6 multinode/src/test/resources/arquillian.xml
@@ -8,21 +8,21 @@
<group qualifier="Grid">
<container qualifier="container.active-1">
<configuration>
- <property name="jbossHome">target/node1/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/node1/jboss-as-${jboss.version:7.1.1.Final}</property>
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=10000 -Xmx512m -XX:MaxPermSize=128m</property>
<property name="managementPort">19999</property>
</configuration>
</container>
<container qualifier="container.active-2">
<configuration>
- <property name="jbossHome">target/node2/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/node2/jboss-as-${jboss.version:7.1.1.Final}</property>
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=20000 -Xmx512m -XX:MaxPermSize=128m</property>
<property name="managementPort">29999</property>
</configuration>
</container>
<container qualifier="container.active-3">
<configuration>
- <property name="jbossHome">target/node3/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/node3/jboss-as-${jboss.version:7.1.1.Final}</property>
<property name="javaVmArguments">-Djboss.socket.binding.port-offset=30000 -Xmx512m -XX:MaxPermSize=128m</property>
<property name="managementPort">39999</property>
</configuration>
View
1,084 parent/pom.xml
@@ -1,554 +1,554 @@
<?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">
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.arquillian.showcase</groupId>
- <artifactId>arquillian-showcase-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <name>Arquillian Showcase Parent</name>
- <url>http://jboss.org/arquillian</url>
- <description>Parent build for the Arquillian showcase</description>
+ <groupId>org.jboss.arquillian.showcase</groupId>
+ <artifactId>arquillian-showcase-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>Arquillian Showcase Parent</name>
+ <url>http://jboss.org/arquillian</url>
+ <description>Parent build for the Arquillian showcase</description>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <version.arquillian_core>1.0.0.Final</version.arquillian_core>
- <version.arquillian_container_glassfish>1.0.0.CR2</version.arquillian_container_glassfish>
- <version.arquillian_container_openwebbeans>1.0.0.CR2</version.arquillian_container_openwebbeans>
- <version.arquillian_container_jbossas>1.0.0.CR2</version.arquillian_container_jbossas>
- <version.arquillian_container_weld>1.0.0.CR2</version.arquillian_container_weld>
- <version.arquillian_container_tomcat>1.0.0.CR2</version.arquillian_container_tomcat>
- <version.arquillian_container_jetty>1.0.0.CR1</version.arquillian_container_jetty>
- <version.arquillian_container_osgi>1.0.0.CR4</version.arquillian_container_osgi>
- <version.arquillian_container_openejb>1.0.0.CR2-SNAPSHOT</version.arquillian_container_openejb>
- <version.arquillian_container_openejb_tomee>1.0.0-beta-3-SNAPSHOT</version.arquillian_container_openejb_tomee>
- <version.arquillian_container_resin>1.0.0-SNAPSHOT</version.arquillian_container_resin>
- <version.arquillian_drone>1.0.0.CR3</version.arquillian_drone>
- <version.arquillian_ajocado>1.0.0.CR2</version.arquillian_ajocado>
- <version.glassfish>3.1</version.glassfish> <!-- 3.1.1 gives us ClassNotFoundException org.osgi.framework.ServiceException -->
- <version.hamcrest>1.2</version.hamcrest>
- <version.hibernate_jpamodelgen>1.1.1.Final</version.hibernate_jpamodelgen>
- <version.jboss_javaee6_spec>2.0.0.Final</version.jboss_javaee6_spec>
- <version.jbossas_6>6.0.0.Final</version.jbossas_6>
- <version.jbossas_7>7.1.0.Final</version.jbossas_7>
- <version.jbossas_server_manager>1.0.3.GA</version.jbossas_server_manager>
- <version.jersey>1.6</version.jersey>
- <version.jetty>8.0.0.M3</version.jetty>
- <version.jsfunit>2.0.0-SNAPSHOT</version.jsfunit>
- <version.junit>4.8.1</version.junit>
- <version.log4j>1.2.14</version.log4j>
- <version.openejb>3.1.4</version.openejb>
- <version.openejb_4>4.0.0</version.openejb_4>
- <version.openwebbeans>1.1.1</version.openwebbeans>
- <version.resin>4.0.20</version.resin>
- <version.resteasy>2.0.1.GA</version.resteasy>
- <version.slf4j>1.5.10</version.slf4j>
- <version.testng>5.14.6</version.testng>
- <version.tomcat>6.0.29</version.tomcat>
- <version.weld_core>1.1.1.Final</version.weld_core>
- <version.weld_api>1.1.Final</version.weld_api>
- </properties>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <version.arquillian_core>1.0.0.Final</version.arquillian_core>
+ <version.arquillian_container_glassfish>1.0.0.CR2</version.arquillian_container_glassfish>
+ <version.arquillian_container_openwebbeans>1.0.0.CR2</version.arquillian_container_openwebbeans>
+ <version.arquillian_container_jbossas>1.0.0.CR2</version.arquillian_container_jbossas>
+ <version.arquillian_container_weld>1.0.0.CR2</version.arquillian_container_weld>
+ <version.arquillian_container_tomcat>1.0.0.CR2</version.arquillian_container_tomcat>
+ <version.arquillian_container_jetty>1.0.0.CR1</version.arquillian_container_jetty>
+ <version.arquillian_container_osgi>1.0.0.CR4</version.arquillian_container_osgi>
+ <version.arquillian_container_openejb>1.0.0.CR2-SNAPSHOT</version.arquillian_container_openejb>
+ <version.arquillian_container_openejb_tomee>1.0.0-beta-3-SNAPSHOT</version.arquillian_container_openejb_tomee>
+ <version.arquillian_container_resin>1.0.0-SNAPSHOT</version.arquillian_container_resin>
+ <version.arquillian_drone>1.0.0.CR3</version.arquillian_drone>
+ <version.arquillian_ajocado>1.0.0.CR2</version.arquillian_ajocado>
+ <version.glassfish>3.1</version.glassfish> <!-- 3.1.1 gives us ClassNotFoundException org.osgi.framework.ServiceException -->
+ <version.hamcrest>1.2</version.hamcrest>
+ <version.hibernate_jpamodelgen>1.1.1.Final</version.hibernate_jpamodelgen>
+ <version.jboss_javaee6_spec>2.0.0.Final</version.jboss_javaee6_spec>
+ <version.jbossas_6>6.0.0.Final</version.jbossas_6>
+ <version.jbossas_7>7.1.1.Final</version.jbossas_7>
+ <version.jbossas_server_manager>1.0.3.GA</version.jbossas_server_manager>
+ <version.jersey>1.6</version.jersey>
+ <version.jetty>8.0.0.M3</version.jetty>
+ <version.jsfunit>2.0.0-SNAPSHOT</version.jsfunit>
+ <version.junit>4.8.1</version.junit>
+ <version.log4j>1.2.14</version.log4j>
+ <version.openejb>3.1.4</version.openejb>
+ <version.openejb_4>4.0.0</version.openejb_4>
+ <version.openwebbeans>1.1.1</version.openwebbeans>
+ <version.resin>4.0.20</version.resin>
+ <version.resteasy>2.0.1.GA</version.resteasy>
+ <version.slf4j>1.5.10</version.slf4j>
+ <version.testng>5.14.6</version.testng>
+ <version.tomcat>6.0.29</version.tomcat>
+ <version.weld_core>1.1.1.Final</version.weld_core>
+ <version.weld_api>1.1.Final</version.weld_api>
+ </properties>
- <repositories>
- <repository>
- <id>jboss-public-repository</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/nexus/content/groups/public</url>
- <releases>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <!-- temporary until we get to Arquillian 1.0.0.Final -->
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
+ <repositories>
+ <repository>
+ <id>jboss-public-repository</id>
+ <name>JBoss Repository</name>
+ <url>http://repository.jboss.org/nexus/content/groups/public</url>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <!-- temporary until we get to Arquillian 1.0.0.Final -->
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>jboss-public-repository</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/nexus/content/groups/public</url>
- <releases>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>jboss-public-repository</id>
+ <name>JBoss Repository</name>
+ <url>http://repository.jboss.org/nexus/content/groups/public</url>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-weld-se-embedded-1.1</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-weld-ee-embedded-1.1</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-openwebbeans-embedded-1</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-openejb-embedded-3.1</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-openejb-embedded-4</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-jbossas-remote-6</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-jbossas-managed-6</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-glassfish-embedded-3.1</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-glassfish-remote-3.1</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-tomcat-embedded-6</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-jetty-embedded-7</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>container-bom-resin-embedded-4</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <version>${version.jboss_javaee6_spec}</version>
- <type>pom</type>
- <scope>provided</scope>
- <exclusions>
- <exclusion>
- <groupId>org.apache.xalan</groupId>
- <artifactId>xalan</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-web-6.0</artifactId>
- <version>${version.jboss_javaee6_spec}</version>
- <type>pom</type>
- <scope>provided</scope>
- <exclusions>
- <exclusion>
- <groupId>org.apache.xalan</groupId>
- <artifactId>xalan</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-jpamodelgen</artifactId>
- <version>${version.hibernate_jpamodelgen}</version>
- <scope>provided</scope>
- <!-- Excluded because it's provided by the Java EE 6 dependencies -->
- <exclusions>
- <exclusion>
- <groupId>org.hibernate.javax.persistence</groupId>
- <artifactId>hibernate-jpa-2.0-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian</groupId>
- <artifactId>arquillian-bom</artifactId>
- <version>${version.arquillian_core}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.extension</groupId>
- <artifactId>arquillian-drone-bom</artifactId>
- <version>${version.arquillian_drone}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.ajocado</groupId>
- <artifactId>arquillian-ajocado-junit</artifactId>
- <version>${version.arquillian_ajocado}</version>
- <type>pom</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-weld-se-embedded-1.1</artifactId>
- <version>${version.arquillian_container_weld}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-weld-ee-embedded-1.1</artifactId>
- <version>${version.arquillian_container_weld}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-openejb-embedded-3.1</artifactId>
- <version>${version.arquillian_container_openejb}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>arquillian-openejb-container</artifactId>
- <version>${version.arquillian_container_openejb_tomee}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-openwebbeans-embedded-1</artifactId>
- <version>${version.arquillian_container_openwebbeans}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-osgi-embedded-4.2</artifactId>
- <version>${version.arquillian_container_osgi}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-remote-5.1</artifactId>
- <version>${version.arquillian_container_jbossas}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-remote-6</artifactId>
- <version>${version.arquillian_container_jbossas}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-embedded-6</artifactId>
- <version>${version.arquillian_container_jbossas}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-managed-6</artifactId>
- <version>${version.arquillian_container_jbossas}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.as</groupId>
- <artifactId>jboss-as-arquillian-container-remote</artifactId>
- <version>${version.jbossas_7}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.as</groupId>
- <artifactId>jboss-as-arquillian-container-managed</artifactId>
- <version>${version.jbossas_7}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-glassfish-remote-3.1</artifactId>
- <version>${version.arquillian_container_glassfish}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-glassfish-embedded-3.1</artifactId>
- <version>${version.arquillian_container_glassfish}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-tomcat-embedded-6</artifactId>
- <version>${version.arquillian_container_tomcat}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jetty-embedded-7</artifactId>
- <version>${version.arquillian_container_jetty}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-resin-embedded-4</artifactId>
- <version>${version.arquillian_container_resin}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.jsfunit</groupId>
- <artifactId>jsfunit-arquillian</artifactId>
- <version>${version.jsfunit}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-depchain</artifactId>
- <version>${version.jbossas_6}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-profileservice-client</artifactId>
- <version>${version.jbossas_6}</version>
- <type>pom</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-server-manager</artifactId>
- <version>${version.jbossas_server_manager}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-distribution</artifactId>
- <version>${version.jbossas_6}</version>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-webapp</artifactId>
- <version>${version.jetty}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-plus</artifactId>
- <version>${version.jetty}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.caucho</groupId>
- <artifactId>resin</artifactId>
- <version>${version.resin}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.caucho</groupId>
- <artifactId>resin-javaee16</artifactId>
- <version>${version.resin}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>catalina</artifactId>
- <version>${version.tomcat}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>coyote</artifactId>
- <version>${version.tomcat}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>jasper</artifactId>
- <version>${version.tomcat}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>openejb-core</artifactId>
- <version>${version.openejb}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.glassfish.extras</groupId>
- <artifactId>glassfish-embedded-all</artifactId>
- <version>${version.glassfish}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-bundle</artifactId>
- <version>${version.jersey}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.jersey.contribs</groupId>
- <artifactId>jersey-multipart</artifactId>
- <version>${version.jersey}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.resteasy</groupId>
- <artifactId>resteasy-jaxrs</artifactId>
- <version>${version.resteasy}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <version>${version.slf4j}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>${version.slf4j}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jdk14</artifactId>
- <version>${version.slf4j}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>${version.log4j}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- <version>1.2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${version.junit}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>${version.testng}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-api</artifactId>
- <version>${version.weld_api}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-core</artifactId>
- <version>${version.weld_core}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-weld-se-embedded-1.1</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-weld-ee-embedded-1.1</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-openwebbeans-embedded-1</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-openejb-embedded-3.1</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-openejb-embedded-4</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-jbossas-remote-6</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-jbossas-managed-6</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-glassfish-embedded-3.1</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-glassfish-remote-3.1</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-tomcat-embedded-6</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-jetty-embedded-7</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>container-bom-resin-embedded-4</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <version>${version.jboss_javaee6_spec}</version>
+ <type>pom</type>
+ <scope>provided</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.xalan</groupId>
+ <artifactId>xalan</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-web-6.0</artifactId>
+ <version>${version.jboss_javaee6_spec}</version>
+ <type>pom</type>
+ <scope>provided</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.xalan</groupId>
+ <artifactId>xalan</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-jpamodelgen</artifactId>
+ <version>${version.hibernate_jpamodelgen}</version>
+ <scope>provided</scope>
+ <!-- Excluded because it's provided by the Java EE 6 dependencies -->
+ <exclusions>
+ <exclusion>
+ <groupId>org.hibernate.javax.persistence</groupId>
+ <artifactId>hibernate-jpa-2.0-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian</groupId>
+ <artifactId>arquillian-bom</artifactId>
+ <version>${version.arquillian_core}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.extension</groupId>
+ <artifactId>arquillian-drone-bom</artifactId>
+ <version>${version.arquillian_drone}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.ajocado</groupId>
+ <artifactId>arquillian-ajocado-junit</artifactId>
+ <version>${version.arquillian_ajocado}</version>
+ <type>pom</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-weld-se-embedded-1.1</artifactId>
+ <version>${version.arquillian_container_weld}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-weld-ee-embedded-1.1</artifactId>
+ <version>${version.arquillian_container_weld}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-openejb-embedded-3.1</artifactId>
+ <version>${version.arquillian_container_openejb}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>arquillian-openejb-container</artifactId>
+ <version>${version.arquillian_container_openejb_tomee}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-openwebbeans-embedded-1</artifactId>
+ <version>${version.arquillian_container_openwebbeans}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-osgi-embedded-4.2</artifactId>
+ <version>${version.arquillian_container_osgi}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-remote-5.1</artifactId>
+ <version>${version.arquillian_container_jbossas}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-remote-6</artifactId>
+ <version>${version.arquillian_container_jbossas}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-embedded-6</artifactId>
+ <version>${version.arquillian_container_jbossas}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-managed-6</artifactId>
+ <version>${version.arquillian_container_jbossas}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-arquillian-container-remote</artifactId>
+ <version>${version.jbossas_7}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-arquillian-container-managed</artifactId>
+ <version>${version.jbossas_7}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-glassfish-remote-3.1</artifactId>
+ <version>${version.arquillian_container_glassfish}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-glassfish-embedded-3.1</artifactId>
+ <version>${version.arquillian_container_glassfish}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-tomcat-embedded-6</artifactId>
+ <version>${version.arquillian_container_tomcat}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jetty-embedded-7</artifactId>
+ <version>${version.arquillian_container_jetty}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-resin-embedded-4</artifactId>
+ <version>${version.arquillian_container_resin}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jsfunit</groupId>
+ <artifactId>jsfunit-arquillian</artifactId>
+ <version>${version.jsfunit}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-depchain</artifactId>
+ <version>${version.jbossas_6}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-profileservice-client</artifactId>
+ <version>${version.jbossas_6}</version>
+ <type>pom</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-server-manager</artifactId>
+ <version>${version.jbossas_server_manager}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-distribution</artifactId>
+ <version>${version.jbossas_6}</version>
+ <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-webapp</artifactId>
+ <version>${version.jetty}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-plus</artifactId>
+ <version>${version.jetty}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.caucho</groupId>
+ <artifactId>resin</artifactId>
+ <version>${version.resin}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.caucho</groupId>
+ <artifactId>resin-javaee16</artifactId>
+ <version>${version.resin}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>catalina</artifactId>
+ <version>${version.tomcat}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>coyote</artifactId>
+ <version>${version.tomcat}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>jasper</artifactId>
+ <version>${version.tomcat}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>openejb-core</artifactId>
+ <version>${version.openejb}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.extras</groupId>
+ <artifactId>glassfish-embedded-all</artifactId>
+ <version>${version.glassfish}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-bundle</artifactId>
+ <version>${version.jersey}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey.contribs</groupId>
+ <artifactId>jersey-multipart</artifactId>
+ <version>${version.jersey}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.resteasy</groupId>
+ <artifactId>resteasy-jaxrs</artifactId>
+ <version>${version.resteasy}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>${version.slf4j}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>${version.slf4j}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-jdk14</artifactId>
+ <version>${version.slf4j}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>${version.log4j}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ <version>1.2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>${version.junit}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>${version.testng}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-api</artifactId>
+ <version>${version.weld_api}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-core</artifactId>
+ <version>${version.weld_core}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.12</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <version>2.8</version>
- <configuration>
- <useProjectReferences>false</useProjectReferences>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.5</version>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.1</version>
- <inherited>true</inherited>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- <showDeprecation>false</showDeprecation>
- <showWarnings>true</showWarnings>
- <optimize>true</optimize>
- <compilerVersion>1.6</compilerVersion>
- <fork>true</fork>
- <argLine>-Xmx512M</argLine>
- </configuration>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.1</version>
- </plugin>
- <plugin>
- <!-- This plugin's configuration is used in m2e to prevent errors
- on project import in Eclipse -->
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <versionRange>[2.1,)</versionRange>
- <goals>
- <goal>unpack</goal>
- <goal>copy-dependencies</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore />
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.12</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <version>2.8</version>
+ <configuration>
+ <useProjectReferences>false</useProjectReferences>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.1</version>
+ <inherited>true</inherited>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ <showDeprecation>false</showDeprecation>
+ <showWarnings>true</showWarnings>
+ <optimize>true</optimize>
+ <compilerVersion>1.6</compilerVersion>
+ <fork>true</fork>
+ <argLine>-Xmx512M</argLine>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <plugin>
+ <!-- This plugin's configuration is used in m2e to prevent errors
+ on project import in Eclipse -->
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <versionRange>[2.1,)</versionRange>
+ <goals>
+ <goal>unpack</goal>
+ <goal>copy-dependencies</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
<!--
vi:ts=4:sw=4:expandtab:
-->
View
3 pom.xml
@@ -29,15 +29,12 @@
-->
<module>servlet</module>
<module>jaxrs</module>
- <!--
<module>jaxws</module>
- -->
<!--
<module>jsf</module>
-->
<module>ui</module>
<module>multinode</module>
-
<module>extensions</module>
</modules>
View
2 servlet/src/test/resources/arquillian.xml
@@ -5,7 +5,7 @@
<container qualifier="jbossas-remote-7" default="true">
<configuration>
- <property name="jbossHome">target/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/jboss-as-${jboss.version:7.1.1.Final}</property>
</configuration>
</container>
View
2 ui/src/test/java/com/acme/ui/Deployments.java
@@ -53,7 +53,7 @@ public static WebArchive createLoginScreenDeployment() {
.addAsWebResource(new File(WEBAPP_SRC, "template.xhtml"))
.addAsWebInfResource(EmptyAsset.INSTANCE, "beans.xml")
.addAsWebInfResource(new File(WEBAPP_SRC, "WEB-INF/faces-config.xml"))
- .addAsLibraries(resolver.artifact("org.jboss.seam.solder:seam-solder:3.0.0.Final").resolveAsFiles())
+ .addAsLibraries(resolver.artifact("org.jboss.seam.solder:seam-solder").resolveAsFiles())
.setWebXML(new File(WEBAPP_SRC, "WEB-INF/web.xml"));
}
}
View
2 ui/src/test/resources/arquillian.xml
@@ -7,7 +7,7 @@
<container qualifier="jbossas-remote-7" default="true">
<configuration>
- <property name="jbossHome">target/jboss-as-${jboss.version:7.1.0.Final}</property>
+ <property name="jbossHome">target/jboss-as-${jboss.version:7.1.1.Final}</property>
</configuration>
</container>

0 comments on commit fc5572a

Please sign in to comment.
Something went wrong with that request. Please try again.