An error occurred during MAVEN's debug jetty:
[Plain] view plaincopyprint?
[ERROR] No plugin found for prefix ' jetty ' in the current project and the PLU
Gin groups [Org.apache.maven.plugins, Org.codehaus.mojo] available from the repo
sitories [Local (C:\Documents and settings\administrator\.m2\repository), Centra
L (HTTP://REPO.MAVEN.APACHE.ORG/MAVEN2)]-[Help 1]
[ERROR]
[ERROR] The full stack trace of the errors, re-run Maven with The-e Swit
Details are as follows:
[Plain] view plaincopyprint?
C:\MYJAVA\WORKSPACE>MVN Jetty:run
[INFO] Scanning for projects ...
[WARNING] Failed to retrieve plugin descriptor for Org.apache.maven.plugins:mave
N-deploy-plugin:2.7:failed to parse plugin descriptor for Org.apache.maven.plug
ins:maven-deploy-plugin:2.7 (C:\Documents and Settings\administrator\.m2\reposit
Ory\org\apache\maven\plugins\maven-deploy-plugin\2.7\maven-deploy-plugin-2.7.jar
): Invalid LOC header (bad signature)
[WARNING] Failed to retrieve plugin descriptor for Org.apache.maven.plugins:mave
N-site-plugin:3.0:failed to parse plugin descriptor for Org.apache.maven.plugin
s:maven-site-plugin:3.0 (C:\Documents and Settings\administrator\.m2\repository\
Org\apache\maven\plugins\maven-site-plugin\3.0\maven-site-plugin-3.0.jar): inval
ID LOC Header (bad signature)
downloading:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
Metadata.xml
Downloading:http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadat
A.xml
Downloaded:http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-m
Etadata.xml (one KB at 10.7 kb/sec)
Downloaded:http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata
. XML (at 18.2 kb/sec)
[INFO]------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]------------------------------------------------------------------------
[INFO] Total time:2.110s
[INFO] Finished At:sun Mar 17:31:20 CST 2013
[INFO] Final memory:4m/15m
[INFO]------------------------------------------------------------------------
[ERROR] No plugin found for prefix ' jetty ' in the current project and the PLU
Gin groups [Org.apache.maven.plugins, Org.codehaus.mojo] available from the repo
sitories [Local (C:\Documents and settings\administrator\.m2\repository), Centra
L (HTTP://REPO.MAVEN.APACHE.ORG/MAVEN2)]-[Help 1]
[ERROR]
[ERROR] The full stack trace of the errors, re-run Maven with The-e Swit
Settings.xml no configuration plug-in should be required
[SQL] view plaincopyprint?
MVN Org.mortbay.jetty:maven-jetty-plugin:run
this to run.
If you need to use Jetty:run, you must configure it under Maven Setting.xml
[Plain] view plaincopyprint?
<pluginGroups>
<pluginGroup>org.mortbay.jetty</pluginGroup>
</pluginGroups>
Or add a configuration under Plugins node in the pom.xml of the corresponding project
[SQL] view plaincopyprint?
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<webApp>
<contextPath>/</contextPath>
</webApp>
<stopKey>webx</stopKey>
<stopPort>9999</stopPort>
<connectors>
<connector implementation= "Org.eclipse.jetty.server.nio.SelectChannelConnector" >
<port>8081</port>
<maxIdleTime>60000</maxIdleTime>
</connector>
</connectors>
<requestlog implementation= "Org.eclipse.jetty.server.NCSARequestLog" >
<filename>target/access.log</filename>
<retainDays>90</retainDays>
<append>false</append>
<extended>false</extended>
<logTimeZone>GMT+8:00</logTimeZone>
</requestLog>
<systemProperties>
<systemProperty>
<name>productionMode</name>
<value>${productionMode}</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
Error collation: No plugin found for prefix ' jetty ' in the ....