Details
-
Type:
Task
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0.2
-
Component/s: Documentation
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
The configFiles option is not documented anywhere on the website, this should be documented and provide an example on how to use it.
Issue Links
- is related to
-
CARGO-214
Adding support for custom container config files
-
-
CARGO-300
Add support for customizing files in archives and directories
-
-
CARGO-556
Jetty6x- Allow configuration of all parameters that maven-jetty-plugin allows e.g. overrideWebXml
-
-
CARGO-861
Cargo Jetty should support external jetty-env.xml file
-
The configfile option seems only to work with jboss container configuration.
working example:
... <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.0</version> <configuration> <wait>false</wait> <container> <containerId>jboss5x</containerId> <zipUrlInstaller> <url>file:///d:/java/jboss-5.0.0.GA.zip</url> <installDir>${project.build.directory}</installDir> </zipUrlInstaller> </container> <configuration> <type>standalone</type> <home>${project.build.directory}/jboss-5.0.0.GA/server/sample-domain</home> <properties> <cargo.jboss.configuration>default</cargo.jboss.configuration> </properties> <configfiles> <configfile> <file>${basedir}/src/main/jboss5/login-config.xml</file> <todir>conf</todir> </configfile> <configfile> <file>${basedir}/src/main/jboss5/sample-roles.properties</file> <todir>conf/props</todir> </configfile> <configfile> <file>${basedir}/src/main/jboss5/sample-users.properties</file> <todir>conf/props</todir> </configfile> </configfiles> </configuration> </configuration> </plugin> ...