[ http://jira.codehaus.org/browse/MNG-4352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-4352: ------------------------------ Summary: Misleading error when bootstrapping Maven build with unexpected installation directory (was: Building Maven from source fails) the <mkdir> would not be correct, as the Maven install is actually in ../apache-maven-2.2.2-SNAPSHOT. I've added an error message if the path used is not in the format expected. > Misleading error when bootstrapping Maven build with unexpected installation > directory > -------------------------------------------------------------------------------------- > > Key: MNG-4352 > URL: http://jira.codehaus.org/browse/MNG-4352 > Project: Maven 2 > Issue Type: Bug > Components: General > Affects Versions: 2.2.1 > Environment: OpenSUSE x86-64 > Reporter: Jose Garcia > Assignee: Brett Porter > > the execution of the command "ant" to build from source fails with this > message > extract-assembly: > [echo] Extracting assembly to /opt ... > [delete] Deleting directory /opt/maven > [mkdir] Created dir: /opt/maven > [unzip] Expanding: > /root/maven/apache-maven-2.2.1/apache-maven/target/apache-maven-2.2.1-bin.zip > into /opt > BUILD FAILED > /root/maven/apache-maven-2.2.1/build.xml:224: /opt/maven/bin not found. > after the line "<mkdir dir="${maven.home}/bin"/>" at row 224 was added, it > compiles: > extract-assembly: > [echo] Extracting assembly to /opt ... > [delete] Deleting directory /opt/maven > [mkdir] Created dir: /opt/maven > [mkdir] Created dir: /opt/maven/bin > [unzip] Expanding: > /root/maven/apache-maven-2.2.1/apache-maven/target/apache-maven-2.2.1-bin.zip > into /opt > [chmod] Skipping fileset for directory /opt/maven/bin. It is empty. > all: > BUILD SUCCESSFUL > Total time: 2 minutes 51 seconds -- 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