You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by cupdike <Cl...@jhuapl.edu> on 2007/10/15 16:35:14 UTC
Invalid task 'org.apache.wicket' running quickstart with maven
I'm trying to follow along here: http://wicket.apache.org/quickstart.html but
I get the error below. I'm new to maven and wicket, and searching this
error didn't help, so no doubt I'm doing something dumb/obvious. BTW, the
quickstart page suggests that replaceable items are in bold, but nothing is
showing in bold (perhaps I'm supposed to replace something else?):
C:\workspace>mvn -v
Maven version: 2.0.2
C:\workspace>mvn archetype:create -e
-DarchetypeGroupId=org.apache.wicket
-DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=1.3.0-beta3 -DgroupId=edu.jhuapl.its
d -DartifactId=WicketKewl2_mvn
+ 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 'org.apache.wicket': 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
'org.apache.wicket': you must specify a valid lifecycle phase, or a goal in
the format plugin:goal or pluginGroupId:pluginArtif
actId:pluginVersion:goal
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1476)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:378)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
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)
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Oct 15 10:28:35 EDT 2007
[INFO] Final Memory: 1M/3M
[INFO]
----------------------------------------------------------------------------
--
View this message in context: http://www.nabble.com/Invalid-task-%27org.apache.wicket%27-running-quickstart-with-maven-tf4627970.html#a13214173
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Invalid task 'org.apache.wicket' running quickstart with maven
Posted by cupdike <Cl...@jhuapl.edu>.
Case solved--I was trying to keep maven off my path by using an alias to the
mvn command. However, it obviously requires being on the path. Thanks for
the nice screencast.
-Clark
Martijn Dashorst wrote:
>
> Download maven 2.0.7 instead and look at the following screencast:
>
> http://herebebeasties.com/2007-10-07/wicket-quickstart/
>
> Martijn
>
--
View this message in context: http://www.nabble.com/Invalid-task-%27org.apache.wicket%27-running-quickstart-with-maven-tf4627970.html#a13214831
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Invalid task 'org.apache.wicket' running quickstart with maven
Posted by Martijn Dashorst <ma...@gmail.com>.
Download maven 2.0.7 instead and look at the following screencast:
http://herebebeasties.com/2007-10-07/wicket-quickstart/
Martijn
On 10/15/07, cupdike <Cl...@jhuapl.edu> wrote:
>
> I'm trying to follow along here: http://wicket.apache.org/quickstart.html but
> I get the error below. I'm new to maven and wicket, and searching this
> error didn't help, so no doubt I'm doing something dumb/obvious. BTW, the
> quickstart page suggests that replaceable items are in bold, but nothing is
> showing in bold (perhaps I'm supposed to replace something else?):
>
> C:\workspace>mvn -v
> Maven version: 2.0.2
>
> C:\workspace>mvn archetype:create -e
> -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart
> -DarchetypeVersion=1.3.0-beta3 -DgroupId=edu.jhuapl.its
> d -DartifactId=WicketKewl2_mvn
> + 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 'org.apache.wicket': 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
> 'org.apache.wicket': you must specify a valid lifecycle phase, or a goal in
> the format plugin:goal or pluginGroupId:pluginArtif
> actId:pluginVersion:goal
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1476)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:378)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134)
> at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
> 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)
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Mon Oct 15 10:28:35 EDT 2007
> [INFO] Final Memory: 1M/3M
> [INFO]
> ----------------------------------------------------------------------------
> --
> View this message in context: http://www.nabble.com/Invalid-task-%27org.apache.wicket%27-running-quickstart-with-maven-tf4627970.html#a13214173
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Invalid task 'org.apache.wicket' running quickstart with maven
Posted by cupdike <Cl...@jhuapl.edu>.
cupdike wrote:
>
> BTW, the quickstart page suggests that replaceable items are in bold, but
> nothing is showing in bold (perhaps I'm supposed to replace something
> else?):
>
My bad on the comment about nothing being bold in the code sample--my
browser font was so small that it didn't look bold until I increased the
font size... live and learn.
--
View this message in context: http://www.nabble.com/Invalid-task-%27org.apache.wicket%27-running-quickstart-with-maven-tf4627970.html#a13214211
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org