[
http://jira.codehaus.org/browse/MNG-3570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=134679#action_134679
]
Benjamin Bentmann commented on MNG-3570:
----------------------------------------
bq. http://mojo.codehaus.org/jetty-maven-plugin/usage.html
Says
{code:xml}
<groupId>org.codehaus.mojo</groupId>
<artifactId>jetty-maven-plugin</artifactId>
{code}
bq. http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin
Says
{code:xml}
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
{code}
Please note that the group id is never {{org.apache.maven.plugins}}. In case
you tried to invoke the plugin from the command line without a POM that
contains a configuration for the plugin, you need to add
{code:xml}
<pluginGroups>
<pluginGroup>org.mortbay.jetty</pluginGroup>
</pluginGroups>
{code}
into your {{settings.xml}} to make Maven search the Jetty group id when
resolving the plugin prefix "jetty".
{code}
bq. Which of these is correct
The later page is more recent (2008 vs. 2005) so you should try this first.
> Jetty plugin dodo is bad
> ------------------------
>
> Key: MNG-3570
> URL: http://jira.codehaus.org/browse/MNG-3570
> Project: Maven 2
> Issue Type: Bug
> Components: Documentation: General
> Reporter: Paul Hammant
>
> Which of these is correct -
> http://mojo.codehaus.org/jetty-maven-plugin/usage.html and
> http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin ?
> Both result in
> [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]
> ------------------------------------------------------------------------
> or thereabouts.
--
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