You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2019/10/13 19:50:27 UTC

[archiva] branch master updated: Moving license plugin to profile

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

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva.git


The following commit(s) were added to refs/heads/master by this push:
     new aaa8b6e  Moving license plugin to profile
aaa8b6e is described below

commit aaa8b6ec2b2afee32ca89fff8b5e653ae7c3382c
Author: Martin Stockhammer <ma...@apache.org>
AuthorDate: Sun Oct 13 21:49:43 2019 +0200

    Moving license plugin to profile
---
 pom.xml | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

diff --git a/pom.xml b/pom.xml
index b5b7210..e920c80 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1834,20 +1834,7 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>license-maven-plugin</artifactId>
-        <version>2.0.0</version>
-        <executions>
-          <execution>
-            <id>aggregate-download-licenses</id>
-            <goals>
-              <goal>aggregate-download-licenses</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
+   </plugins>
     <pluginManagement>
       <plugins>
         <plugin>
@@ -2047,6 +2034,26 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>licence-check</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>license-maven-plugin</artifactId>
+            <version>2.0.0</version>
+            <executions>
+              <execution>
+                <id>aggregate-download-licenses</id>
+                <goals>
+                  <goal>aggregate-download-licenses</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
   <repositories>