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

ctubbsii pushed a commit to branch 1.9
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/1.9 by this push:
     new a590a0f  Roll back maven-invoker-plugin 3.1.0->3.0.1
a590a0f is described below

commit a590a0ffe10857fb15506b592f08ec60bf5ea43a
Author: Christopher Tubbs <ctubb...@apache.org>
AuthorDate: Fri Sep 21 20:38:31 2018 -0400

    Roll back maven-invoker-plugin 3.1.0->3.0.1
    
    A bug exists in maven-invoker-plugin 3.1.0 which causes the maven-plugin
    module to fail to build, due to missing SNAPSHOT dependencies copied
    into the PluginIT's local repository from sibling modules. This is
    because transitive dependencies fail to be copied, as they were in 3.0.1
    of the plugin.
    
    See https://issues.apache.org/jira/browse/MINVOKER-243
---
 maven-plugin/src/it/settings.xml | 8 +++++---
 pom.xml                          | 5 +++++
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/maven-plugin/src/it/settings.xml b/maven-plugin/src/it/settings.xml
index c8f77f0..abf9583 100644
--- a/maven-plugin/src/it/settings.xml
+++ b/maven-plugin/src/it/settings.xml
@@ -20,12 +20,11 @@ under the License.
 -->
 
 <settings>
+  <!-- This allows the invoked Maven to use the normal local repo as an 
additional "remote" repo -->
+  <!-- see also 
https://maven.apache.org/plugins/maven-invoker-plugin/examples/fast-use.html -->
   <profiles>
     <profile>
       <id>it-repo</id>
-      <activation>
-        <activeByDefault>true</activeByDefault>
-      </activation>
       <repositories>
         <repository>
           <id>local.central</id>
@@ -52,4 +51,7 @@ under the License.
       </pluginRepositories>
     </profile>
   </profiles>
+  <activeProfiles>
+    <activeProfile>it-repo</activeProfile>
+  </activeProfiles>
 </settings>
diff --git a/pom.xml b/pom.xml
index e73b16c..d86f89a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -577,6 +577,11 @@
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-invoker-plugin</artifactId>
+          <version>3.0.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>

Reply via email to