You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2018/12/12 16:01:02 UTC

[03/10] tomee git commit: TOMEE-2354 - Moved TomEE Plus tests execution to a separate build profile.

TOMEE-2354 - Moved TomEE Plus tests execution to a separate build profile.


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

Branch: refs/heads/master
Commit: 9523e8755b0e8713e1466fa10b2b83e63e8201cc
Parents: 2c51e9c
Author: Roberto Cortez <ra...@yahoo.com>
Authored: Tue Dec 11 16:52:20 2018 +0000
Committer: Roberto Cortez <ra...@yahoo.com>
Committed: Tue Dec 11 16:52:20 2018 +0000

----------------------------------------------------------------------
 tck/microprofile-tck/config/pom.xml | 49 +++++++++++++++++++-------------
 1 file changed, 30 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/9523e875/tck/microprofile-tck/config/pom.xml
----------------------------------------------------------------------
diff --git a/tck/microprofile-tck/config/pom.xml b/tck/microprofile-tck/config/pom.xml
index 20bd025..d2fdd4c 100644
--- a/tck/microprofile-tck/config/pom.xml
+++ b/tck/microprofile-tck/config/pom.xml
@@ -35,6 +35,9 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
+          <dependenciesToScan>
+            <dependency>org.eclipse.microprofile.config:microprofile-config-tck</dependency>
+          </dependenciesToScan>
           <environmentVariables>
             <my_int_property>45</my_int_property>
             <MY_BOOLEAN_PROPERTY>true</MY_BOOLEAN_PROPERTY>
@@ -48,31 +51,39 @@
             <goals>
               <goal>test</goal>
             </goals>
-            <configuration>
-              <dependenciesToScan>
-                <dependency>org.eclipse.microprofile.config:microprofile-config-tck</dependency>
-              </dependenciesToScan>
-            </configuration>
-          </execution>
-          <execution>
-            <id>tomee-plus</id>
-            <goals>
-              <goal>test</goal>
-            </goals>
-            <configuration>
-              <dependenciesToScan>
-                <dependency>org.eclipse.microprofile.config:microprofile-config-tck</dependency>
-              </dependenciesToScan>
-              <systemPropertyVariables>
-                <arquillian.launch>tomee-plus</arquillian.launch>
-              </systemPropertyVariables>
-            </configuration>
           </execution>
         </executions>
       </plugin>
     </plugins>
   </build>
 
+  <profiles>
+    <profile>
+      <id>mp-tck-all</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>tomee-plus</id>
+                <goals>
+                  <goal>test</goal>
+                </goals>
+                <configuration>
+                  <systemPropertyVariables>
+                    <arquillian.launch>tomee-plus</arquillian.launch>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
   <dependencies>
     <dependency>
       <groupId>${project.groupId}</groupId>