configuration not working on tomcat:run
---------------------------------------

                 Key: MTOMCAT-98
                 URL: https://issues.apache.org/jira/browse/MTOMCAT-98
             Project: Maven 2.x Tomcat Plugin
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: Steve Cohen


Given this configuration:
        <plugin>
            <groupId>org.apache.tomcat.maven</groupId>
            <artifactId>tomcat-maven-plugin</artifactId>
            <version>2.0-SNAPSHOT</version>
            <configuration>
                <port>9999</port>
                <path>/cxf</path>
            </configuration>
        </plugin>
and a project basedir of resttest2

mvn tomcat:run produces:
[INFO] Running war on http://localhost:8080/resttest2

i.e. both the specified port and the path are ignored.

This was not the case in version 1.0:
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>tomcat-maven-plugin</artifactId>
            <version>1.0-beta-1</version>
            <configuration>
                <port>9999</port>
                <path>/cxf</path>
            </configuration>
        </plugin>
 produces 
[INFO] Running war on http://localhost:9999/cxf as expected.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to