Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-4365: Upgrade maven-install-plugin to just-released v2.4, to enable skipping installation of artifacts from modules solr-core-tests and solr-solrj-tests.

Steven Rowed996a3568178
diff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.template
index e46e2386e26..9ba2ddd1d37 100644
--- a/dev-tools/maven/pom.xml.template
+++ b/dev-tools/maven/pom.xml.template
@@ -494,7 +494,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
- <version>2.3.1</version>
+ <version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/dev-tools/maven/solr/core/src/test/pom.xml.template b/dev-tools/maven/solr/core/src/test/pom.xml.template
index b1d9658d575..2a90d772df5 100644
--- a/dev-tools/maven/solr/core/src/test/pom.xml.template
+++ b/dev-tools/maven/solr/core/src/test/pom.xml.template
@@ -106,15 +106,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
- <executions>
- <execution>
- <id>default-install</id>
- <!-- Skipping by binding the default execution ID to a non-existent phase only works in Maven 3, not 2. -->
- <phase>none</phase>
- </execution>
- </executions>
<configuration>
- <!-- Skipping enabled in maven-install-plugin v2.4 -->
<skip>true</skip>
</configuration>
</plugin>
diff --git a/dev-tools/maven/solr/solrj/src/test/pom.xml.template b/dev-tools/maven/solr/solrj/src/test/pom.xml.template
index ebaefc0422c..9e568e71385 100644
--- a/dev-tools/maven/solr/solrj/src/test/pom.xml.template
+++ b/dev-tools/maven/solr/solrj/src/test/pom.xml.template
@@ -96,15 +96,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
- <executions>
- <execution>
- <id>default-install</id>
- <!-- Skipping by binding the default execution ID to a non-existent phase only works in Maven 3, not 2. -->
- <phase>none</phase>
- </execution>
- </executions>
<configuration>
- <!-- Skipping enabled in maven-install-plugin v2.4 -->
<skip>true</skip>
</configuration>
</plugin>