You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2020/07/31 11:27:12 UTC

[maven-source-plugin] branch stabilize created (now 52a1fc7)

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

rfscholte pushed a change to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-source-plugin.git.


      at 52a1fc7  Stabilize IT for MSOURCES-95 on Unix+JDK8

This branch includes the following new commits:

     new 52a1fc7  Stabilize IT for MSOURCES-95 on Unix+JDK8

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-source-plugin] 01/01: Stabilize IT for MSOURCES-95 on Unix+JDK8

Posted by rf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-source-plugin.git

commit 52a1fc71a447c224e2f4d83ac5eae09cca820f91
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Jul 31 13:26:58 2020 +0200

    Stabilize IT for MSOURCES-95 on Unix+JDK8
---
 src/it/MSOURCES-95/pom.xml | 39 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 38 insertions(+), 1 deletion(-)

diff --git a/src/it/MSOURCES-95/pom.xml b/src/it/MSOURCES-95/pom.xml
index e16d8c6..671124d 100644
--- a/src/it/MSOURCES-95/pom.xml
+++ b/src/it/MSOURCES-95/pom.xml
@@ -20,7 +20,7 @@
 
 <project xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-4.0.0.xsd">
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
   <groupId>org.apache.maven.its.source</groupId>
@@ -42,5 +42,42 @@
       </plugin>
     </plugins>
   </build>
+  
+  <profiles>
+    <profile>
+      <!-- IT fails on unix + JDK8, probably due to https://bugs.openjdk.java.net/browse/JDK-8177809 -->
+      <activation>
+        <jdk>[8,9)</jdk>
+        <os>
+          <family>unix</family>
+        </os>
+        <file>
+          <exists>target</exists>
+        </file>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>3.0.0</version>
+            <executions>
+              <execution>
+                <phase>initialize</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <target>
+                    <sleep seconds="2"/>
+                  </target>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 
 </project>