I am trying to deploy a war on tomcat8 using a cargo plugin. My entry is as follows:
<plugins> <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.4.8</version> <configuration> <container> <containerId>tomcat8x</containerId> <type>remote</type> </container> <configuration> <type>runtime</type> <properties> <cargo.remote.username>tomcat</cargo.remote.username> <cargo.remote.password>s3cret</cargo.remote.password> <cargo.tomcat.manager.url>http://localhost:1234/manager/text</cargo.tomcat.manager.url> </properties> </configuration> <deployables> <deployable> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <type>war</type> <properties> <context>/auditAPP</context> </properties> </deployable> </deployables> </configuration> </plugin> </plugins>
when i try to run this using mvn load: expand it giving me the following error
Failed to execute target org.codehaus.cargo: load-maven2-plugin: 1.4.8: deploy (default-cli) in project Audit_Management_DS: Run default-cli target org.codehaus.cargo: load-maven2-plugin: 1.4.8 : Deployment failed: Cannot create configuration. There is no registered parameter configuration (container [id = [tomcat8x], type = [remote]], configuration type [runtime]). There are actually no valid types for this configuration. Maybe you made a mistake writing this? → [Help 1]
source share