Hi, Is it possible to configure the cargo plugin so that the tomcat admin pwd
is stored in encrypted format in settings.xml? With the following
configuration I get 401 error when connecting to tomcat while it works well
when configuring the password in unencrypted format in settings.xml.
pom.xml
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.3.3</version>
<configuration>
<container>
<containerId>tomcat7x</containerId>
<type>remote</type>
</container>
<deployer>
<type>remote</type>
</deployer>
<deployables>
<deployable>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<type>war</type>
<properties>
<context>${project.artifactId}</context>
</properties>
</deployable>
</deployables>
<configuration>
<type>runtime</type>
<properties>
<cargo.server.settings>${target.server.id}</cargo.server.settings>
</properties>
</configuration>
</configuration>
</plugin>
settings.xml
<server>
<id>target-dev</id>
<username>admin</username>
<password>{KTKfy/IkwE0HZ2LvBVqG838FQoYbHYGdtS4e7GrBBlI=}</password>
<configuration>
<knownHostsProvider
implementation="org.apache.maven.wagon.providers.ssh.knownhost.NullKnownHostProvider">
<hostKeyChecking>no</hostKeyChecking>
</knownHostsProvider>
<url>scp://demchdc148x.dc4ca.siemens.de/home/xidm/apps/SDsync</url>
<cargo.hostname>demchdc148x.dc4ca.siemens.de</cargo.hostname>
<cargo.remote.uri>http://demchdc148x.dc4ca.siemens.de:38090/manager/text</cargo.remote.uri>
<cargo.remote.username>xidm</cargo.remote.username>
<cargo.remote.password>*IDS-ind</cargo.remote.password>
<cargo.servlet.port>38090</cargo.servlet.port>
</configuration>
</server>
Thanks and br,
Elmar
--
View this message in context:
http://maven.40175.n5.nabble.com/cargo-does-not-work-with-encrypted-pwd-tp5754565.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]