[
https://issues.apache.org/jira/browse/MRELEASE-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MRELEASE-829.
-----------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> ${project.version} is not replaced during release
> -------------------------------------------------
>
> Key: MRELEASE-829
> URL: https://issues.apache.org/jira/browse/MRELEASE-829
> Project: Maven Release Plugin
> Issue Type: Bug
> Affects Versions: 2.4
> Environment: Maven 3.0.5
> Reporter: Ćukasz Dywicki
> Priority: Major
>
> I have small project with organization parent and checkstyle resources
> packaged as JAR and built as parent sub-module.
> The checkstyle module is added as dependency to maven-checkstyle-plugin
> defined in parent:
> {code:xml}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-checkstyle-plugin</artifactId>
> <configuration>
> <configLocation>code-house/checkstyle.xml</configLocation>
> <failsOnError>false</failsOnError>
> <failOnViolation>false</failOnViolation>
> </configuration>
> <dependencies>
> <dependency>
> <groupId>org.code-house</groupId>
> <artifactId>checkstyle</artifactId>
> <version>${project.version}</version>
> <optional>true</optional>
> </dependency>
> </dependencies>
> </plugin>
> {code}
> After release $\{project.version} is not being replaced and released pom
> still contains $\{project.version}. This causes usage of version from 3rd
> party child modules which should inherit settings from parent.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)