We're updating the issue view to help you get more done. 

Jetty6x- Allow configuration of all parameters that maven-jetty-plugin allows e.g. overrideWebXml

Description

I can't use cargo for jetty because I need to configure a custom realm (org.mortbay.jetty.security.HashUserRealm), webAppSourceDirectory, overrideWebXml and contextPath.

I.e. I want to be able to do with cargo exactly what I can do with jetty:run - this is all in order to achieve automated integration testing.

My maven-jetty-plugin pom:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <configuration> <webAppSourceDirectory> WebContent </webAppSourceDirectory> <overrideWebXml> test/resources/override-web.xml </overrideWebXml> <contextPath>/TAMSWeb</contextPath> <scanIntervalSeconds>0</scanIntervalSeconds> <scanTargetPatterns> <scanTargetPattern> <directory>WebContent</directory> <includes> <include>**/*.xml</include> <include>**/*.properties</include> </includes> </scanTargetPattern> </scanTargetPatterns> <userRealms> <userRealm implementation="org.mortbay.jetty.security.HashUserRealm"> <!-- overrides websphere's default realm --> <name>default</name> <config> test/resources/jetty-user-realm.properties </config> </userRealm> </userRealms> <systemProperties> <property> <name>tams.environment</name> <value>local</value> </property> <property> <name>oracle.jdbc.J2EE13Compliant</name> <value>true</value> </property> <property> <name>oracle.jdbc.V8Compatible</name> <value>true</value> </property> </systemProperties> </configuration> </plugin>

Status

Assignee

Unassigned

Reporter

Antony Stubbs

Components

Fix versions

Affects versions

0.3.1-maven2

Priority

Major