You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukasz Dywicki (JIRA)" <ji...@codehaus.org> on 2013/03/13 10:13:52 UTC

[jira] (MRELEASE-829) ${project.version} is not replaced during release

Lukasz Dywicki created MRELEASE-829:
---------------------------------------

             Summary: ${project.version} is not replaced during release
                 Key: MRELEASE-829
                 URL: https://jira.codehaus.org/browse/MRELEASE-829
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
    Affects Versions: 2.4
         Environment: Maven 3.0.5
            Reporter: Lukasz Dywicki


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:java}}
            <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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira