Ok, maybe I'm still struggling a bit.

So when I tweak a jsp, I run "mvn package tomcat:redeploy" but then I
don't see my changes.

Any suggestions? 

-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 07, 2007 12:58 PM
To: Maven Users List
Subject: RE: tomcat plugin questions

Ah HA - looks like I needed to move this out of a profile.

Sorry for the noise! 

-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 07, 2007 12:49 PM
To: Maven Users List
Subject: tomcat plugin questions

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....

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to