Repository: deltaspike Updated Branches: refs/heads/master 067b5bd0a -> 887d347c1
DELTASPIKE-835 improved build config Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/887d347c Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/887d347c Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/887d347c Branch: refs/heads/master Commit: 887d347c1663c1d63e579815085f6824bc083450 Parents: 067b5bd Author: gpetracek <[email protected]> Authored: Fri Feb 20 13:54:00 2015 +0100 Committer: gpetracek <[email protected]> Committed: Fri Feb 20 13:54:56 2015 +0100 ---------------------------------------------------------------------- deltaspike/parent/code/pom.xml | 73 ++++++++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltaspike/blob/887d347c/deltaspike/parent/code/pom.xml ---------------------------------------------------------------------- diff --git a/deltaspike/parent/code/pom.xml b/deltaspike/parent/code/pom.xml index 296f56d..6c1943d 100644 --- a/deltaspike/parent/code/pom.xml +++ b/deltaspike/parent/code/pom.xml @@ -138,8 +138,79 @@ <profile> + <id>OWB11</id> + + <properties> + <cdicontainer.version>owb-${owb.version}</cdicontainer.version> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <systemProperties> + <cdicontainer.version>${cdicontainer.version}</cdicontainer.version> + </systemProperties> + + <!-- Ignore these groups because they don't work with embedded OWB --> + <excludedGroups> + org.apache.deltaspike.test.category.WebProfileCategory, + org.apache.deltaspike.test.category.WebEE7ProfileCategory, + org.apache.deltaspike.test.category.FullProfileCategory, + org.apache.deltaspike.test.category.EnterpriseArchiveProfileCategory + </excludedGroups> + </configuration> + </plugin> + </plugins> + </build> + + <dependencies> + <!-- OWB specific dependencies--> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-atinject_1.0_spec</artifactId> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jcdi_1.0_spec</artifactId> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-interceptor_1.1_spec</artifactId> + </dependency> + <dependency> + <groupId>org.apache.openwebbeans</groupId> + <artifactId>openwebbeans-impl</artifactId> + </dependency> + <dependency> + <groupId>org.apache.openwebbeans</groupId> + <artifactId>openwebbeans-spi</artifactId> + </dependency> + <dependency> + <groupId>org.apache.openwebbeans</groupId> + <artifactId>openwebbeans-resource</artifactId> + </dependency> + + <dependency> + <groupId>org.apache.openwebbeans.arquillian</groupId> + <artifactId>owb-arquillian-standalone</artifactId> + <version>1.2.0</version> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.apache.bval</groupId> + <artifactId>bval-jsr303</artifactId> + <scope>test</scope> + </dependency> + </dependencies> + </profile> + + <profile> <!-- use this profile to compile and test DeltaSpike with Apache OpenWebBeans --> - <id>OWB</id> + <id>OWB12</id> <!-- ensures a correct build at analysis.apache.org --> <activation>
