Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

jboss community formatting (XML files)

  • Loading branch information...
commit d354ed7e86ee6fefb39c975aecd38ecd95570b2d 1 parent 36bcf79
@mojavelinux mojavelinux authored
Showing with 3,178 additions and 3,209 deletions.
  1. +66 −66 as7/pom.xml
  2. +150 −150 cdi-ejb/pom.xml
  3. +271 −271 cdi/build.xml
  4. +36 −36 cdi/ivy.xml
  5. +8 −8 cdi/ivysettings.xml
  6. +357 −357 cdi/pom.xml
  7. +6 −5 cdi/src/test/resources/com/acme/cdi/payment/beans.xml
  8. +203 −203 ejb/pom.xml
  9. +23 −24 ejb/src/test/resources/arquillian.xml
  10. +12 −12 ejb/src/test/resources/interest-rate-ejb-jar.xml
  11. +137 −137 jaxrs/pom.xml
  12. +24 −24 jaxrs/src/main/resources/META-INF/persistence.xml
  13. +10 −10 jaxrs/src/test/resources-glassfish-embedded/sun-resources.xml
  14. +13 −13 jaxrs/src/test/resources-glassfish-embedded/test-persistence.xml
  15. +14 −14 jaxrs/src/test/resources-jbossas/test-persistence.xml
  16. +14 −15 jaxrs/src/test/resources/arquillian.xml
  17. +83 −83 jms/pom.xml
  18. +330 −330 jpa-lite/pom.xml
  19. +22 −22 jpa-lite/src/test/resources-glassfish-embedded/sun-resources.xml
  20. +12 −12 jpa-lite/src/test/resources-glassfish-embedded/test-persistence.xml
  21. +13 −13 jpa-lite/src/test/resources-glassfish-remote/test-persistence.xml
  22. +9 −9 jpa-lite/src/test/resources-jbossas/test-persistence.xml
  23. +11 −11 jpa-lite/src/test/resources-openejb-embedded-eclipselink/test-persistence.xml
  24. +10 −10 jpa-lite/src/test/resources-openejb-embedded-hibernate/test-persistence.xml
  25. +15 −15 jpa-lite/src/test/resources-openejb-embedded-openjpa/test-persistence.xml
  26. +19 −20 jpa-lite/src/test/resources/arquillian.xml
  27. +207 −207 jpa/pom.xml
  28. +22 −22 jpa/src/test/resources-glassfish-embedded/sun-resources.xml
  29. +14 −14 jpa/src/test/resources-glassfish-embedded/test-persistence.xml
  30. +9 −9 jpa/src/test/resources-glassfish-remote/test-persistence.xml
  31. +9 −9 jpa/src/test/resources-jbossas/test-persistence.xml
  32. +18 −19 jpa/src/test/resources/arquillian.xml
  33. +210 −210 jsf/pom.xml
  34. +32 −32 jsf/src/test/resources-jetty/common/jsf-web.xml
  35. +19 −20 jsf/src/test/resources/common/faces-config.xml
  36. +1 −1  multinode/pom.xml
  37. +10 −10 multinode/src/test/resources/grid/in-container-web.xml
  38. +13 −13 multinode/src/test/resources/grid/infinispan.xml
  39. +21 −26 osgi/assembly-bundles.xml
  40. +109 −109 osgi/pom.xml
  41. +49 −49 osgi/src/test/resources/META-INF/jboss-osgi-bootstrap.xml
  42. +310 −310 parent/pom.xml
  43. +24 −24 pom.xml
  44. +198 −198 ui/pom.xml
  45. +9 −9 ui/src/main/resources/META-INF/persistence.xml
  46. +3 −4 ui/src/main/webapp/WEB-INF/faces-config.xml
  47. +12 −33 ui/src/test/resources/arquillian.xml
  48. +11 −11 ui/src/test/resources/test-persistence.xml
