I cant issue *mvn jetty:run* command because I have not installed jetty
plugin

I am trying to install jetty plugin using following command

mvn plugin:download   -Dmaven.repo.remote=
http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
-DgroupId=maven   -DartifactId=maven-jetty-plugin   -Dversion=1.1
(above command taken from
http://maven.apache.org/maven-1.x/plugins/jetty/announcements/announcement-1.1.txt
)

but encountered by following error

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Required goal not found: plugin:download in
org.apache.maven.plugins:maven-plugin-plugin:2.4.3
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Required goal not found:
plugin:download in org.apache.maven.plugins:maven-plugin-plugin:2.4.3
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1867)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
 at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
 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 Feb 16 21:16:03 PKT 2011
[INFO] Final Memory: 2M/15M
[INFO]
------------------------------------------------------------------------
while when I run mvn jetty:run I facing following error

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Feb 16 21:17:53 PKT 2011
[INFO] Final Memory: 2M/15M
[INFO]
------------------------------------------------------------------------

On Wed, Feb 16, 2011 at 9:02 PM, James Carman <ja...@carmanconsulting.com>wrote:

> If you're using a Quickstart-generated Wicket project, it's already
> set up for you.  Just type mvn jetty:run.
>
>
> On Wed, Feb 16, 2011 at 10:59 AM, Mr Jehan <jeeha...@gmail.com> wrote:
> > You mean jetty plugin for Tomcat or maven
> > I want to download it from
> > http://maven.apache.org/maven-1.x/plugins/jetty/downloads.html
> > but all mirror links are down.
> >
> > please help
> >
> >
> >
> > On Wed, Feb 16, 2011 at 6:44 PM, James Carman <
> ja...@carmanconsulting.com>wrote:
> >
> >> On Wed, Feb 16, 2011 at 4:07 AM, Ernesto Reinaldo Barreiro
> >> <reier...@gmail.com> wrote:
> >> > mvn jetty:run?
> >> >
> >>
> >> Yes, mvn install doesn't run anything.  It just puts the jars into
> >> your local maven repository.  You need to run the jetty plugin.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to