You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/09/06 22:45:10 UTC

[jira] [Closed] (MRELEASE-464) snapshot dependencies are not resolved for items inside tag using release:prepare

     [ https://issues.apache.org/jira/browse/MRELEASE-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MRELEASE-464.
-----------------------------------
    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.

> snapshot dependencies are not resolved for items inside <extension> tag using release:prepare
> ---------------------------------------------------------------------------------------------
>
>                 Key: MRELEASE-464
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-464
>             Project: Maven 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:
> {quote}
> "specify the selection number ( 0:All 1:Project Dependencies 2:Plugins 3:Reports 4:Extensions ): 1"
> {quote}
> 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:
> {code:xml}
> <?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://anonymous@${project.scm-root}/shared/trunk</connection>
> 	    <developerConnection>scm:svn:http://${project.scm-root}/shared/trunk</developerConnection>
> 	    <url>http://anonymous@${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>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)