|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Remote deploy on tomcat6 with hudson/maven2Hi,
I am trying to get a ROOT.war deployed to remote tomcat 6 instance. Here is the project structure svnrepo | -- parent-project/trunk/pom.xml -- project-a/trunk/pom.xml Parent project pom contains cargo maven2 plugin and its configuration. For some odd reason the WAR name that gets deployed is neither the artifactId of the project-a nor is it the build/finalname of project-a. It seems like its a word which occurs in one of the dependencies of project-a!! Also, no matter what I put in the properties/context it always takes the name of the war as the context. It is a mystery to me on how cargo is setting the war filename. Any help will be appreciated. Here is the config for cargo plugin <plugin> <inherited>true</inherited> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.0</version> <executions> <execution> <id>verify-deploy</id> <phase>install</phase> <goals> <goal>deployer-redeploy</goal> </goals> </execution> </executions> <configuration> <!-- Container Configuration --> <container> <containerId>tomcat6x</containerId> <type>remote</type> </container> <!-- Configuration to use with the container --> <configuration> <type>runtime</type> <properties> <cargo.tomcat.manager.url>http://${remote.tomcat.host}:${remote.tomcat.port}/manager </cargo.tomcat.manager.url> <cargo.remote.username>username</cargo.remote.username> <cargo.remote.password>password</cargo.remote.password> </properties> </configuration> <!-- Deployer and Deployables configuration --> <deployer> <type>remote</type> <deployables> <deployable> <type>war</type> <groupId>${pom.groupId}</groupId> <artifactId>${pom.artifactId}</artifactId> <properties> <context>abc</context> </properties> </deployable> </deployables> </deployer> </configuration> </plugin> |
| Free embeddable forum powered by Nabble | Forum Help |