The jetty maven plugin does not use the same start mechanism as jetty standalone, so there's no direct equivalent of OPTIONS.
You can see which jars are on the plugin's classpath (which is equivalent to the container's classpath set up by the OPTIONS) by doing "mvn -X jetty:run". Here's an example: [DEBUG] (s) pluginArtifacts = [org.mortbay.jetty:jetty-maven-plugin:maven-plugin:8.1.8-SNAPSHOT:, org.mortbay.jetty:jetty-atomikos:jar:8.1.8-SNAPSHOT:runtime, com.atomikos:transactions:jar:3.7.0:runtime, com.atomikos:transactions-api:jar:3.7.0:runtime, com.atomikos:atomikos-util:jar:3.7.0:runtime, com.atomikos:transactions-jdbc:jar:3.7.0:runtime, com.atomikos:transactions-jta:jar:3.7.0:runtime, org.apache.derby:derby:jar:10.6.1.0:runtime, org.apache.derby:derbytools:jar:10.6.1.0:runtime, org.eclipse.jetty:jetty-util:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty:jetty-webapp:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty:jetty-xml:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty:jetty-servlet:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty:jetty-security:jar:8.1.8-SNAPSHOT:compile, org.sonatype.sisu:sisu-inject-bean:jar:2.1.1:compile, org.sonatype.sisu:sisu-guice:jar:no_aop:2.9.4:compile, org.codehaus.plexus:plexus-utils:jar:2.0.6:compile, org.sonatype.aether:aether-util:jar:1.11:compile, org.codehaus.plexus:plexus-interpolation:jar:1.14:compile, org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile, org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile, org.sonatype.plexus:plexus-cipher:jar:1.4:compile, org.apache.maven.plugin-tools:maven-plugin-tools-api:jar:2.9:compile, org.apache.maven.reporting:maven-reporting-api:jar:2.0.6:compile, org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7:compile, junit:junit:jar:3.8.1:compile, net.sf.jtidy:jtidy:jar:r938:compile, org.eclipse.jetty:jetty-plus:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty.orbit:javax.transaction:jar:1.1.1.v201105210645:compile, org.eclipse.jetty:jetty-jndi:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty:jetty-server:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016:compile, org.eclipse.jetty:jetty-continuation:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty.orbit:javax.mail.glassfish:jar:1.4.1.v201005082020:compile, org.eclipse.jetty.orbit:javax.activation:jar:1.1.0.v201105071233:compile, org.eclipse.jetty:jetty-jmx:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty:jetty-annotations:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty.orbit:javax.annotation:jar:1.1.0.v201108011116:compile, org.eclipse.jetty.orbit:org.objectweb.asm:jar:3.1.0.v200803061910:compile, org.eclipse.jetty:jetty-websocket:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty:jetty-io:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty:jetty-http:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty:jetty-jsp:jar:8.1.8-SNAPSHOT:compile, org.eclipse.jetty.orbit:javax.servlet.jsp:jar:2.2.0.v201112011158:compile, org.eclipse.jetty.orbit:org.apache.jasper.glassfish:jar:2.2.2.v201112011158:compile, org.eclipse.jetty.orbit:javax.servlet.jsp.jstl:jar:1.2.0.v201105211821:compile, org.eclipse.jetty.orbit:org.apache.taglibs.standard.glassfish:jar:1.2.0.v201112081803:compile, org.eclipse.jetty.orbit:javax.el:jar:2.2.0.v201108011116:compile, org.eclipse.jetty.orbit:com.sun.el:jar:2.2.0.v201108011116:compile, org.eclipse.jetty.orbit:org.eclipse.jdt.core:jar:3.7.1:compile] If it helps your understanding, you can kind of think of this as OPTIONS=Server,jsp,jmx,resources,websocket,plus,annotations,jta,jdbc Jan On 17 September 2012 09:05, "Gerrit Hübbers" <[email protected]> wrote: > When starting up a Jetty server with Jetty Maven Plugin's "mvn > jetty:run" command, which Jetty Jars are put on the classpath? I'm > looking for a list such as > "OPTIONS=Server,jsp,jmx,resources,websocket,ext,plus"... that is, I'm > looking for a list of start options as listed on this page: > http://wiki.eclipse.org/Jetty/Reference/Start_Options . > > Or can I assume that "OPTIONS=All" ? > > In case the Jetty Maven Plugin doesn't put all Jetty Jars on the > classpath, how can I let the Jetty Maven Plugin know which one I would > like to have? > > Thanks for your help! > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users -- Jan Bartel <[email protected]> www.webtide.com – Developer advice, services and support from the Jetty & CometD experts. _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
