Commit 54504b49 authored by Jose Luis Osorno's avatar Jose Luis Osorno
Browse files

Archetypes IT - Fix IT archetype version number

Modify the archetypes ITs to get the version number from the pom.xml
file instead of hardcode the version.
parent 1503134f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -78,6 +78,7 @@
                        <org.slf4j.simpleLogger.showDateTime>false</org.slf4j.simpleLogger.showDateTime>
                        <org.slf4j.simpleLogger.showThreadName>false</org.slf4j.simpleLogger.showThreadName>
                        <org.slf4j.simpleLogger.showLogName>false</org.slf4j.simpleLogger.showLogName>
                        <projectArtifactId>${project.version}</projectArtifactId>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ public class AllInOneArchetypeIT extends AbstractArchetypeIT {
        return ArchetypeProperties.builder()
                .withArchetypeGroupId("org.alfresco.maven.archetype")
                .withArchetypeArtifactId("alfresco-allinone-archetype")
                .withArchetypeVersion("4.0.0-SNAPSHOT")
                .withArchetypeVersion(System.getProperty("projectArtifactId"))
                .withProjectGroupId("archetype.it")
                .withProjectArtifactId("allinone-test-run")
                .withProjectVersion("0.1-SNAPSHOT")
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ public class PlatformJarArchetypeIT extends AbstractArchetypeIT {
        return ArchetypeProperties.builder()
                .withArchetypeGroupId("org.alfresco.maven.archetype")
                .withArchetypeArtifactId("alfresco-platform-jar-archetype")
                .withArchetypeVersion("4.0.0-SNAPSHOT")
                .withArchetypeVersion(System.getProperty("projectArtifactId"))
                .withProjectGroupId("archetype.it")
                .withProjectArtifactId("repojar-test-run")
                .withProjectVersion("0.1-SNAPSHOT")
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ public class ShareJarArchetypeIT extends AbstractArchetypeIT {
        return ArchetypeProperties.builder()
                .withArchetypeGroupId("org.alfresco.maven.archetype")
                .withArchetypeArtifactId("alfresco-share-jar-archetype")
                .withArchetypeVersion("4.0.0-SNAPSHOT")
                .withArchetypeVersion(System.getProperty("projectArtifactId"))
                .withProjectGroupId("archetype.it")
                .withProjectArtifactId("sharejar-test-run")
                .withProjectVersion("0.1-SNAPSHOT")