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 2018/04/01 13:19:19 UTC

[maven-project-info-reports-plugin] branch MPIR-366 updated: [MPIR-366] Drop Maven2 support Getting false positives on Jenkins, maven-invoker-plugin should not ignore failures

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

rfscholte pushed a commit to branch MPIR-366
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git


The following commit(s) were added to refs/heads/MPIR-366 by this push:
     new 2c48bbe  [MPIR-366] Drop Maven2 support Getting false positives on Jenkins, maven-invoker-plugin should not ignore failures
2c48bbe is described below

commit 2c48bbe22917bd3682caba815f9fd405b80c278e
Author: rfscholte <rf...@apache.org>
AuthorDate: Sun Apr 1 15:19:12 2018 +0200

    [MPIR-366] Drop Maven2 support
    Getting false positives on Jenkins, maven-invoker-plugin should not ignore failures
---
 pom.xml | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index f265537..10939f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -503,9 +503,14 @@ under the License.
                   <include>*:aether-connector-wagon</include>
                 </includes>
               </artifactSet>
-              <transformers>
-                <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"/>
-              </transformers>
+              <filters>
+                <filter>
+                  <artifact>*:*</artifact>
+                  <excludes>
+                    <exclude>META-INF/sisu/javax.inject.Named</exclude> <!-- confuses Plexus -->
+                  </excludes>
+                </filter>
+              </filters>
             </configuration>
           </execution>
         </executions>
@@ -616,12 +621,16 @@ under the License.
     </profile>
     <profile>
       <id>run-its</id>
+      <properties>
+        <maven.invoker.failure.ignore>false</maven.invoker.failure.ignore>
+      </properties>
       <build>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-invoker-plugin</artifactId>
             <configuration>
+              <ignoreFailures>${maven.invoker.failure.ignore}</ignoreFailures>
               <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
               <pomIncludes>
                 <pomInclude>*/pom.xml</pomInclude>

-- 
To stop receiving notification emails like this one, please contact
rfscholte@apache.org.