You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2018/07/18 06:00:53 UTC
[isis] 04/09: ISIS-1810: moves source-plugin into a mvn profile
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
commit d6815a66d542f5f8e3a9b90543b342c3d0c24b89
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Jul 17 07:14:08 2018 +0100
ISIS-1810: moves source-plugin into a mvn profile
by default enabled, but allows it to be switched off for faster build times, (using -Dskip.src)
---
core/pom.xml | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/core/pom.xml b/core/pom.xml
index 23076c5..2226784 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -1081,11 +1081,6 @@
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- </plugin>
-
- <plugin>
<artifactId>maven-remote-resources-plugin</artifactId>
<executions>
<execution>
@@ -2419,6 +2414,22 @@ ${license.additional-notes}
</build>
</profile>
<profile>
+ <id>src</id>
+ <activation>
+ <property>
+ <name>!skip.src</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<id>git</id>
<activation>
<property>