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/10/20 12:14:01 UTC

[maven] 07/13: 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 32043c7074118721468c2fcd84f38dc073ad748b
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 6a7cbfd..aa74750 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>
@@ -199,10 +203,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>