not able to create from project with sibling-dependencies test project ----------------------------------------------------------------------
Key: ARCHETYPE-105 URL: http://jira.codehaus.org/browse/ARCHETYPE-105 Project: Maven Archetype Issue Type: Bug Affects Versions: NG-1.0-alpha-1 Reporter: Brian Fox Fix For: NG-1.0-alpha-1 I'm getting the following error with r576630 trying to create a new archetype from the sibling-dependencies test project. The file it is trying to find does not exist and I have no idea why it thinks it should...there is not even a src folder in that project. {noformat} E:\svn\Maven\maven-sandbox\archetypeng\archetype-plugin\src\test\projects\sibling-dependency>mvn archetype:create-from-project -N -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ---------------------------------------------------------------------------- [INFO] Building Maven ArchetypeNG - Test - Sibling Dependencies [INFO] task-segment: [archetype:create-from-project] [INFO] ---------------------------------------------------------------------------- [INFO] [archetype:create-from-project] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot create archetype from this project. Embedded error: E:\svn\Maven\maven-sandbox\archetypeng\archetype-plugin\src\test\projects\sibling-dependency\src\main\archetype\arch etype.properties (The system cannot find the path specified) [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Cannot create archetype from this project. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot create archetype from this project. at org.apache.maven.plugin.archetype.CreateArchetypeFromProjectMojo.execute(CreateArchetypeFromProjectMojo.java:102) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more Caused by: java.io.FileNotFoundException: E:\svn\Maven\maven-sandbox\archetypeng\archetype-plugin\src\test\projects\sibling-dependen cy\src\main\archetype\archetype.properties (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.apache.maven.plugin.archetype.CreateArchetypeFromProjectMojo.execute(CreateArchetypeFromProjectMojo.java:94) ... 18 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Mon Sep 17 20:31:18 EDT 2007 [INFO] Final Memory: 3M/6M [INFO] ------------------------------------------------------------------------ {noformat} -- 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