Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-321

[regression] create-from-project results in FileNotFoundException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: 2.0-alpha-5
    • Fix Version/s: None
    • Component/s: Creator
    • Labels:
      None
    • Environment:
      apache-maven-3.0-beta-1, OS X, Java 1.6

      Description

      Using a clean project directory (mvn clean), I called:

      mvn clean archetype:create-from-project -e
      
      /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)
      

      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:

      mvn clean org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:create-from-project -e
      

      everything works fine.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jdcasey John Dennis Casey
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: