You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2018/05/20 08:00:34 UTC

[isis] 02/03: ISIS-1948: Introduce -legacy module for 'unittestsupport'

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

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

commit daee0d9c1fc2035b483cb86990528edb9ee7fa74
Author: Andi Huber <ah...@apache.org>
AuthorDate: Sun May 20 07:23:30 2018 +0200

    ISIS-1948: Introduce -legacy module for 'unittestsupport'
    
    in order to move deprecated classes out
    
    Task-Url: https://issues.apache.org/jira/browse/ISIS-1948
---
 core/unittestsupport-legacy/.gitignore             |  1 +
 .../pom.xml                                        | 26 ++++++++++++++++------
 core/unittestsupport/pom.xml                       |  1 +
 3 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/core/unittestsupport-legacy/.gitignore b/core/unittestsupport-legacy/.gitignore
new file mode 100644
index 0000000..a48e45b
--- /dev/null
+++ b/core/unittestsupport-legacy/.gitignore
@@ -0,0 +1 @@
+/target-ide
diff --git a/core/unittestsupport/pom.xml b/core/unittestsupport-legacy/pom.xml
similarity index 82%
copy from core/unittestsupport/pom.xml
copy to core/unittestsupport-legacy/pom.xml
index fecf2db..5c5ab3e 100644
--- a/core/unittestsupport/pom.xml
+++ b/core/unittestsupport-legacy/pom.xml
@@ -20,12 +20,12 @@
 		<version>${revision}</version>
 	</parent>
 
-	<artifactId>isis-core-unittestsupport</artifactId>
-	<name>Apache Isis Unit Test Support</name>
+	<artifactId>isis-core-unittestsupport-legacy</artifactId>
+	<name>Apache Isis Unit Test Support (Legacy)</name>
 
 	<properties>
-		<jar-plugin.automaticModuleName>org.apache.isis.core.unittestsupport</jar-plugin.automaticModuleName>
-		<git-plugin.propertiesDir>org/apache/isis/core/unittestsupport</git-plugin.propertiesDir>
+		<jar-plugin.automaticModuleName>org.apache.isis.core.unittestsupport-legacy</jar-plugin.automaticModuleName>
+		<git-plugin.propertiesDir>org/apache/isis/core/unittestsupport-legacy</git-plugin.propertiesDir>
 	</properties>
 
 	<description>
@@ -35,10 +35,22 @@
 
 	<dependencies>
 	
+		<!-- INHERIT FROM NON LEGACY SIBLING -->
+
 		<dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-commons</artifactId>
-        </dependency>
+			<groupId>org.apache.isis.core</groupId>
+			<artifactId>isis-core-unittestsupport</artifactId>
+			<scope>compile</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.isis.core</groupId>
+			<artifactId>isis-core-unittestsupport</artifactId>
+			<type>test-jar</type>
+			<scope>test</scope>
+		</dependency>
+	
+	
+		<!-- LEGACY DEPENDENCY -->
 	
 		<dependency>
 			<groupId>junit</groupId>
diff --git a/core/unittestsupport/pom.xml b/core/unittestsupport/pom.xml
index fecf2db..69a5511 100644
--- a/core/unittestsupport/pom.xml
+++ b/core/unittestsupport/pom.xml
@@ -35,6 +35,7 @@
 
 	<dependencies>
 	
+		<!-- core plugin loading -->
 		<dependency>
             <groupId>org.apache.isis.core</groupId>
             <artifactId>isis-core-commons</artifactId>

-- 
To stop receiving notification emails like this one, please contact
ahuber@apache.org.