You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2013/09/10 09:48:04 UTC
git commit: DELTASPIKE-408 Add WildFly profile
Updated Branches:
refs/heads/master f3554235b -> 109af9847
DELTASPIKE-408 Add WildFly profile
txs to Jozef for the patch!
Signed-off-by: Mark Struberg <st...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/109af984
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/109af984
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/109af984
Branch: refs/heads/master
Commit: 109af9847b0718ca6de21fa35706a6fb880e70f5
Parents: f355423
Author: Jozef Hartinger <jh...@redhat.com>
Authored: Fri Aug 30 11:03:36 2013 +0200
Committer: Mark Struberg <st...@apache.org>
Committed: Tue Sep 10 09:44:31 2013 +0200
----------------------------------------------------------------------
deltaspike/parent/code/pom.xml | 131 ++++++++++++++++++++++++++++++++++++
1 file changed, 131 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltaspike/blob/109af984/deltaspike/parent/code/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/parent/code/pom.xml b/deltaspike/parent/code/pom.xml
index 0368bff..dd60d03 100644
--- a/deltaspike/parent/code/pom.xml
+++ b/deltaspike/parent/code/pom.xml
@@ -36,6 +36,7 @@
<properties>
<jboss.as.version>7.1.1.Final</jboss.as.version>
+ <wildfly.version>8.0.0.Alpha4</wildfly.version>
</properties>
@@ -623,6 +624,136 @@
</profile>
<profile>
+ <!--
+ * WildFly has to be locally installed and must be started
+ *
+ * JBOSS_HOME must be set for this work correctly!
+ *
+ * Start the build with:
+ * $> mvn clean install -Pwildfly-managed
+ *
+ -->
+ <id>wildfly-managed</id>
+ <properties>
+ <cdicontainer.version>wildfly-${wildfly.version}</cdicontainer.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
+ <version>1.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <version>1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.wildfly</groupId>
+ <artifactId>wildfly-arquillian-container-managed</artifactId>
+ <version>${wildfly.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.protocol</groupId>
+ <artifactId>arquillian-protocol-servlet</artifactId>
+ <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>
+ <systemProperties>
+ <arquillian.launch>jbossas-managed-7</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.FullProfileCategory,
+ org.apache.deltaspike.test.category.SeCategory
+ </excludedGroups>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>wildfly-remote</id>
+ <!-- AS7 must be started manually for this work correctly - debug hints see arquillian.xml -->
+
+ <properties>
+ <cdicontainer.version>wildfly-${wildfly.version}</cdicontainer.version>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
+ <version>1.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
+ <version>1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.wildfly</groupId>
+ <artifactId>wildfly-arquillian-container-remote</artifactId>
+ <version>${wildfly.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.arquillian.protocol</groupId>
+ <artifactId>arquillian-protocol-servlet</artifactId>
+ <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>
+ <systemProperties>
+ <arquillian.launch>jbossas-remote-7</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.FullProfileCategory,
+ org.apache.deltaspike.test.category.SeCategory
+ </excludedGroups>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
<id>glassfish-remote-3.1</id>
<properties>