You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sumanta Kumar Pani (JIRA)" <ji...@codehaus.org> on 2011/02/14 13:20:22 UTC

[jira] Closed: (MRELEASE-651) maven release:prepare - not able to find the dependencies with new release version

     [ http://jira.codehaus.org/browse/MRELEASE-651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumanta Kumar Pani closed MRELEASE-651.
---------------------------------------

    Resolution: Fixed

I have added a project of packaging type pom

> maven release:prepare -  not able to find the dependencies with new release version
> -----------------------------------------------------------------------------------
>
>                 Key: MRELEASE-651
>                 URL: http://jira.codehaus.org/browse/MRELEASE-651
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Windows XP
>            Reporter: Sumanta Kumar Pani
>
> I have a flat project structure with multiple projects. 
> I am using Nexus for internal repository and SVN for Source code management.
> I am able to deploy the SNAPSHOT build of my project.
> In my parent pom i have added the maven release plug-in
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-release-plugin</artifactId>
>  <version>2.1</version>
> </plugin>
> and the distribution info
> <distributionManagement>
> <repository>
> <id>releases</id>
> <url>http://localhost:8081/nexus/content/repositories/releases</url>
> </repository>
> <snapshotRepository>
> <id>snapshots</id>
> <name>Internal Snapshots</name>
> <url>http://localhost:8081/nexus/content/repositories/snapshots</url>
> </snapshotRepository>
> </distributionManagement>
> When I am doing a mvn release:prepare. the artifacts with the release versions are not getting deployed to repo. So if I have a project A with dependency on project B. Project A is not able to get the artifact of B with the release version.

-- 
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