Skip to content

Commit

Permalink
Build Helper Maven Plugin: use goal 'rootlocation', but from snapshot…
Browse files Browse the repository at this point in the history
… version

Waiting for version 3.2.0 being uploaded to Maven Central after bugfix for
mojohaus/build-helper-maven-plugin#48
  • Loading branch information
kriegaex committed Jun 18, 2020
1 parent b927783 commit d18143e
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,13 @@
</executions>
</plugin>

<!-- TODO: upgrade to 3.2.0 as soon as available on Maven Central -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.1.0</version>
<!-- Version 3.2.0 fixes goal 'rootlocation' -->
<!-- <version>3.2.0</version>-->
<version>3.1.1-SNAPSHOT</version>
</plugin>

<plugin>
Expand Down Expand Up @@ -348,9 +351,25 @@
</pluginManagement>

<plugins>

<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>set-project-root-dir</id>
<phase>validate</phase>
<goals>
<goal>rootlocation</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>

</build>
Expand Down

0 comments on commit d18143e

Please sign in to comment.