You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/09/22 12:02:01 UTC

[maven] 01/02: skip plexus-component-metadata:generate-metadata

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

hboutemy pushed a commit to branch reproducible
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 8693271170867bed931811cc4432e9b8d1b6dbb8
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Sep 22 13:59:12 2019 +0200

    skip plexus-component-metadata:generate-metadata
    
    require to disable tests since
    plexus-component-metadata:generate-test-metadata is also skipped
---
 maven-core/pom.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/maven-core/pom.xml b/maven-core/pom.xml
index b03f116..9937de4 100644
--- a/maven-core/pom.xml
+++ b/maven-core/pom.xml
@@ -33,6 +33,10 @@ under the License.
   <name>Maven Core</name>
   <description>Maven Core classes.</description>
 
+  <properties>
+    <skipTests>true</skipTests>
+  </properties>
+
   <dependencies>
     <!--  Maven -->
     <dependency>
@@ -194,10 +198,9 @@ under the License.
           <execution>
             <!-- plexus-component-metadata:merge-metadata disabled in favor of src/main/resources/META-INF/plexus/components.xml
                  while waiting for a fix to https://github.com/codehaus-plexus/plexus-containers/issues/27 -->
-            <id>no-merge</id>
+            <phase>deploy</phase>
             <goals>
               <goal>generate-metadata</goal>
-              <goal>generate-test-metadata</goal>
             </goals>
           </execution>
         </executions>