[regression] create-from-project results in FileNotFoundException
-----------------------------------------------------------------

                 Key: ARCHETYPE-321
                 URL: http://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 contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to