[ http://jira.codehaus.org/browse/MOJO-390?page=comments#action_64950 ] 

Christoffer Hammarström commented on MOJO-390:
----------------------------------------------

Thanks for the tip!

I put this in my settings.xml:
        <profile>
            <id>tomcat</id>
            <properties>
                
<tomcat.manager.url>http://localhost:80/manager</tomcat.manager.url>
            </properties>
        </profile>

And this in my pom.xml:
          <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>tomcat-maven-plugin</artifactId>
              <version>1.0-SNAPSHOT</version>
              <configuration>
                  <server>localtomcat</server>
                  <url>${tomcat.manager.url}</url>
              </configuration>
          </plugin>

And now i can set the url in settings.xml. Thanks.


> It would be nice to be able to specify url in settings.xml
> ----------------------------------------------------------
>
>          Key: MOJO-390
>          URL: http://jira.codehaus.org/browse/MOJO-390
>      Project: Mojo
>         Type: Improvement

>   Components: tomcat
>     Reporter: Christoffer Hammarström
>     Priority: Minor

>
>
> I have my tomcat running at localhost:8080, while my coworker is running it 
> at localhost:80. Would be nice not to have to change the pom.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to