You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2012/03/05 15:39:57 UTC

[jira] [Commented] (MTOMCAT-120) Support "skip" parameter

    [ https://issues.apache.org/jira/browse/MTOMCAT-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222371#comment-13222371 ] 

Hudson commented on MTOMCAT-120:
--------------------------------

Integrated in TomcatMavenPlugin-mvn3.x #113 (See [https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/113/])
    [MTOMCAT-120] Support "skip" parameter. (Revision 1295290)

     Result = FAILURE
olamy : http://svn.apache.org/viewvc/?view=rev&rev=1295290
Files : 
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
* /tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/ShutdownMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
* /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ShutdownMojo.java

                
> Support "skip" parameter
> ------------------------
>
>                 Key: MTOMCAT-120
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-120
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>          Components: tomcat7
>    Affects Versions: 2.0-beta-1
>         Environment: -
>            Reporter: Cédric Dutoit
>            Assignee: Olivier Lamy
>              Labels: maven
>             Fix For: 2.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Please support a "skip" parameter to tomcat-run, tomcat-shutdown, as does jetty project.
> For my project, I use SkipITs variable to ask failsafe plugin to not execute IT tests.
> I also want to avoid having Tomcat started, stopped if IT tests won't execute (skipITs=true).
> I have the following configuration:
> 				<plugins>
> 					<plugin>
> 						<groupId>org.apache.tomcat.maven</groupId>
> 						<artifactId>tomcat7-maven-plugin</artifactId>
> 						<version>2.0-SNAPSHOT</version>
> 						<configuration>
> 							<domain>TomcatRunner</domain>
> 							<!-- ... -->
> 						</configuration>
> 						<executions>
> 							<execution>
> 								<id>tomcat-run</id>
> 								<goals>
> 									<goal>run-war-only</goal>
> 								</goals>
> 								<phase>pre-integration-test</phase>
> 							</execution>
> 							<execution>
> 								<id>tomcat-shutdown</id>
> 								<goals>
> 									<goal>shutdown</goal>
> 								</goals>
> 								<phase>post-integration-test</phase>
> 							</execution>
> 						</executions>
> 					</plugin>
> I need a skip variable as to use the following execution configuration:
> <configuration><skip>${skipITs}</skip></configuration>
> Maybe a single variable + 
> if (skip)  {
>    log(...)
>    return;
> }
> ... in org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo
> (http://svn.apache.org/repos/asf/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java)
> would be enough.

--
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