deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject deltaspike git commit: DELTASPIKE-1181 Added a reference embedded profile as well. Minor fix on the managed profile
Date Thu, 07 Jul 2016 02:54:08 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master b9bc748e7 -> db211f60c


DELTASPIKE-1181 Added a reference embedded profile as well.  Minor fix on the managed profile


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/db211f60
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/db211f60
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/db211f60

Branch: refs/heads/master
Commit: db211f60c0fd5c610818c25a3cf99df30ae9ce95
Parents: b9bc748
Author: John D. Ament <johndament@apache.org>
Authored: Wed Jul 6 22:54:04 2016 -0400
Committer: John D. Ament <johndament@apache.org>
Committed: Wed Jul 6 22:54:04 2016 -0400

----------------------------------------------------------------------
 deltaspike/parent/code/pom.xml | 60 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 59 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/db211f60/deltaspike/parent/code/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/parent/code/pom.xml b/deltaspike/parent/code/pom.xml
index 38f82cd..2df386c 100644
--- a/deltaspike/parent/code/pom.xml
+++ b/deltaspike/parent/code/pom.xml
@@ -1732,7 +1732,65 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>payara-embedded-4</id>
 
+            <properties>
+                <cdicontainer.version>payara-${payara.version}</cdicontainer.version>
+            </properties>
+
+            <dependencies>
+                <dependency>
+                    <groupId>javax.enterprise</groupId>
+                    <artifactId>cdi-api</artifactId>
+                    <version>1.2</version>
+                    <scope>provided</scope>
+                </dependency>
+                <dependency>
+                    <groupId>javax.inject</groupId>
+                    <artifactId>javax.inject</artifactId>
+                    <version>1</version>
+                    <scope>provided</scope>
+                </dependency>
+
+                <dependency>
+                    <groupId>fish.payara.extras</groupId>
+                    <artifactId>payara-embedded-all</artifactId>
+                    <version>${payara.version}</version>
+                    <scope>test</scope>
+                </dependency>
+
+                <dependency>
+                    <groupId>org.jboss.arquillian.container</groupId>
+                    <artifactId>arquillian-glassfish-embedded-3.1</artifactId>
+                    <version>1.0.0.CR4</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <systemProperties>
+                                <arquillian.launch>glassfish-build-managed-4</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.SeCategory
+                            </excludedGroups>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
         <profile>
             <!--
              * Payara will be downloaded as maven dependency
@@ -1805,7 +1863,7 @@
                                 <configuration>
                                     <artifactItems>
                                         <artifactItem>
-                                            <groupId>fish.payara.blue.distributions</groupId>
+                                            <groupId>fish.payara.distributions</groupId>
                                             <artifactId>payara</artifactId>
                                             <version>${payara.version}</version>
                                             <outputDirectory>${container.unpack.directory}</outputDirectory>


Mime
View raw message