Is anyone using the tomcat plugin for deployment? I'm struggingling a
little bit.
Currently, I'm running Tomcat 4.X and seeing this error repeatedly:
E:\work\release_engineering\exportUpdater>mvn tomcat:undeploy
Error reading settings.xml: parser must be on START_TAG or TEXT to read
text (position: START_TAG seen ...<properties>\r\n<server><id>...
@58:13)
Line: 58
Column: 13
I noticed that by default, the context was http://localhost:8080/manager
and that 4.1 seems to be using http://localhost:8080/manager/html so I
added the following configuration block:
<build>
<finalName>exportUpdater</finalName>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<configuration>
<url>http://localhost:8080/manager/html</url>
<server>myserver</server>
</configuration>
</plugin>
</plugins>
</build>
And also added:
<profile>
<id>base-utils</id>
<properties>
<server>
<id>myserver</id>
<username>manager</username>
<password>manager</password>
</server>
<assembler.standalone>true</assembler.standalone>
....
to my settings.xml file. Any suggestions? This is getting very
frustrating....