You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/08/21 16:31:32 UTC

[jira] Commented: (ARCHETYPE-321) [regression] create-from-project results in FileNotFoundException

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

Herve Boutemy commented on ARCHETYPE-321:
-----------------------------------------

John,

Can you give a sample project causing such issue, please?
i don't understand your case

> [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.
For more information on JIRA, see: http://www.atlassian.com/software/jira