diff --git a/src/it/rootlocation-in-submodule/invoker.properties b/src/it/rootlocation-in-submodule/invoker.properties index 5bc9fafe..965fc19f 100644 --- a/src/it/rootlocation-in-submodule/invoker.properties +++ b/src/it/rootlocation-in-submodule/invoker.properties @@ -1,3 +1,3 @@ invoker.goals = validate invoker.buildResult = success -invoker.project = submodule \ No newline at end of file +invoker.project = submodule diff --git a/src/it/rootlocation-in-submodule/pom.xml b/src/it/rootlocation-in-submodule/pom.xml index eba54610..41b0646e 100644 --- a/src/it/rootlocation-in-submodule/pom.xml +++ b/src/it/rootlocation-in-submodule/pom.xml @@ -1,36 +1,36 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - org.codehaus.mojo - build-helper-rootlocation-parent - 1-SNAPSHOT - pom + org.codehaus.mojo + build-helper-rootlocation-parent + 1-SNAPSHOT + pom - rootlocation search top root - + rootlocation search top root + Tests that rootlocation finds the highest basedir. - - submodule - + + submodule + - - - - @project.groupId@ - @project.artifactId@ - @project.version@ - - - - rootlocation - - - - - - + + + + @project.groupId@ + @project.artifactId@ + @project.version@ + + + + rootlocation + + + + + + - \ No newline at end of file + diff --git a/src/it/rootlocation-in-submodule/submodule/pom.xml b/src/it/rootlocation-in-submodule/submodule/pom.xml index 252b3185..f3ac5ef4 100644 --- a/src/it/rootlocation-in-submodule/submodule/pom.xml +++ b/src/it/rootlocation-in-submodule/submodule/pom.xml @@ -1,16 +1,16 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - - org.codehaus.mojo - build-helper-rootlocation-parent - 1-SNAPSHOT - + + org.codehaus.mojo + build-helper-rootlocation-parent + 1-SNAPSHOT + - project - jar + project + jar - rootlocation sub project + rootlocation sub project - \ No newline at end of file + diff --git a/src/it/rootlocation-in-submodule/verify.groovy b/src/it/rootlocation-in-submodule/verify.groovy index cca71596..fdca3325 100644 --- a/src/it/rootlocation-in-submodule/verify.groovy +++ b/src/it/rootlocation-in-submodule/verify.groovy @@ -5,4 +5,4 @@ String text = file.getText("utf-8") assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)[/\\\\]rootlocation-in-submodule"(.*?)') -return true \ No newline at end of file +return true diff --git a/src/it/rootlocation-run-only-at-exec-root/pom.xml b/src/it/rootlocation-run-only-at-exec-root/pom.xml index 1b37d098..0492b34b 100644 --- a/src/it/rootlocation-run-only-at-exec-root/pom.xml +++ b/src/it/rootlocation-run-only-at-exec-root/pom.xml @@ -1,39 +1,39 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - org.codehaus.mojo - build-helper-rootlocation-parent - 1-SNAPSHOT - pom + org.codehaus.mojo + build-helper-rootlocation-parent + 1-SNAPSHOT + pom - rootlocation run only at execution root - + rootlocation run only at execution root + Tests that rootlocation is executed only at execution top level. - - submodule - + + submodule + - - - - @project.groupId@ - @project.artifactId@ - @project.version@ - - - - rootlocation - - - true - - - - - - + + + + @project.groupId@ + @project.artifactId@ + @project.version@ + + + + rootlocation + + + true + + + + + + - \ No newline at end of file + diff --git a/src/it/rootlocation-run-only-at-exec-root/submodule/pom.xml b/src/it/rootlocation-run-only-at-exec-root/submodule/pom.xml index 252b3185..f3ac5ef4 100644 --- a/src/it/rootlocation-run-only-at-exec-root/submodule/pom.xml +++ b/src/it/rootlocation-run-only-at-exec-root/submodule/pom.xml @@ -1,16 +1,16 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - - org.codehaus.mojo - build-helper-rootlocation-parent - 1-SNAPSHOT - + + org.codehaus.mojo + build-helper-rootlocation-parent + 1-SNAPSHOT + - project - jar + project + jar - rootlocation sub project + rootlocation sub project - \ No newline at end of file + diff --git a/src/it/rootlocation-run-only-at-exec-root/verify.groovy b/src/it/rootlocation-run-only-at-exec-root/verify.groovy index 03454c41..53d6f4be 100644 --- a/src/it/rootlocation-run-only-at-exec-root/verify.groovy +++ b/src/it/rootlocation-run-only-at-exec-root/verify.groovy @@ -6,4 +6,4 @@ String text = file.getText("utf-8") assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)[/\\\\]rootlocation-run-only-at-exec-root"(.*?)') assert text.contains("Skip getting the rootlocation in this project because it's not the Execution Root") -return true \ No newline at end of file +return true diff --git a/src/it/rootlocation/pom.xml b/src/it/rootlocation/pom.xml index 27a57386..ef682e63 100644 --- a/src/it/rootlocation/pom.xml +++ b/src/it/rootlocation/pom.xml @@ -1,32 +1,32 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - org.codehaus.mojo - build-helper-rootlocation - 1-SNAPSHOT - jar + org.codehaus.mojo + build-helper-rootlocation + 1-SNAPSHOT + jar - rootlocation - + rootlocation + Tests that rootlocation is set. - - - - @project.groupId@ - @project.artifactId@ - @project.version@ - - - - rootlocation - - - - - - + + + + @project.groupId@ + @project.artifactId@ + @project.version@ + + + + rootlocation + + + + + + - \ No newline at end of file + diff --git a/src/it/rootlocation/verify.groovy b/src/it/rootlocation/verify.groovy index 1db557e1..0296fb92 100644 --- a/src/it/rootlocation/verify.groovy +++ b/src/it/rootlocation/verify.groovy @@ -5,4 +5,4 @@ String text = file.getText("utf-8") assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)[/\\\\]rootlocation"(.*?)') -return true \ No newline at end of file +return true