Perform fails with flat directory structure in multi module project using mercurial -----------------------------------------------------------------------------------
Key: MRELEASE-713 URL: https://jira.codehaus.org/browse/MRELEASE-713 Project: Maven 2.x Release Plugin Issue Type: Bug Components: perform Affects Versions: 2.2.1 Environment: Windows 7 x64, Eclipse Ide and command line attempts. Reporter: Ezequiel Ballesi Attachments: failed_release.log Three projects with a flat structure Scenario 1: ../parente-pom [parent pom of module1 and multimodule projects] ../module1 [a jar module] ../multimodule [a multimodule pom project that included submodules both parent-pom and module1] Scenario 2: ../parente-pom [parent pom of module1 with submodule module1] ../module1 [a jar module] Both scenarios use mercurial with the following configuration: <!-- in the scenario 1, this config is in the multimodule pom--> <!-- in the scenario 2, this config is in the parent pom--> <scm> <connection>scm:hg:d:\projects\pocs\maven-release-with-hg</connection> <developerConnection>scm:hg:d:\projects\pocs\maven-release-with-hg</developerConnection> </scm> <distributionManagement> <repository> <id>local.releases</id> <name>ent local releases repository</name> <url>file:d:/projects/maven-local-repositories/poc</url> </repository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.2.1</version> </plugin> </plugins> </build> <modules> <module>../mavenreleasehg.module1</module> <!-- here parent would be included in the scenario 1--> </modules> In both cases, the prepare goal work fine When it comes to the perform goal, both cases fails. I'm attaching the failed execution with the -X command. For what I can see (target\checkout\mavenreleasehg.multimodule\mavenreleasehg.multimodule" does not exist!) it is duplicating part of the path and fails to locate it. The checkout directory contains all three/two projects, but it duplicates part of it (the last two directories in the path). Hope this helps. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira