When trying to use the maven-shade-plugin
plugin in a project using the latest 2.3.0.M1 milestone release we encounter this error:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'build.plugins.plugin[org.apache.maven.plugins:maven-shade-plugin].dependencies.dependency.version' for org.springframework.boot:spring-boot-maven-plugin:jar must be a valid version but is '${revision}'. @ org.springframework.boot:spring-boot-starter-parent:2.3.0.M1, /Users/demo/.m2/repository/org/springframework/boot/spring-boot-starter-parent/2.3.0.M1/spring-boot-starter-parent-2.3.0.M1.pom, line 211, column 24
Build Settings:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
I believe this PR fixes what seems to be a very slight oversight during the Gradle migration.
Comment From: pivotal-issuemaster
@scheerer Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-issuemaster
@scheerer Thank you for signing the Contributor License Agreement!
Comment From: snicoll
@scheerer good catch! Thank you for making your first contribution to Spring Boot.
Comment From: wilkinsona
Superseded by #20143.