Repository: deltaspike Updated Branches: refs/heads/master a93fa7872 -> 5886504f9
DELTASPIKE-1047 Added profile for TomEE 7 coordinates. Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/5886504f Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/5886504f Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/5886504f Branch: refs/heads/master Commit: 5886504f9fcd1d6377e416cb64a63219eafdca63 Parents: a93fa78 Author: John D. Ament <[email protected]> Authored: Sat Dec 19 13:45:29 2015 -0500 Committer: John D. Ament <[email protected]> Committed: Sat Dec 19 13:47:22 2015 -0500 ---------------------------------------------------------------------- deltaspike/parent/code/pom.xml | 83 +++++++++++++++++++++++++++++++++++++ deltaspike/parent/pom.xml | 8 ++++ 2 files changed, 91 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltaspike/blob/5886504f/deltaspike/parent/code/pom.xml ---------------------------------------------------------------------- diff --git a/deltaspike/parent/code/pom.xml b/deltaspike/parent/code/pom.xml index cde9626..9fcf751 100644 --- a/deltaspike/parent/code/pom.xml +++ b/deltaspike/parent/code/pom.xml @@ -535,6 +535,89 @@ <profile> <!-- + * This profile is a WIP + * arquillian-tomee-remote isn't a real remote connector for a running server-instance + * + * DEBUGGING: + * mvn test -Ptomee7-build-managed -Dtest=UnitTestName -Dopenejb.server.debug=true + * then use remote debuggig at port 5005 + * + --> + <id>tomee7-build-managed</id> + + <properties> + <cdicontainer.version>tomee-${tomee.version}</cdicontainer.version> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.openejb</groupId> + <artifactId>javaee-api</artifactId> + <version>6.0-5</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>apache-tomee</artifactId> + <classifier>webprofile</classifier> + <version>${tomee.version}</version> + <scope>test</scope> + <type>zip</type> + </dependency> + <dependency> + <groupId>org.jboss.arquillian.testenricher</groupId> + <artifactId>arquillian-testenricher-cdi</artifactId> + <version>${arquillian.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>arquillian-tomee-remote</artifactId> + </dependency> + + + <!-- needed by arquillian-tomee-remote --> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.1.1</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>${maven.surefire.plugin.version}</version> + <configuration> + <systemPropertyVariables> + <tomee.version>${tomee.version}</tomee.version> + </systemPropertyVariables> + <systemProperties> + <arquillian.launch>tomee</arquillian.launch> + <org.apache.deltaspike.ProjectStage>UnitTest</org.apache.deltaspike.ProjectStage> + <cdicontainer.version>${cdicontainer.version}</cdicontainer.version> + </systemProperties> + + <!-- we just use groups to mark that a test should be executed only + with specific environments. even though a java-ee6 application server has to be able to run + all tests in theory, we have to exclude some tests because there are e.g. packaging issues or + there are currently issues with arquillian. if a test isn't restricted to an environment, + no category is used for the test-class. --> + <excludedGroups> + org.apache.deltaspike.test.category.WebEE7ProfileCategory, + org.apache.deltaspike.test.category.SeCategory + </excludedGroups> + </configuration> + </plugin> + </plugins> + </build> + </profile> + + <profile> + <!-- * JBoss AS-7 has to be locally installed and must be started * * JBOSS_HOME must be set for this work correctly! http://git-wip-us.apache.org/repos/asf/deltaspike/blob/5886504f/deltaspike/parent/pom.xml ---------------------------------------------------------------------- diff --git a/deltaspike/parent/pom.xml b/deltaspike/parent/pom.xml index 4768e0c..5683247 100644 --- a/deltaspike/parent/pom.xml +++ b/deltaspike/parent/pom.xml @@ -694,6 +694,14 @@ <scope>test</scope> </dependency> + <!-- TomEE 7.x dependencies --> + <dependency> + <groupId>org.apache.tomee</groupId> + <artifactId>arquillian-tomee-remote</artifactId> + <version>${tomee.version}</version> + <scope>test</scope> + </dependency> + <!-- dependency for DELTASPIKE-113 --> <dependency> <groupId>javassist</groupId>
