Skip to content

Commit

Permalink
cosmetic: normalize whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jun 2, 2020
1 parent b8f2c97 commit d73b14e
Show file tree
Hide file tree
Showing 9 changed files with 110 additions and 110 deletions.
2 changes: 1 addition & 1 deletion src/it/rootlocation-in-submodule/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
invoker.goals = validate
invoker.buildResult = success
invoker.project = submodule
invoker.project = submodule
56 changes: 28 additions & 28 deletions src/it/rootlocation-in-submodule/pom.xml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-rootlocation-parent</artifactId>
<version>1-SNAPSHOT</version>
<packaging>pom</packaging>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-rootlocation-parent</artifactId>
<version>1-SNAPSHOT</version>
<packaging>pom</packaging>

<name>rootlocation search top root</name>
<description>
<name>rootlocation search top root</name>
<description>
Tests that rootlocation finds the highest basedir.
</description>

<modules>
<module>submodule</module>
</modules>
<modules>
<module>submodule</module>
</modules>

<build>
<plugins>
<plugin>
<groupId>@project.groupId@</groupId>
<artifactId>@project.artifactId@</artifactId>
<version>@project.version@</version>
<executions>
<execution>
<goals>
<goal>rootlocation</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<build>
<plugins>
<plugin>
<groupId>@project.groupId@</groupId>
<artifactId>@project.artifactId@</artifactId>
<version>@project.version@</version>
<executions>
<execution>
<goals>
<goal>rootlocation</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
</project>
22 changes: 11 additions & 11 deletions src/it/rootlocation-in-submodule/submodule/pom.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-rootlocation-parent</artifactId>
<version>1-SNAPSHOT</version>
</parent>
<parent>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-rootlocation-parent</artifactId>
<version>1-SNAPSHOT</version>
</parent>

<artifactId>project</artifactId>
<packaging>jar</packaging>
<artifactId>project</artifactId>
<packaging>jar</packaging>

<name>rootlocation sub project</name>
<name>rootlocation sub project</name>

</project>
</project>
2 changes: 1 addition & 1 deletion src/it/rootlocation-in-submodule/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ String text = file.getText("utf-8")

assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)[/\\\\]rootlocation-in-submodule"(.*?)')

return true
return true
62 changes: 31 additions & 31 deletions src/it/rootlocation-run-only-at-exec-root/pom.xml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-rootlocation-parent</artifactId>
<version>1-SNAPSHOT</version>
<packaging>pom</packaging>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-rootlocation-parent</artifactId>
<version>1-SNAPSHOT</version>
<packaging>pom</packaging>

<name>rootlocation run only at execution root</name>
<description>
<name>rootlocation run only at execution root</name>
<description>
Tests that rootlocation is executed only at execution top level.
</description>

<modules>
<module>submodule</module>
</modules>
<modules>
<module>submodule</module>
</modules>

<build>
<plugins>
<plugin>
<groupId>@project.groupId@</groupId>
<artifactId>@project.artifactId@</artifactId>
<version>@project.version@</version>
<executions>
<execution>
<goals>
<goal>rootlocation</goal>
</goals>
<configuration>
<runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<build>
<plugins>
<plugin>
<groupId>@project.groupId@</groupId>
<artifactId>@project.artifactId@</artifactId>
<version>@project.version@</version>
<executions>
<execution>
<goals>
<goal>rootlocation</goal>
</goals>
<configuration>
<runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
</project>
22 changes: 11 additions & 11 deletions src/it/rootlocation-run-only-at-exec-root/submodule/pom.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-rootlocation-parent</artifactId>
<version>1-SNAPSHOT</version>
</parent>
<parent>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-rootlocation-parent</artifactId>
<version>1-SNAPSHOT</version>
</parent>

<artifactId>project</artifactId>
<packaging>jar</packaging>
<artifactId>project</artifactId>
<packaging>jar</packaging>

<name>rootlocation sub project</name>
<name>rootlocation sub project</name>

</project>
</project>
2 changes: 1 addition & 1 deletion src/it/rootlocation-run-only-at-exec-root/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
return true
50 changes: 25 additions & 25 deletions src/it/rootlocation/pom.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-rootlocation</artifactId>
<version>1-SNAPSHOT</version>
<packaging>jar</packaging>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-rootlocation</artifactId>
<version>1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>rootlocation</name>
<description>
<name>rootlocation</name>
<description>
Tests that rootlocation is set.
</description>

<build>
<plugins>
<plugin>
<groupId>@project.groupId@</groupId>
<artifactId>@project.artifactId@</artifactId>
<version>@project.version@</version>
<executions>
<execution>
<goals>
<goal>rootlocation</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<build>
<plugins>
<plugin>
<groupId>@project.groupId@</groupId>
<artifactId>@project.artifactId@</artifactId>
<version>@project.version@</version>
<executions>
<execution>
<goals>
<goal>rootlocation</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
</project>
2 changes: 1 addition & 1 deletion src/it/rootlocation/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ String text = file.getText("utf-8")

assert text.matches('(?ms)(.*?)define property rootlocation = "(.*)[/\\\\]rootlocation"(.*?)')

return true
return true

0 comments on commit d73b14e

Please sign in to comment.