You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Frank Ressel (JIRA)" <ji...@codehaus.org> on 2010/05/12 19:09:12 UTC
[jira] Created: (MRELEASE-557) release:prepare does not update the
version of a reactor plugin
release:prepare does not update the version of a reactor plugin
---------------------------------------------------------------
Key: MRELEASE-557
URL: http://jira.codehaus.org/browse/MRELEASE-557
Project: Maven 2.x Release Plugin
Issue Type: Bug
Components: perform
Affects Versions: 2.0
Reporter: Frank Ressel
For example this pom.
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>example</groupId>
<artifactId>example-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>example</groupId>
<artifactId>example-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>example-plugin</module>
</modules>
</project>
With "release:prepare", the version of the example-plugin in the build section stays untouched.
BTW: Is the pluginManagement totally ignored? I even don't get an error, if I use SNAPSHOT versions in the pluginManagement section.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MRELEASE-557) release:prepare does not update the version
of a reactor plugin
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte closed MRELEASE-557.
-----------------------------------
Resolution: Cannot Reproduce
Assignee: Robert Scholte
The project contains several integration-tests: {{maven-release-manager/src/test/resources/projects/*/internal-managed-snapshot-plugin/}}
These reflect exactly your usecase and succeed.
> release:prepare does not update the version of a reactor plugin
> ---------------------------------------------------------------
>
> Key: MRELEASE-557
> URL: https://jira.codehaus.org/browse/MRELEASE-557
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0
> Reporter: Frank Ressel
> Assignee: Robert Scholte
>
> For example this pom.
> {code:xml}
> <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/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>example</groupId>
> <artifactId>example-parent</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> <packaging>pom</packaging>
> <build>
> <pluginManagement>
> <plugins>
> <plugin>
> <groupId>example</groupId>
> <artifactId>example-plugin</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> </plugin>
> </plugins>
> </pluginManagement>
> </build>
> <modules>
> <module>example-plugin</module>
> </modules>
> </project>
> {code}
> With "{{release:prepare}}", the version of the example-plugin in the build section stays untouched.
> BTW: Is the {{pluginManagement}} totally ignored? I even don't get an error, if I use SNAPSHOT versions in the {{pluginManagement}} section.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MRELEASE-557) release:prepare does not update the version
of a reactor plugin
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MRELEASE-557:
------------------------------------
Description:
For example this pom.
{code:xml}
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>example</groupId>
<artifactId>example-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>example</groupId>
<artifactId>example-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>example-plugin</module>
</modules>
</project>
{code}
With "{{release:prepare}}", the version of the example-plugin in the build section stays untouched.
BTW: Is the {{pluginManagement}} totally ignored? I even don't get an error, if I use SNAPSHOT versions in the {{pluginManagement}} section.
was:
For example this pom.
{code:xml}
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>example</groupId>
<artifactId>example-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>example</groupId>
<artifactId>example-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>example-plugin</module>
</modules>
</project>
{code:xml}
With "{{release:prepare}}", the version of the example-plugin in the build section stays untouched.
BTW: Is the {{pluginManagement}} totally ignored? I even don't get an error, if I use SNAPSHOT versions in the {{pluginManagement}} section.
> release:prepare does not update the version of a reactor plugin
> ---------------------------------------------------------------
>
> Key: MRELEASE-557
> URL: https://jira.codehaus.org/browse/MRELEASE-557
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0
> Reporter: Frank Ressel
>
> For example this pom.
> {code:xml}
> <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/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>example</groupId>
> <artifactId>example-parent</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> <packaging>pom</packaging>
> <build>
> <pluginManagement>
> <plugins>
> <plugin>
> <groupId>example</groupId>
> <artifactId>example-plugin</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> </plugin>
> </plugins>
> </pluginManagement>
> </build>
> <modules>
> <module>example-plugin</module>
> </modules>
> </project>
> {code}
> With "{{release:prepare}}", the version of the example-plugin in the build section stays untouched.
> BTW: Is the {{pluginManagement}} totally ignored? I even don't get an error, if I use SNAPSHOT versions in the {{pluginManagement}} section.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MRELEASE-557) release:prepare does not update the version
of a reactor plugin
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRELEASE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MRELEASE-557:
------------------------------------
Component/s: (was: perform)
prepare
Description:
For example this pom.
{code:xml}
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>example</groupId>
<artifactId>example-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>example</groupId>
<artifactId>example-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>example-plugin</module>
</modules>
</project>
{code:xml}
With "{{release:prepare}}", the version of the example-plugin in the build section stays untouched.
BTW: Is the {{pluginManagement}} totally ignored? I even don't get an error, if I use SNAPSHOT versions in the {{pluginManagement}} section.
was:
For example this pom.
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>example</groupId>
<artifactId>example-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>example</groupId>
<artifactId>example-plugin</artifactId>
<version>0.0.1-SNAPSHOT</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>example-plugin</module>
</modules>
</project>
With "release:prepare", the version of the example-plugin in the build section stays untouched.
BTW: Is the pluginManagement totally ignored? I even don't get an error, if I use SNAPSHOT versions in the pluginManagement section.
> release:prepare does not update the version of a reactor plugin
> ---------------------------------------------------------------
>
> Key: MRELEASE-557
> URL: https://jira.codehaus.org/browse/MRELEASE-557
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0
> Reporter: Frank Ressel
>
> For example this pom.
> {code:xml}
> <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/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>example</groupId>
> <artifactId>example-parent</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> <packaging>pom</packaging>
> <build>
> <pluginManagement>
> <plugins>
> <plugin>
> <groupId>example</groupId>
> <artifactId>example-plugin</artifactId>
> <version>0.0.1-SNAPSHOT</version>
> </plugin>
> </plugins>
> </pluginManagement>
> </build>
> <modules>
> <module>example-plugin</module>
> </modules>
> </project>
> {code:xml}
> With "{{release:prepare}}", the version of the example-plugin in the build section stays untouched.
> BTW: Is the {{pluginManagement}} totally ignored? I even don't get an error, if I use SNAPSHOT versions in the {{pluginManagement}} section.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira