DefaultArchetypeArtifactManager not handling slashes correctly --------------------------------------------------------------
Key: ARCHETYPE-164 URL: http://jira.codehaus.org/browse/ARCHETYPE-164 Project: Maven Archetype Issue Type: Bug Components: Creator, Generator Affects Versions: 2.0-alpha-2 Environment: Maven 2.0.8, Windows XP Reporter: Zach Mabe Attachments: simple-ws-service-archetype-0.0.2-SNAPSHOT.jar, simple-ws-service-archetype-0.0.2-SNAPSHOT.pom Within the method getFilesetArchetypeResources, the following command is not working as the name of the zipfile entry is "archetype-resources\src\main\java\faults\ExceptionInformation.java" String resource = StringUtils.replace ( entry.getName (), Constants.ARCHETYPE_RESOURCES + "/", "" ); The archetype was created with the create-from-project command. I've attached the offending archetype. Note: if I package the archetype as a jar instead of a maven-archetype, this isn't problem. That's why I've selected Creator and Generator as affected components as I am not sure why/how the path seperator is set in the jar file. -- 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