Can you try "mvn -U" to make sure you have the latest archetype plugin.
On Sep 17, 2008, at 2:29 AM, agathon <[EMAIL PROTECTED]> wrote:
hello matt, i tried to install appfuse from the ms powershell and i
get this
strage error:
PS C:\Users\nilsen\myapp> mvn archetype:create
-DarchetypeGroupId=org.appfuse.archetypes -
DarchetypeArtifactId=appfuse-b
asic-spring -DremoteRepositories=http://static.appfuse.org/releases
-DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app
-DartifactId=myproject -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
---
---------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
---
---------------------------------------------------------------------
[INFO] Invalid task '.appfuse.archetypes': you must specify a valid
lifecycle phase, or a goal in the format plugin:goal
or pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO]
---
---------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Invalid task
'.appfuse.archetypes':
you must specify a valid lifecycle phase, or
a goal in the format plugin:goal or
pluginGroupId:pluginArtifactId:pluginVersion:goal
at
org.
apache.
maven.
lifecycle.
DefaultLifecycleExecutor.
getMojoDescriptor(DefaultLifecycleExecutor.java:1521)
at
org.
apache.
maven.
lifecycle.
DefaultLifecycleExecutor.
segmentTaskListByAggregationNeeds(DefaultLifecycleExecuto
r.java:405)
at
org.
apache.
maven.
lifecycle.
DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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:597)
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)
[INFO]
---
---------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Sep 17 10:25:20 CEST 2008
[INFO] Final Memory: 2M/4M
[INFO]
---
---------------------------------------------------------------------
--
View this message in context:
http://www.nabble.com/Solutions%3A-AppFuse-automatic-build-with-eclipse-%2B-model-generator-tp19518635s2369p19527513.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]