You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Steve Cohen (JIRA)" <ji...@apache.org> on 2011/09/15 15:25:09 UTC
[jira] [Created] (MTOMCAT-98) configuration not working on
tomcat:run
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
[jira] [Closed] (MTOMCAT-98) configuration not working on
tomcat:run
Posted by "Olivier Lamy (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MTOMCAT-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MTOMCAT-98.
-------------------------------
Resolution: Cannot Reproduce
Assignee: Olivier Lamy
note you must now use tomcat6/tomcat7 mojos.
> configuration not working on tomcat:run
> ---------------------------------------
>
> Key: MTOMCAT-98
> URL: https://issues.apache.org/jira/browse/MTOMCAT-98
> Project: Apache Tomcat Maven Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Steve Cohen
> Assignee: Olivier Lamy
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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