> Is it possible to reference a different tomcat location using your
> plug-in but setting up the server location within the Maven
> settings.xml server section? We have many different developers in my
> shop, and we all run our own local tomcat instances, and not all of us
> use port 8080. We were hoping to have only 1 POM entry and then each
> of us set up our settings.xml file differently, specifying where our
> local tomcat instance is.
> 
> I tried things like the following, but the url I enter in the
> settings.xml file seems to be ignored.
> 
> Here is what I setup in my project POM...
> 
> <plugin>
>       <groupId>org.codehaus.mojo</groupId>
>       <artifactId>tomcat-maven-plugin</artifactId>
>       <version>1.0-SNAPSHOT</version>
>       <configuration>
>               <server>tempTest</server>
>       </configuration>
> </plugin>
> 
> And in my Maven settings.xml file I have the following...
> 
> <server>
>       <id>tempTest</id>
>       <username>admin</username>
>       <password></password>
>       <configuration>
>               <url>http://localhost:8085/manager/</url>
>       </configuration>      
> </server>
> 
> Is this even possible, or is hard coding the url into the POM file the
> only way ?
> 
> Thanks for your help!
> 
> Chris
> 
> 
> 
> 

Reply via email to