use different configurations for different maven plugin goals -


i've seen maven plugins setting configurations tied goals. i'd tomcat7-maven-plugin. however, doesn't seem work; when run deploy it's defaulting localhost. plugin not accept different configs or doing wrong?

<plugin>     <groupid>org.apache.tomcat.maven</groupid>     <artifactid>tomcat7-maven-plugin</artifactid>     <version>2.2</version>     <executions>         <execution>             <id>deploy</id>             <goals>                 <goal>deploy</goal>                 <goal>redeploy</goal>             </goals>             <configuration>                 <url>${tomcat-manager-url}/manager/text</url>                 <username>${tomcat-manager-username}</username>                 <password>${tomcat-manager-password}</password>                 <path>/${project.artifactid}1</path>             </configuration>         </execution>         <execution>             <id>run</id>             <goals>                 <goal>run</goal>             </goals>             <configuration>                 <path>/</path>             </configuration>         </execution>     </executions> </plugin> 


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -