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 2020/10/11 12:21:18 UTC

[isis] 01/04: ISIS-2322: more messing about with profiles

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

danhaywood pushed a commit to branch release-2.0.0-M4-RC1
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 6edb971182488281af2cc2bca3b798265443fa0c
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Sun Oct 11 13:18:00 2020 +0100

    ISIS-2322: more messing about with profiles
---
 .../comguide/modules/ROOT/pages/cutting-a-release.adoc     |  6 ++----
 isis-parent/pom.xml                                        | 14 ++++++++++++++
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc b/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc
index 47d2843..027bdaa 100644
--- a/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc
+++ b/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc
@@ -61,7 +61,7 @@ To run the RAT tool, use:
 mvn clean
 
 pushd isis-parent
-mvn org.apache.rat:apache-rat-plugin:check -D rat.numUnapprovedLicenses=1000
+mvn org.apache.rat:apache-rat-plugin:check -D rat.numUnapprovedLicenses=1000 -Dreleased -P'!all'
 popd
 
 pushd antora
@@ -252,9 +252,7 @@ Delete all Isis artifacts from your local Maven repo, then build using the `-o`
 [source,bash,subs="attributes+"]
 ----
 rm -rf ~/.m2/repository/org/apache/isis
-mvn clean install \
-        -Dreleased \
-        -o
+mvn clean install -o -Dreleased -P'!all'
 ----
 
 [NOTE]
diff --git a/isis-parent/pom.xml b/isis-parent/pom.xml
index a3a1c9d..d53a568 100644
--- a/isis-parent/pom.xml
+++ b/isis-parent/pom.xml
@@ -994,6 +994,20 @@ under the License.
 
 		<!-- APACHE ISIS customisation 7/7: start -->
 		<profile>
+			<id>released</id>
+			<modules>
+				<module>../core</module>
+				<module>../extensions</module>
+				<module>../mappings</module>
+				<module>../mavendeps</module>
+				<module>../starters</module>
+				<module>../subdomains</module>
+				<module>../testing</module>
+				<module>../valuetypes</module>
+			</modules>
+		</profile>
+
+		<profile>
 			<id>all</id>
 			<activation>
 				<property>