[
https://issues.apache.org/jira/browse/MTOMCAT-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811064#comment-13811064
]
Hudson commented on MTOMCAT-217:
--------------------------------
UNSTABLE: Integrated in TomcatMavenPlugin-mvn3.x #260 (See
[https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/260/])
[MTOMCAT-217] configure a pre define http port for standalone jar (olamy:
http://svn.apache.org/viewvc/?view=rev&rev=1537827)
*
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
*
/tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7Runner.java
*
/tomcat/maven-plugin/trunk/tomcat7-war-runner/src/main/java/org/apache/tomcat/maven/runner/Tomcat7RunnerCli.java
> configure a pre define http port for standalone jar
> ---------------------------------------------------
>
> Key: MTOMCAT-217
> URL: https://issues.apache.org/jira/browse/MTOMCAT-217
> Project: Apache Tomcat Maven Plugin
> Issue Type: New Feature
> Components: tomcat7
> Affects Versions: 2.0-beta-1, 2.1
> Environment: Windows7, maven2.2.1, JDK-Oracle 7.0_u15
> Reporter: Petr Novak
> Assignee: Olivier Lamy (*$^¨%`£)
> Fix For: 2.2
>
>
> I use maven-tomcat-plugin to create war-exec.jar with following definition:
> <plugin>
> <groupId>org.apache.tomcat.maven</groupId>
> <artifactId>tomcat7-maven-plugin</artifactId>
> <version>2.2-SNAPSHOT</version>
> <configuration>
> <serverXml>src/main/tomcat/server.xml</serverXml>
> </configuration>
> <executions>
> <execution>
> <id>create-exec-war</id>
> <goals>
> <goal>exec-war-only</goal>
> </goals>
> <phase>package</phase>
> </execution>
> </executions>
> </plugin>
> But when the server.xml is specified - to configure some defaults for server
> like NIO, etc. than the CLI parameters are ignored:
> java -jar war-exec.jar -httpPort 8888
> does not change the the server port.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]