You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2020/04/16 10:43:29 UTC

[maven-ear-plugin] 19/24: Improved.

This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch itf-extension
in repository https://gitbox.apache.org/repos/asf/maven-ear-plugin.git

commit 84b243ca47e78f3a55fd8c6fbf604aeede2176db
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Sun Dec 15 16:44:49 2019 +0100

    Improved.
---
 pom.xml                                            | 36 ++++++++++++++++++++--
 .../plugins/ear/it/{EARIT.java => EARMIT.java}     |  3 +-
 2 files changed, 35 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index f151cc3..8d4be7c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -324,6 +324,7 @@
               </execution>
               <execution>
                 <id>install-artifacts</id>
+                <phase>EMPTY</phase>
                 <goals>
                   <goal>install</goal>
                 </goals>
@@ -337,6 +338,7 @@
               </execution>
             </executions>
           </plugin>
+<!--
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-failsafe-plugin</artifactId>
@@ -346,9 +348,6 @@
               <includes>
                 <include>**/*IT.java</include>
               </includes>
-              <!--
-               ! currently needed for running integration tests.
-              -->
               <systemProperties>
                 <maven.version>${maven.version}</maven.version>
                 <maven.home>${maven.home}</maven.home>
@@ -369,6 +368,37 @@
               </execution>
             </executions>
           </plugin>
+
+          <plugin>
+            <groupId>de.sormuras.junit</groupId>
+            <artifactId>junit-platform-maven-plugin</artifactId>
+            <version>1.0.0-M5</version>
+            <executions>
+              <execution>
+                <id>Launch JUnit Platform</id>
+                <phase>integration-test</phase>
+                <goals>
+                  <goal>launch</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+-->
+          <plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+  					<artifactId>maven-ngi-plugin</artifactId>
+						<version>0.1.0-SNAPSHOT</version>
+            <configuration>
+            </configuration>
+            <executions>
+							<execution>
+                <goals>
+                  <goal>install</goal>
+                  <goal>integration-test</goal>
+                </goals>
+							</execution>
+						</executions>
+					</plugin>
         </plugins>
       </build>
     </profile>
diff --git a/src/test/java/org/apache/maven/plugins/ear/it/EARIT.java b/src/test/java/org/apache/maven/plugins/ear/it/EARMIT.java
similarity index 99%
rename from src/test/java/org/apache/maven/plugins/ear/it/EARIT.java
rename to src/test/java/org/apache/maven/plugins/ear/it/EARMIT.java
index 042c96e..5dce615 100644
--- a/src/test/java/org/apache/maven/plugins/ear/it/EARIT.java
+++ b/src/test/java/org/apache/maven/plugins/ear/it/EARMIT.java
@@ -45,7 +45,8 @@ import org.junit.jupiter.api.DisplayNameGenerator;
 @MavenIT
 @DisplayNameGeneration(DisplayNameGenerator.ReplaceUnderscores.class)
 @DisplayName("EAR Plugin Integration tests")
-class EARIT {
+class EARMIT
+{
 
   @MavenTest
   void basic(MavenExecutionResult result, MavenProjectResult project) {