snapshot dependencies are not resolved for items inside <extension> tag using release:prepare ---------------------------------------------------------------------------------------------
Key: MRELEASE-464 URL: http://jira.codehaus.org/browse/MRELEASE-464 Project: Maven 2.x Release Plugin Issue Type: Bug Components: prepare Affects Versions: 2.0-beta-9 Environment: java 1.6 maven 2.0.9 Reporter: Rautureau release:prepare does not resolve snapshot dependencies for extensions. when runing the command we see this prompt: "specify the selection number ( 0:All 1:Project Dependencies 2:Plugins 3:Reports 4:Extensions ): 1" Option 4 does not work at all. Using Option 0 or 1 will ask us to resolve the dependency, but we always recieve an exception saying that the dependency has not been resolved. Here is an example of our POM: <?xml version="1.0" encoding="UTF-8"?> <!-- - - Parent POM for all shared components - --> <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"> <!-- General information --> <modelVersion>4.0.0</modelVersion> <artifactId>shared</artifactId> <packaging>pom</packaging> <name>Visualization-Shared</name> <description>Axway Visualization Shared</description> <url>http://scm.axway.corp.sopra/sites</url> <!-- Parent POM --> <parent> <groupId>com.axway.visualization</groupId> <artifactId>parent</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> <!-- Properties --> <properties> <pmd.ruleset>PMDRules-server</pmd.ruleset> </properties> <!-- Modules to build --> <modules> <module>model</module> <module>security</module> </modules> <!-- SCM --> <scm> <connection>scm:svn:http://anonym...@${project.scm-root}/shared/trunk</connection> <developerConnection>scm:svn:http://${project.scm-root}/shared/trunk</developerConnection> <url>http://anonym...@${project.scm-root}/shared/trunk</url> </scm> <!-- CI Management --> <ciManagement> <system>hudson</system> <url>${project.ciManagement-root}/shared_trunk</url> </ciManagement> <dependencyManagement> <dependencies> <!-- Apache Commons IO --> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons-io.version}</version> </dependency> </dependencies> </dependencyManagement> <!-- Dependencies --> <dependencies> <!-- Default test dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> </dependencies> <!-- Reporting --> <reporting> <plugins> <!-- PMD report --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <configuration> <targetJdk>1.6</targetJdk> <rulesets> <ruleset>${pmd.ruleset}.xml</ruleset> </rulesets> <linkXref>true</linkXref> <sourceEncoding>utf-8</sourceEncoding> <minimumTokens>100</minimumTokens> </configuration> </plugin> </plugins> </reporting> <!-- Build --> <build> <!-- Plugins extensions --> <extensions> <extension> <groupId>com.axway.visualization.parent</groupId> <artifactId>pmd-rules</artifactId> <version>1.0.0-SNAPSHOT</version> </extension> </extensions> </build> </project> -- 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