[
https://issues.apache.org/jira/browse/ARCHETYPE-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed ARCHETYPE-321.
------------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> [regression] create-from-project results in FileNotFoundException
> -----------------------------------------------------------------
>
> Key: ARCHETYPE-321
> URL: https://issues.apache.org/jira/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 was sent by Atlassian JIRA
(v6.3.4#6332)