View
132 as7/pom.xml
@@ -1,75 +1,75 @@
<?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>
+ 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.arquillian.showcase</groupId>
- <artifactId>arquillian-showcase-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../parent/pom.xml</relativePath>
- </parent>
+ <parent>
+ <groupId>org.jboss.arquillian.showcase</groupId>
+ <artifactId>arquillian-showcase-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
- <artifactId>arquillian-showcase-as7</artifactId>
- <packaging>jar</packaging>
- <name>Arquillian Showcase: AS7</name>
- <description>Examples that demonstrate the speed of AS7</description>
+ <artifactId>arquillian-showcase-as7</artifactId>
+ <packaging>jar</packaging>
+ <name>Arquillian Showcase: AS7</name>
+ <description>Examples that demonstrate the speed of AS7</description>
- <dependencies>
- <dependency>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- <version>1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian</groupId>
- <artifactId>arquillian-junit</artifactId>
- <version>1.0.0.Alpha4.SP9</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <version>1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian</groupId>
+ <artifactId>arquillian-junit</artifactId>
+ <version>1.0.0.Alpha4.SP9</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ </dependencies>
- <profiles>
- <profile>
- <id>arq-as7-managed</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <dependencies>
- <dependency>
- <groupId>org.jboss.as</groupId>
- <artifactId>jboss-as-arquillian-container-managed</artifactId>
- <version>7.0.0.Beta2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemProperties>
- <property>
- <name>jboss.home</name>
- <value>/home/dallen/opt/jboss-as7</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
+ <profiles>
+ <profile>
+ <id>arq-jbossas-managed-7</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-arquillian-container-managed</artifactId>
+ <version>7.0.0.Beta2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>jboss.home</name>
+ <value>${user.home}/opt/jboss-as7</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
<!--
-vi:ts=3:sw=3:expandtab:
+vi:ts=4:sw=4:expandtab:
-->
</project>
View
300 cdi-ejb/pom.xml
@@ -1,163 +1,163 @@
<?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>
- <parent>
- <groupId>org.jboss.arquillian.showcase</groupId>
- <artifactId>arquillian-showcase-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../parent/pom.xml</relativePath>
- </parent>
+ <parent>
+ <groupId>org.jboss.arquillian.showcase</groupId>
+ <artifactId>arquillian-showcase-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
- <artifactId>arquillian-showcase-cdi-ejb</artifactId>
- <packaging>jar</packaging>
- <name>Arquillian Showcase: CDI + EJB</name>
- <description>Examples that use Arquillian to demonstrate the synergy between CDI and EJB 3.1</description>
+ <artifactId>arquillian-showcase-cdi-ejb</artifactId>
+ <packaging>jar</packaging>
+ <name>Arquillian Showcase: CDI + EJB</name>
+ <description>Examples that use Arquillian to demonstrate the synergy between CDI and EJB 3.1</description>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian</groupId>
- <artifactId>arquillian-junit</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- </dependency>
- </dependencies>
-
- <profiles>
- <profile>
- <id>arq-jbossas-remote-6</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-remote-6</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-profileservice-client</artifactId>
- <type>pom</type>
- </dependency>
- </dependencies>
- </profile>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian</groupId>
+ <artifactId>arquillian-junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ </dependency>
+ </dependencies>
- <profile>
- <id>arq-jbossas-managed-6</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-managed-6</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-profileservice-client</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-server-manager</artifactId>
- </dependency>
- </dependencies>
- </profile>
+ <profiles>
+ <profile>
+ <id>arq-jbossas-remote-6</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-remote-6</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-profileservice-client</artifactId>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </profile>
- <profile>
- <id>arq-jbossas-remote-7</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-remote-7</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.as</groupId>
- <artifactId>jboss-as-controller-client</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <forkMode>never</forkMode>
- <excludes>
- <exclude>com/acme/cdiejb/mixedinterface/*</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <profile>
+ <id>arq-jbossas-managed-6</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-managed-6</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-profileservice-client</artifactId>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-server-manager</artifactId>
+ </dependency>
+ </dependencies>
+ </profile>
- <profile>
- <id>arq-glassfish-embedded</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-glassfish-embedded-3.1</artifactId>
- </dependency>
- <dependency>
- <groupId>org.glassfish.extras</groupId>
- <artifactId>glassfish-embedded-all</artifactId>
- </dependency>
- </dependencies>
- </profile>
+ <profile>
+ <id>arq-jbossas-remote-7</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-remote-7</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-controller-client</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>never</forkMode>
+ <excludes>
+ <exclude>com/acme/cdiejb/mixedinterface/*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- <profile>
- <id>arq-glassfish-remote</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-glassfish-remote-3.1</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-api</artifactId>
- <version>1.1.Final</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-bundle</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.jersey.contribs</groupId>
- <artifactId>jersey-multipart</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
- </profiles>
+ <profile>
+ <id>arq-glassfish-embedded</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-glassfish-embedded-3.1</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.extras</groupId>
+ <artifactId>glassfish-embedded-all</artifactId>
+ </dependency>
+ </dependencies>
+ </profile>
+
+ <profile>
+ <id>arq-glassfish-remote</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-glassfish-remote-3.1</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-api</artifactId>
+ <version>1.1.Final</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-bundle</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey.contribs</groupId>
+ <artifactId>jersey-multipart</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
<!--
-vi:ts=3:sw=3:expandtab:
+vi:ts=4:sw=4:expandtab:
-->
</project>
View
542 cdi/build.xml
@@ -1,276 +1,276 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="arquillian-showcase-cdi" default="package" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
- <!-- ====================================================================== -->
- <!-- Build environment properties -->
- <!-- ====================================================================== -->
-
- <property file="${user.home}/build.properties"/>
- <property file="build.properties"/>
-
- <property name="project.build.finalName" value="arquillian-showcase-cdi-1.0.0-SNAPSHOT"/>
- <property name="project.build.directory" value="target"/>
- <property name="project.build.outputDirectory" value="${project.build.directory}/classes"/>
- <property name="project.source.directory" value="src/main/java"/>
- <property name="project.resource.directory" value="src/main/resources"/>
- <property name="project.build.testOutputDirectory" value="${project.build.directory}/test-classes"/>
- <property name="project.testSource.directory" value="src/test/java"/>
- <property name="project.testResource.directory" value="src/test/resources"/>
- <property name="project.test.reportsOutputDirectory" value="${project.build.directory}/test-results"/>
- <property name="project.test.useFile" value="true"/>
-
- <property name="maven.repo.central" value="http://repo1.maven.org/maven2"/>
- <property name="maven.repo.jboss-public" value="https://repository.jboss.org/nexus/content/groups/public"/>
- <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
- <property name="maven.settings.offline" value="false"/>
- <property name="maven.settings.interactiveMode" value="true"/>
-
- <property name="ivy.install.version" value="2.2.0-rc1"/>
- <property name="ivy.jar.dir" value="${basedir}/.ivy"/>
- <property name="ivy.jar.file" value="${ivy.jar.dir}/ivy.jar"/>
-
- <!-- ====================================================================== -->
- <!-- Ivy bootstrap targets -->
- <!-- ====================================================================== -->
-
- <target name="init-ivy">
- <available property="ivy.installed" value="true" file="${ivy.jar.file}" type="file"/>
- </target>
-
- <target name="download-ivy" depends="init-ivy" unless="ivy.installed">
- <mkdir dir="${ivy.jar.dir}"/>
- <echo message="Installing ivy..."/>
- <get src="${maven.repo.central}/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
- dest="${ivy.jar.file}"/>
- </target>
-
- <target name="load-ivy" depends="init-ivy,download-ivy">
- <path id="ivy.lib.path">
- <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
- </path>
- <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
- <ivy:settings file="${basedir}/ivysettings.xml"/>
- </target>
-
- <target name="clean-ivy" depends="load-ivy">
- <ivy:cleancache/>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Defining classpaths -->
- <!-- ====================================================================== -->
-
- <target name="init" depends="load-ivy">
- </target>
-
- <!-- ====================================================================== -->
- <!-- Cleaning up target -->
- <!-- ====================================================================== -->
-
- <target name="clean" description="Clean the output directory">
- <delete dir="${project.build.directory}"/>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Compilation target -->
- <!-- ====================================================================== -->
-
- <target name="compile" depends="init" description="Compile the code">
- <ivy:resolve conf="compile-only"/>
- <ivy:cachepath pathid="build.classpath" conf="compile-only"/>
- <mkdir dir="${project.build.outputDirectory}"/>
- <javac destdir="${project.build.outputDirectory}"
- nowarn="true"
- debug="true"
- optimize="true"
- deprecation="false"
- target="1.6"
- verbose="false"
- fork="true"
- source="1.6">
- <src>
- <pathelement location="${project.source.directory}"/>
- </src>
- <classpath refid="build.classpath"/>
- </javac>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Test compilation target -->
- <!-- ====================================================================== -->
-
- <target name="compile-tests"
- depends="compile"
- description="Compile the test code"
- unless="maven.test.skip">
- <ivy:resolve conf="test"/>
- <ivy:cachepath pathid="build.test.classpath" conf="test"/>
- <mkdir dir="${project.build.testOutputDirectory}"/>
- <javac destdir="${project.build.testOutputDirectory}"
- nowarn="true"
- debug="true"
- optimize="true"
- deprecation="false"
- target="1.6"
- verbose="false"
- fork="true"
- source="1.6">
- <src>
- <pathelement location="${project.testSource.directory}"/>
- </src>
- <classpath>
- <path refid="build.classpath"/>
- <path refid="build.test.classpath"/>
- <pathelement location="${project.build.outputDirectory}"/>
- </classpath>
- </javac>
- <copy todir="${project.build.testOutputDirectory}">
- <fileset dir="${project.testResource.directory}"/>
- </copy>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Test targets -->
- <!-- ====================================================================== -->
-
- <target name="test"
- depends="test-weld-embedded"
- description="Run the test cases (default)"/>
-
- <target name="test-weld-embedded"
- depends="compile-tests"
- description="Run the test cases on Weld Embedded">
- <mkdir dir="${project.test.reportsOutputDirectory}"/>
- <ivy:resolve conf="test-weld-embedded"/>
- <ivy:cachepath pathid="build.test.classpath.weld-embedded" conf="test-weld-embedded"/>
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" forkmode="perBatch" dir=".">
- <sysproperty key="basedir" value="."/>
- <formatter type="xml"/>
- <formatter type="plain" usefile="${project.test.useFile}"/>
- <classpath>
- <path refid="build.test.classpath.weld-embedded"/>
- <pathelement location="${project.build.outputDirectory}"/>
- <pathelement location="${project.build.testOutputDirectory}"/>
- </classpath>
- <batchtest todir="${project.test.reportsOutputDirectory}" unless="test">
- <fileset dir="${project.testSource.directory}">
- <include name="**/Test*.java"/>
- <include name="**/*Test.java"/>
- <include name="**/*TestCase.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- <batchtest todir="${project.test.reportsOutputDirectory}" if="test">
- <fileset dir="${project.testSource.directory}">
- <include name="**/${test}.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="test-jbossas-remote"
- depends="compile-tests"
- description="Run the test cases on a remote JBoss AS instance">
- <mkdir dir="${project.test.reportsOutputDirectory}"/>
- <ivy:resolve conf="test-jbossas-remote"/>
- <ivy:cachepath pathid="build.test.classpath.jbossas-remote" conf="test-jbossas-remote"/>
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" forkmode="perBatch" dir=".">
- <sysproperty key="basedir" value="."/>
- <formatter type="xml"/>
- <formatter type="plain" usefile="${project.test.useFile}"/>
- <classpath>
- <path refid="build.test.classpath.jbossas-remote"/>
- <pathelement location="${project.build.outputDirectory}"/>
- <pathelement location="${project.build.testOutputDirectory}"/>
- <pathelement location="${basedir}/src/test/resources-jbossas"/>
- </classpath>
- <batchtest todir="${project.test.reportsOutputDirectory}" unless="test">
- <fileset dir="${project.testSource.directory}">
- <include name="**/Test*.java"/>
- <include name="**/*Test.java"/>
- <include name="**/*TestCase.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- <batchtest todir="${project.test.reportsOutputDirectory}" if="test">
- <fileset dir="${project.testSource.directory}">
- <include name="**/${test}.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <target name="test-glassfish-embedded"
- depends="compile-tests"
- description="Run the test cases on Embedded GlassFish">
- <mkdir dir="${project.test.reportsOutputDirectory}"/>
- <ivy:resolve conf="test-glassfish-embedded"/>
- <ivy:cachepath pathid="build.test.classpath.glassfish-embedded" conf="test-glassfish-embedded"/>
- <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" forkmode="perBatch" dir=".">
- <sysproperty key="basedir" value="."/>
- <formatter type="xml"/>
- <formatter type="plain" usefile="${project.test.useFile}"/>
- <classpath>
- <path refid="build.test.classpath.glassfish-embedded"/>
- <pathelement location="${project.build.outputDirectory}"/>
- <pathelement location="${project.build.testOutputDirectory}"/>
- </classpath>
- <batchtest todir="${project.test.reportsOutputDirectory}" unless="test">
- <fileset dir="${project.testSource.directory}">
- <include name="**/Test*.java"/>
- <include name="**/*Test.java"/>
- <include name="**/*TestCase.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- <batchtest todir="${project.test.reportsOutputDirectory}" if="test">
- <fileset dir="${project.testSource.directory}">
- <include name="**/${test}.java"/>
- <exclude name="**/*Abstract*Test.java"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Package target -->
- <!-- ====================================================================== -->
-
- <target name="package" depends="compile,test" description="Package the application">
- <jar jarfile="${project.build.directory}/${project.build.finalName}.jar"
- compress="true"
- index="false"
- basedir="${project.build.outputDirectory}"
- excludes="**/package.html"/>
- </target>
-
- <!-- ====================================================================== -->
- <!-- A convenience target for the artifact type created by this project -->
- <!-- ====================================================================== -->
-
- <target name="jar" depends="package" description="Builds the jar for the application"/>
-
- <!-- ====================================================================== -->
- <!-- Dependency reports -->
- <!-- ====================================================================== -->
-
- <target name="dependency-report" depends="init">
- <ivy:resolve conf="test-weld-embedded"/>
- <ivy:report todir="${project.build.directory}/dependency-reports/test-weld-embedded" conf="test-weld-embedded"/>
- <ivy:resolve conf="test-glassfish-embedded"/>
- <ivy:report todir="${project.build.directory}/dependency-reports/test-glassfish-embedded" conf="test-glassfish-embedded"/>
- <ivy:resolve conf="test-jbossas-remote"/>
- <ivy:report todir="${project.build.directory}/dependency-reports/test-jbossas-remote" conf="test-jbossas-remote"/>
- </target>
-
- <!-- ====================================================================== -->
- <!-- Help target -->
- <!-- ====================================================================== -->
-
- <target name="help">
- <echo message="Please run: $ant -projecthelp"/>
- </target>
+ <!-- ====================================================================== -->
+ <!-- Build environment properties -->
+ <!-- ====================================================================== -->
+
+ <property file="${user.home}/build.properties"/>
+ <property file="build.properties"/>
+
+ <property name="project.build.finalName" value="arquillian-showcase-cdi-1.0.0-SNAPSHOT"/>
+ <property name="project.build.directory" value="target"/>
+ <property name="project.build.outputDirectory" value="${project.build.directory}/classes"/>
+ <property name="project.source.directory" value="src/main/java"/>
+ <property name="project.resource.directory" value="src/main/resources"/>
+ <property name="project.build.testOutputDirectory" value="${project.build.directory}/test-classes"/>
+ <property name="project.testSource.directory" value="src/test/java"/>
+ <property name="project.testResource.directory" value="src/test/resources"/>
+ <property name="project.test.reportsOutputDirectory" value="${project.build.directory}/test-results"/>
+ <property name="project.test.useFile" value="true"/>
+
+ <property name="maven.repo.central" value="http://repo1.maven.org/maven2"/>
+ <property name="maven.repo.jboss-public" value="https://repository.jboss.org/nexus/content/groups/public"/>
+ <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
+ <property name="maven.settings.offline" value="false"/>
+ <property name="maven.settings.interactiveMode" value="true"/>
+
+ <property name="ivy.install.version" value="2.2.0-rc1"/>
+ <property name="ivy.jar.dir" value="${basedir}/.ivy"/>
+ <property name="ivy.jar.file" value="${ivy.jar.dir}/ivy.jar"/>
+
+ <!-- ====================================================================== -->
+ <!-- Ivy bootstrap targets -->
+ <!-- ====================================================================== -->
+
+ <target name="init-ivy">
+ <available property="ivy.installed" value="true" file="${ivy.jar.file}" type="file"/>
+ </target>
+
+ <target name="download-ivy" depends="init-ivy" unless="ivy.installed">
+ <mkdir dir="${ivy.jar.dir}"/>
+ <echo message="Installing ivy..."/>
+ <get src="${maven.repo.central}/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
+ dest="${ivy.jar.file}"/>
+ </target>
+
+ <target name="load-ivy" depends="init-ivy,download-ivy">
+ <path id="ivy.lib.path">
+ <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
+ </path>
+ <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
+ <ivy:settings file="${basedir}/ivysettings.xml"/>
+ </target>
+
+ <target name="clean-ivy" depends="load-ivy">
+ <ivy:cleancache/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Defining classpaths -->
+ <!-- ====================================================================== -->
+
+ <target name="init" depends="load-ivy">
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Cleaning up target -->
+ <!-- ====================================================================== -->
+
+ <target name="clean" description="Clean the output directory">
+ <delete dir="${project.build.directory}"/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Compilation target -->
+ <!-- ====================================================================== -->
+
+ <target name="compile" depends="init" description="Compile the code">
+ <ivy:resolve conf="compile-only"/>
+ <ivy:cachepath pathid="build.classpath" conf="compile-only"/>
+ <mkdir dir="${project.build.outputDirectory}"/>
+ <javac destdir="${project.build.outputDirectory}"
+ nowarn="true"
+ debug="true"
+ optimize="true"
+ deprecation="false"
+ target="1.6"
+ verbose="false"
+ fork="true"
+ source="1.6">
+ <src>
+ <pathelement location="${project.source.directory}"/>
+ </src>
+ <classpath refid="build.classpath"/>
+ </javac>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Test compilation target -->
+ <!-- ====================================================================== -->
+
+ <target name="compile-tests"
+ depends="compile"
+ description="Compile the test code"
+ unless="maven.test.skip">
+ <ivy:resolve conf="test"/>
+ <ivy:cachepath pathid="build.test.classpath" conf="test"/>
+ <mkdir dir="${project.build.testOutputDirectory}"/>
+ <javac destdir="${project.build.testOutputDirectory}"
+ nowarn="true"
+ debug="true"
+ optimize="true"
+ deprecation="false"
+ target="1.6"
+ verbose="false"
+ fork="true"
+ source="1.6">
+ <src>
+ <pathelement location="${project.testSource.directory}"/>
+ </src>
+ <classpath>
+ <path refid="build.classpath"/>
+ <path refid="build.test.classpath"/>
+ <pathelement location="${project.build.outputDirectory}"/>
+ </classpath>
+ </javac>
+ <copy todir="${project.build.testOutputDirectory}">
+ <fileset dir="${project.testResource.directory}"/>
+ </copy>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Test targets -->
+ <!-- ====================================================================== -->
+
+ <target name="test"
+ depends="test-weld-embedded"
+ description="Run the test cases (default)"/>
+
+ <target name="test-weld-embedded"
+ depends="compile-tests"
+ description="Run the test cases on Weld Embedded">
+ <mkdir dir="${project.test.reportsOutputDirectory}"/>
+ <ivy:resolve conf="test-weld-embedded"/>
+ <ivy:cachepath pathid="build.test.classpath.weld-embedded" conf="test-weld-embedded"/>
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" forkmode="perBatch" dir=".">
+ <sysproperty key="basedir" value="."/>
+ <formatter type="xml"/>
+ <formatter type="plain" usefile="${project.test.useFile}"/>
+ <classpath>
+ <path refid="build.test.classpath.weld-embedded"/>
+ <pathelement location="${project.build.outputDirectory}"/>
+ <pathelement location="${project.build.testOutputDirectory}"/>
+ </classpath>
+ <batchtest todir="${project.test.reportsOutputDirectory}" unless="test">
+ <fileset dir="${project.testSource.directory}">
+ <include name="**/Test*.java"/>
+ <include name="**/*Test.java"/>
+ <include name="**/*TestCase.java"/>
+ <exclude name="**/*Abstract*Test.java"/>
+ </fileset>
+ </batchtest>
+ <batchtest todir="${project.test.reportsOutputDirectory}" if="test">
+ <fileset dir="${project.testSource.directory}">
+ <include name="**/${test}.java"/>
+ <exclude name="**/*Abstract*Test.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <target name="test-jbossas-remote"
+ depends="compile-tests"
+ description="Run the test cases on a remote JBoss AS instance">
+ <mkdir dir="${project.test.reportsOutputDirectory}"/>
+ <ivy:resolve conf="test-jbossas-remote"/>
+ <ivy:cachepath pathid="build.test.classpath.jbossas-remote" conf="test-jbossas-remote"/>
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" forkmode="perBatch" dir=".">
+ <sysproperty key="basedir" value="."/>
+ <formatter type="xml"/>
+ <formatter type="plain" usefile="${project.test.useFile}"/>
+ <classpath>
+ <path refid="build.test.classpath.jbossas-remote"/>
+ <pathelement location="${project.build.outputDirectory}"/>
+ <pathelement location="${project.build.testOutputDirectory}"/>
+ <pathelement location="${basedir}/src/test/resources-jbossas"/>
+ </classpath>
+ <batchtest todir="${project.test.reportsOutputDirectory}" unless="test">
+ <fileset dir="${project.testSource.directory}">
+ <include name="**/Test*.java"/>
+ <include name="**/*Test.java"/>
+ <include name="**/*TestCase.java"/>
+ <exclude name="**/*Abstract*Test.java"/>
+ </fileset>
+ </batchtest>
+ <batchtest todir="${project.test.reportsOutputDirectory}" if="test">
+ <fileset dir="${project.testSource.directory}">
+ <include name="**/${test}.java"/>
+ <exclude name="**/*Abstract*Test.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <target name="test-glassfish-embedded"
+ depends="compile-tests"
+ description="Run the test cases on Embedded GlassFish">
+ <mkdir dir="${project.test.reportsOutputDirectory}"/>
+ <ivy:resolve conf="test-glassfish-embedded"/>
+ <ivy:cachepath pathid="build.test.classpath.glassfish-embedded" conf="test-glassfish-embedded"/>
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" forkmode="perBatch" dir=".">
+ <sysproperty key="basedir" value="."/>
+ <formatter type="xml"/>
+ <formatter type="plain" usefile="${project.test.useFile}"/>
+ <classpath>
+ <path refid="build.test.classpath.glassfish-embedded"/>
+ <pathelement location="${project.build.outputDirectory}"/>
+ <pathelement location="${project.build.testOutputDirectory}"/>
+ </classpath>
+ <batchtest todir="${project.test.reportsOutputDirectory}" unless="test">
+ <fileset dir="${project.testSource.directory}">
+ <include name="**/Test*.java"/>
+ <include name="**/*Test.java"/>
+ <include name="**/*TestCase.java"/>
+ <exclude name="**/*Abstract*Test.java"/>
+ </fileset>
+ </batchtest>
+ <batchtest todir="${project.test.reportsOutputDirectory}" if="test">
+ <fileset dir="${project.testSource.directory}">
+ <include name="**/${test}.java"/>
+ <exclude name="**/*Abstract*Test.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Package target -->
+ <!-- ====================================================================== -->
+
+ <target name="package" depends="compile,test" description="Package the application">
+ <jar jarfile="${project.build.directory}/${project.build.finalName}.jar"
+ compress="true"
+ index="false"
+ basedir="${project.build.outputDirectory}"
+ excludes="**/package.html"/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- A convenience target for the artifact type created by this project -->
+ <!-- ====================================================================== -->
+
+ <target name="jar" depends="package" description="Builds the jar for the application"/>
+
+ <!-- ====================================================================== -->
+ <!-- Dependency reports -->
+ <!-- ====================================================================== -->
+
+ <target name="dependency-report" depends="init">
+ <ivy:resolve conf="test-weld-embedded"/>
+ <ivy:report todir="${project.build.directory}/dependency-reports/test-weld-embedded" conf="test-weld-embedded"/>
+ <ivy:resolve conf="test-glassfish-embedded"/>
+ <ivy:report todir="${project.build.directory}/dependency-reports/test-glassfish-embedded" conf="test-glassfish-embedded"/>
+ <ivy:resolve conf="test-jbossas-remote"/>
+ <ivy:report todir="${project.build.directory}/dependency-reports/test-jbossas-remote" conf="test-jbossas-remote"/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Help target -->
+ <!-- ====================================================================== -->
+
+ <target name="help">
+ <echo message="Please run: $ant -projecthelp"/>
+ </target>
</project>
View
72 cdi/ivy.xml
@@ -1,43 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
- <info organisation="org.jboss.arquillian.showcase"
- module="arquillian-showcase-cdi"
- revision="1.0.0-SNAPSHOT">
- </info>
- <configurations>
- <conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
- <conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
- <conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
- <conf name="compile-only" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths." extends="compile"/>
- <conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
- <conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
- <conf name="test" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="runtime"/>
- <conf name="test-weld-embedded" visibility="private" description="This scope is for executing Arquillian tests in Weld Embedded" extends="test"/>
- <conf name="test-jbossas-remote" visibility="private" description="This scope is for executing Arquillian tests on a remote JBoss AS instance" extends="test"/>
- <conf name="test-glassfish-embedded" visibility="private" description="This scope is for executing Arquillian tests in Embedded GlassFish" extends="test"/>
- </configurations>
- <dependencies>
- <dependency org="org.jboss.spec" name="jboss-javaee-6.0" rev="1.0.0.Final" conf="compile-only->compile(*)">
- <artifact name="jboss-javaee-6.0" type="pom" ext="pom" conf=""/>
- </dependency>
+ <info organisation="org.jboss.arquillian.showcase"
+ module="arquillian-showcase-cdi"
+ revision="1.0.0-SNAPSHOT">
+ </info>
+ <configurations>
+ <conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
+ <conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
+ <conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
+ <conf name="compile-only" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths." extends="compile"/>
+ <conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
+ <conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
+ <conf name="test" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="runtime"/>
+ <conf name="test-weld-embedded" visibility="private" description="This scope is for executing Arquillian tests in Weld Embedded" extends="test"/>
+ <conf name="test-jbossas-remote" visibility="private" description="This scope is for executing Arquillian tests on a remote JBoss AS instance" extends="test"/>
+ <conf name="test-glassfish-embedded" visibility="private" description="This scope is for executing Arquillian tests in Embedded GlassFish" extends="test"/>
+ </configurations>
+ <dependencies>
+ <dependency org="org.jboss.spec" name="jboss-javaee-6.0" rev="1.0.0.Final" conf="compile-only->compile(*)">
+ <artifact name="jboss-javaee-6.0" type="pom" ext="pom" conf=""/>
+ </dependency>
- <dependency org="org.jboss.arquillian" name="arquillian-junit" rev="1.0.0.Alpha5" conf="test->default(*)"/>
- <dependency org="junit" name="junit" rev="4.8.1" conf="test->default(*)"/>
+ <dependency org="org.jboss.arquillian" name="arquillian-junit" rev="1.0.0.Alpha5" conf="test->default(*)"/>
+ <dependency org="junit" name="junit" rev="4.8.1" conf="test->default(*)"/>
- <dependency org="org.jboss.arquillian.container" name="arquillian-weld-ee-embedded-1.1" rev="1.0.0.Alpha5" conf="test-weld-embedded->default(*)"/>
- <dependency org="org.jboss.spec" name="jboss-javaee-6.0" rev="1.0.0.Final" conf="test-weld-embedded->compile(*)">
- <artifact name="jboss-javaee-6.0" type="pom" ext="pom" conf=""/>
- </dependency>
- <dependency org="org.jboss.weld" name="weld-core" rev="1.1.0.Final" conf="test-weld-embedded->default(*)"/>
- <dependency org="org.slf4j" name="slf4j-log4j12" rev="1.5.10" conf="test-weld-embedded->default(*)"/>
- <dependency org="log4j" name="log4j" rev="1.2.14" conf="test-weld-embedded->default(*)"/>
+ <dependency org="org.jboss.arquillian.container" name="arquillian-weld-ee-embedded-1.1" rev="1.0.0.Alpha5" conf="test-weld-embedded->default(*)"/>
+ <dependency org="org.jboss.spec" name="jboss-javaee-6.0" rev="1.0.0.Final" conf="test-weld-embedded->compile(*)">
+ <artifact name="jboss-javaee-6.0" type="pom" ext="pom" conf=""/>
+ </dependency>
+ <dependency org="org.jboss.weld" name="weld-core" rev="1.1.0.Final" conf="test-weld-embedded->default(*)"/>
+ <dependency org="org.slf4j" name="slf4j-log4j12" rev="1.5.10" conf="test-weld-embedded->default(*)"/>
+ <dependency org="log4j" name="log4j" rev="1.2.14" conf="test-weld-embedded->default(*)"/>
- <dependency org="org.jboss.arquillian.container" name="arquillian-jbossas-remote-6" rev="1.0.0.Alpha5" conf="test-jbossas-remote->default(*)"/>
- <dependency org="javax.enterprise" name="cdi-api" rev="1.0-SP4" conf="test-jbossas-remote->default(*)"/>
- <dependency org="org.jboss.jbossas" name="jboss-as-server" m:classifier="client" rev="6.0.0.Final" conf="test-jbossas-remote->default(*)" transitive="false"/>
- <dependency org="org.jboss.jbossas" name="jboss-as-profileservice" m:classifier="client" rev="6.0.0.Final" conf="test-jbossas-remote->default(*)"/>
+ <dependency org="org.jboss.arquillian.container" name="arquillian-jbossas-remote-6" rev="1.0.0.Alpha5" conf="test-jbossas-remote->default(*)"/>
+ <dependency org="javax.enterprise" name="cdi-api" rev="1.0-SP4" conf="test-jbossas-remote->default(*)"/>
+ <dependency org="org.jboss.jbossas" name="jboss-as-server" m:classifier="client" rev="6.0.0.Final" conf="test-jbossas-remote->default(*)" transitive="false"/>
+ <dependency org="org.jboss.jbossas" name="jboss-as-profileservice" m:classifier="client" rev="6.0.0.Final" conf="test-jbossas-remote->default(*)"/>
- <dependency org="org.jboss.arquillian.container" name="arquillian-glassfish-embedded-3" rev="1.0.0.Alpha5" conf="test-glassfish-embedded->default(*)"/>
- <dependency org="org.glassfish.extras" name="glassfish-embedded-all" rev="3.1" conf="test-glassfish-embedded->default(*)"/>
- </dependencies>
+ <dependency org="org.jboss.arquillian.container" name="arquillian-glassfish-embedded-3" rev="1.0.0.Alpha5" conf="test-glassfish-embedded->default(*)"/>
+ <dependency org="org.glassfish.extras" name="glassfish-embedded-all" rev="3.1" conf="test-glassfish-embedded->default(*)"/>
+ </dependencies>
</ivy-module>
View
16 cdi/ivysettings.xml
@@ -1,11 +1,11 @@
<?xml version="1.0"?>
<ivysettings>
- <settings defaultResolver="default"/>
- <resolvers>
- <chain name="default">
- <ibiblio name="maven2" m2compatible="true"/>
- <ibiblio name="jboss-public" m2compatible="true" checksums="" root="http://repository.jboss.org/nexus/content/groups/public"/>
- <ibiblio name="jboss-legacy" m2compatible="true" root="http://repository.jboss.org/maven2"/>
- </chain>
- </resolvers>
+ <settings defaultResolver="default"/>
+ <resolvers>
+ <chain name="default">
+ <ibiblio name="maven2" m2compatible="true"/>
+ <ibiblio name="jboss-public" m2compatible="true" checksums="" root="http://repository.jboss.org/nexus/content/groups/public"/>
+ <ibiblio name="jboss-legacy" m2compatible="true" root="http://repository.jboss.org/maven2"/>
+ </chain>
+ </resolvers>
</ivysettings>
View
714 cdi/pom.xml
@@ -1,382 +1,382 @@
<?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>
- <parent>
- <groupId>org.jboss.arquillian.showcase</groupId>
- <artifactId>arquillian-showcase-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../parent/pom.xml</relativePath>
- </parent>
+ <parent>
+ <groupId>org.jboss.arquillian.showcase</groupId>
+ <artifactId>arquillian-showcase-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
- <artifactId>arquillian-showcase-cdi</artifactId>
- <packaging>jar</packaging>
- <name>Arquillian Showcase: CDI</name>
- <description>Examples that demonstrate how to test CDI components using Arquillian</description>
+ <artifactId>arquillian-showcase-cdi</artifactId>
+ <packaging>jar</packaging>
+ <name>Arquillian Showcase: CDI</name>
+ <description>Examples that demonstrate how to test CDI components using Arquillian</description>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian</groupId>
- <artifactId>arquillian-junit</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian</groupId>
+ <artifactId>arquillian-junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-core</artifactId>
+ </dependency>
+ </dependencies>
- <profiles>
- <profile>
- <id>arq-weld-se-embedded</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-weld-se-embedded-1.1</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec.javax.el</groupId>
- <artifactId>jboss-el-api_2.2_spec</artifactId>
- <version>1.0.0.Final</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </dependency>
- </dependencies>
- <dependencyManagement>
+ <profiles>
+ <profile>
+ <id>arq-weld-se-embedded</id>
<dependencies>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-core-bom</artifactId>
- <version>${version.weld}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-weld-se-embedded-1.1</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.el</groupId>
+ <artifactId>jboss-el-api_2.2_spec</artifactId>
+ <version>1.0.0.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
</dependencies>
- </dependencyManagement>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- exclude tests that use scoped beans -->
- <excludes>
- <exclude>**/DocumentEventTestCase.java</exclude>
- <exclude>**/SynchronousPaymentProcessorTestCase.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-core-bom</artifactId>
+ <version>${version.weld}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- exclude tests that use scoped beans -->
+ <excludes>
+ <exclude>**/DocumentEventTestCase.java</exclude>
+ <exclude>**/SynchronousPaymentProcessorTestCase.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- <profile>
- <id>arq-weld-ee-embedded</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-weld-ee-embedded-1.1</artifactId>
- </dependency>
- <!-- import the entire Java EE 6 API -->
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </dependency>
- </dependencies>
- <dependencyManagement>
+ <profile>
+ <id>arq-weld-ee-embedded</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
<dependencies>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-core-bom</artifactId>
- <version>${version.weld}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-weld-ee-embedded-1.1</artifactId>
+ </dependency>
+ <!-- import the entire Java EE 6 API -->
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
</dependencies>
- </dependencyManagement>
- </profile>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-core-bom</artifactId>
+ <version>${version.weld}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ </profile>
- <profile>
- <id>arq-jbossas-remote-6</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-remote-6</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-profileservice-client</artifactId>
- <type>pom</type>
- </dependency>
- <!-- jboss-deployers-client-spi provides deployment exception class -->
- <dependency>
- <groupId>org.jboss.deployers</groupId>
- <artifactId>jboss-deployers-client-spi</artifactId>
- <version>2.2.0.GA</version>
- <scope>test</scope>
- </dependency>
- <!--
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-core</artifactId>
- <version>1.1.0.Final</version>
- <scope>test</scope>
- </dependency>
- -->
- </dependencies>
- </profile>
+ <profile>
+ <id>arq-jbossas-remote-6</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-remote-6</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-profileservice-client</artifactId>
+ <type>pom</type>
+ </dependency>
+ <!-- jboss-deployers-client-spi provides deployment exception class -->
+ <dependency>
+ <groupId>org.jboss.deployers</groupId>
+ <artifactId>jboss-deployers-client-spi</artifactId>
+ <version>2.2.0.GA</version>
+ <scope>test</scope>
+ </dependency>
+ <!--
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-core</artifactId>
+ <version>1.1.0.Final</version>
+ <scope>test</scope>
+ </dependency>
+ -->
+ </dependencies>
+ </profile>
- <profile>
- <id>arq-jbossas-managed-6</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-managed-6</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-profileservice-client</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-server-manager</artifactId>
- </dependency>
- </dependencies>
- </profile>
+ <profile>
+ <id>arq-jbossas-managed-6</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-managed-6</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-profileservice-client</artifactId>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-server-manager</artifactId>
+ </dependency>
+ </dependencies>
+ </profile>
- <profile>
- <id>arq-jbossas-remote-7</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-remote-7</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.as</groupId>
- <artifactId>jboss-as-controller-client</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>com/acme/cdi/payment/SynchronousPaymentProcessorTestCase.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <profile>
+ <id>arq-jbossas-remote-7</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-remote-7</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-controller-client</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>com/acme/cdi/payment/SynchronousPaymentProcessorTestCase.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- <profile>
- <id>arq-jbossas-managed-7</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-managed-7</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemProperties>
- <property>
- <name>jboss.home</name>
- <value>${user.home}/opt/jboss-as7</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <profile>
+ <id>arq-jbossas-managed-7</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-managed-7</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>jboss.home</name>
+ <value>${user.home}/opt/jboss-as7</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- <profile>
- <id>arq-owb-embedded</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-openwebbeans-embedded-1</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-spi</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-impl</artifactId>
- </dependency>
- </dependencies>
- <dependencyManagement>
+ <profile>
+ <id>arq-owb-embedded</id>
<dependencies>
- <dependency>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans</artifactId>
- <version>${version.openwebbeans}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-openwebbeans-embedded-1</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openwebbeans</groupId>
+ <artifactId>openwebbeans-spi</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openwebbeans</groupId>
+ <artifactId>openwebbeans-impl</artifactId>
+ </dependency>
</dependencies>
- </dependencyManagement>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <!-- exclude failing test; compliance issue? -->
- <excludes>
- <exclude>**/BeanManagerInitializedTestCase.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.openwebbeans</groupId>
+ <artifactId>openwebbeans</artifactId>
+ <version>${version.openwebbeans}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <!-- exclude failing test; compliance issue? -->
+ <excludes>
+ <exclude>**/BeanManagerInitializedTestCase.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- <profile>
- <id>arq-glassfish-embedded</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-glassfish-embedded-3.1</artifactId>
- </dependency>
- <dependency>
- <groupId>org.glassfish.extras</groupId>
- <artifactId>glassfish-embedded-all</artifactId>
- </dependency>
- </dependencies>
- </profile>
+ <profile>
+ <id>arq-glassfish-embedded</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-glassfish-embedded-3.1</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish.extras</groupId>
+ <artifactId>glassfish-embedded-all</artifactId>
+ </dependency>
+ </dependencies>
+ </profile>
- <profile>
- <id>arq-glassfish-remote</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-glassfish-remote-3.1</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-api</artifactId>
- <version>1.1.Final</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.jersey</groupId>
- <artifactId>jersey-bundle</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.sun.jersey.contribs</groupId>
- <artifactId>jersey-multipart</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </profile>
+ <profile>
+ <id>arq-glassfish-remote</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-glassfish-remote-3.1</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-api</artifactId>
+ <version>1.1.Final</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey</groupId>
+ <artifactId>jersey-bundle</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.jersey.contribs</groupId>
+ <artifactId>jersey-multipart</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
- <!--
- <profile>
- <id>arq-as7-managed</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.as</groupId>
- <artifactId>jboss-as-arquillian-container-managed</artifactId>
- <version>7.0.0.Beta2</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec</groupId>
- <artifactId>jboss-javaee-6.0</artifactId>
- <type>pom</type>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemProperties>
- <property>
- <name>jboss.home</name>
- <value>/home/dallen/opt/jboss-as7</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- -->
- </profiles>
+ <!--
+ <profile>
+ <id>arq-as7-managed</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-arquillian-container-managed</artifactId>
+ <version>7.0.0.Beta2</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec</groupId>
+ <artifactId>jboss-javaee-6.0</artifactId>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>jboss.home</name>
+ <value>/home/dallen/opt/jboss-as7</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ -->
+ </profiles>
<!--
-vi:ts=3:sw=3:expandtab:
+vi:ts=4:sw=4:expandtab:
-->
</project>
View
11 cdi/src/test/resources/com/acme/cdi/payment/beans.xml
@@ -1,6 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
- <alternatives>
- <class>com.acme.cdi.payment.MockPaymentProcessor</class>
- </alternatives>
-</beans>
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
+ <alternatives>
+ <class>com.acme.cdi.payment.MockPaymentProcessor</class>
+ </alternatives>
+</beans>
View
406 ejb/pom.xml
@@ -1,218 +1,218 @@
<?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>
+ 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.arquillian.showcase</groupId>
- <artifactId>arquillian-showcase-parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <relativePath>../parent/pom.xml</relativePath>
- </parent>
+ <parent>
+ <groupId>org.jboss.arquillian.showcase</groupId>
+ <artifactId>arquillian-showcase-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../parent/pom.xml</relativePath>
+ </parent>
- <artifactId>arquillian-showcase-ejb</artifactId>
- <packaging>jar</packaging>
- <name>Arquillian Showcase: EJB</name>
- <description>Examples that demonstrate how to test EJB components using Arquillian</description>
+ <artifactId>arquillian-showcase-ejb</artifactId>
+ <packaging>jar</packaging>
+ <name>Arquillian Showcase: EJB</name>
+ <description>Examples that demonstrate how to test EJB components using Arquillian</description>
- <dependencies>
- <dependency>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- <version>1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.arquillian</groupId>
- <artifactId>arquillian-junit</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <version>1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian</groupId>
+ <artifactId>arquillian-junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ </dependencies>
- <profiles>
- <profile>
- <id>arq-openejb-embedded</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-openejb-embedded-3.1</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.openejb</groupId>
- <artifactId>openejb-core</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>com/acme/ejb/TemperatureConverterTestCase.java</exclude>
- <exclude>com/acme/ejb/calc/MortgageCalculatorEnvEntryTestCase.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
+ <profiles>
+ <profile>
+ <id>arq-openejb-embedded</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-openejb-embedded-3.1</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>openejb-core</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>com/acme/ejb/TemperatureConverterTestCase.java</exclude>
+ <exclude>com/acme/ejb/calc/MortgageCalculatorEnvEntryTestCase.java</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
- <profile>
- <id>arq-jbossas-remote-6</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-remote-6</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec.javax.ejb</groupId>
- <artifactId>jboss-ejb-api_3.1_spec</artifactId>
- <version>1.0.0.Final</version>
- <scope>provided</scope>
- </dependency>
- <!-- cdi api needed for arquillian to function -->
- <dependency>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- <version>1.0-SP4</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-profileservice-client</artifactId>
- <type>pom</type>
- </dependency>
- </dependencies>
- </profile>
+ <profile>
+ <id>arq-jbossas-remote-6</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.container</groupId>
+ <artifactId>arquillian-jbossas-remote-6</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.ejb</groupId>
+ <artifactId>jboss-ejb-api_3.1_spec</artifactId>
+ <version>1.0.0.Final</version>
+ <scope>provided</scope>
+ </dependency>
+ <!-- cdi api needed for arquillian to function -->
+ <dependency>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
+ <version>1.0-SP4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbossas</groupId>
+ <artifactId>jboss-as-profileservice-client</artifactId>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </profile>
- <profile>
- <id>arq-jbossas-managed-6</id>
- <dependencies>
- <dependency>
- <groupId>org.jboss.arquillian.container</groupId>
- <artifactId>arquillian-jbossas-managed-6</artifactId>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec.javax.ejb</groupId>
- <artifactId>jboss-ejb-api_3.1_spec</artifactId>
- <version>1.0.0.Final</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-as-profileservice-client</artifactId>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.jbossas</groupId>
- <artifactId>jboss-server-manager</artifactId>
- </dependency>
- </dependencies>
- </profile>