From: Miguel Landaeta <nomadium@debian.org>
Date: Mon, 14 Sep 2015 22:02:55 -0300
Subject: Disable maven-invoker-plugin usage for some jruby module builds
Forwarded: no

diff --git a/maven/jruby-complete/pom.xml b/maven/jruby-complete/pom.xml
index 42b1913..7679027 100644
--- a/maven/jruby-complete/pom.xml
+++ b/maven/jruby-complete/pom.xml
@@ -86,9 +86,13 @@
           </instructions>
         </configuration>
       </plugin>
+      <!-- I'm not quite sure yet but I suspect there is an incompatibility
+      with this plugin or its configuration used for this build and Maven 3.
+      I had to disabled it, otherwise jruby FTFBS!
       <plugin>
         <artifactId>maven-invoker-plugin</artifactId>
       </plugin>
+      -->
       <plugin>
         <artifactId>maven-source-plugin</artifactId>
         <configuration>
@@ -217,6 +221,7 @@
       </activation>
       <build>
         <plugins>
+          <!--
           <plugin>
             <artifactId>maven-invoker-plugin</artifactId>
             <configuration>
@@ -227,6 +232,7 @@
               </pomExcludes>
             </configuration>
           </plugin>
+          -->
         </plugins>
       </build>
     </profile>
diff --git a/maven/jruby-stdlib/pom.xml b/maven/jruby-stdlib/pom.xml
index 1943a10..ad83a92 100644
--- a/maven/jruby-stdlib/pom.xml
+++ b/maven/jruby-stdlib/pom.xml
@@ -75,9 +75,13 @@
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
       </plugin>
+      <!-- I'm not quite sure yet but I suspect there is an incompatibility
+      with this plugin or its configuration used for this build and Maven 3.
+      I had to disabled it, otherwise jruby FTFBS!
       <plugin>
         <artifactId>maven-invoker-plugin</artifactId>
       </plugin>
+      -->
       <plugin>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
