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 2019/09/09 21:42:32 UTC

[isis] 01/11: avoids extensions module being included in the mvn reactor twice

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

danhaywood pushed a commit to branch v2-antora
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 3b848b56b6639207c722336ec4e9a0f7558ee524
Author: Dan Haywood <da...@apache.org>
AuthorDate: Thu Aug 22 12:54:18 2019 +0100

    avoids extensions module being included in the mvn reactor twice
    
    ... when attempting to build from top-level.
---
 pom.xml | 33 ++++++++-------------------------
 1 file changed, 8 insertions(+), 25 deletions(-)

diff --git a/pom.xml b/pom.xml
index 88ff403..7e139cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,40 +33,23 @@
 		<tag>HEAD</tag>
 	</scm>
 
+	<modules>
+		<module>core</module>
+	</modules>
 
 	<profiles>
 		<profile>
-			<id>core</id>
-			<activation>
-				<property>
-					<name>!skip.core</name>
-				</property>
-			</activation>
-			<modules>
-				<module>core</module>
-			</modules>
-		</profile>
-
-		<profile>
-			<id>extensions</id>
-			<activation>
-				<property>
-					<name>!skip.extensions</name>
-				</property>
-			</activation>
-			<modules>
-				<module>extensions</module>
-			</modules>
-		</profile>
-
-		<profile>
 			<id>examples</id>
 			<activation>
+				<!--
+				only include within IDE as a convenience
+				-->
 				<property>
-					<name>!skip.examples</name>
+					<name>idea.version</name>
 				</property>
 			</activation>
 			<modules>
+				<module>core</module>
 				<module>examples</module>
 			</modules>
 		</profile>