[ 
https://jira.codehaus.org/browse/ARCHETYPE-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=300455#comment-300455
 ] 

Graham Leggett commented on ARCHETYPE-321:
------------------------------------------

FWIW, same problem here. 2.0-alpha-4 works, 2.0-alpha-5, 2.1 and 2.2 fail as 
per the reported exception.

                
> [regression] create-from-project results in FileNotFoundException
> -----------------------------------------------------------------
>
>                 Key: ARCHETYPE-321
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-321
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Creator
>    Affects Versions: 2.0-alpha-5
>         Environment: apache-maven-3.0-beta-1, OS X, Java 1.6
>            Reporter: John Casey
>
> Using a clean project directory (mvn clean), I called:
> {code}
> mvn clean archetype:create-from-project -e
> {code}
> {noformat}
> /target/generated-sources/archetype/src/main/resources/archetype-resources/pom.xml
>  (No such file or directory)
>         at 
> org.apache.maven.archetype.mojos.CreateArchetypeFromProjectMojo.execute(CreateArchetypeFromProjectMojo.java:206)
>         at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
>         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133)
> {noformat}
> I checked, and the directory 
> target/generated-sources/archetype/src/main/resources/ does exist, but the 
> archetype-resources directory is missing.
> NOTE: When I run the same command with the previous version:
> {code}
> mvn clean 
> org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:create-from-project
>  -e
> {code}
> everything works fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to