tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MTOMCAT-98) configuration not working on tomcat:run
Date Thu, 15 Sep 2011 13:25:09 GMT
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message