failsave plugin does not execute post-integrateion-test phase after timeout via
<forkedProcessTimeoutInSeconds>
---------------------------------------------------------------------------------------------------------------
Key: MOJO-1507
URL: http://jira.codehaus.org/browse/MOJO-1507
Project: Mojo
Issue Type: Bug
Components: failsafe
Affects Versions: failsafe-maven-plugin-2.5
Environment: maven3 alpha6
Reporter: Volkmar Nissen
Attachments: failsave.timout.example.zip
The failsave plugin does not execute post-integrateion-test phase after timeout
via <forkedProcessTimeoutInSeconds>
The attached example project contains
- a integration junit test which runs forever
- a pom.xml which has failsafe configured to fire a timeout after 3 seconds.
- In the pom.xml it's configured to execute the help:describe goal in the
post-integration-test phase in order to check whether the post-integration-test
phase has been triggered even in case of the timeout.
So, something like the following lines are expected in the output (but the
lines do not occure):
[INFO] --- maven-help-plugin:2.1:describe (post-integration-test) @
failsave.timeout.example ---
[INFO] 'install' is a phase corresponding to this plugin:
org.apache.maven.plugins:maven-install-plugin:install
It is a part of the lifecycle for the POM packaging 'jar'. This lifecycle
includes the following phases:
* validate: Not defined
* initialize: Not defined
* generate-sources: Not defined
* process-sources: Not defined
* generate-resources: Not defined
* process-resources: org.apache.maven.plugins:maven-resources-plugin:resources
* compile: org.apache.maven.plugins:maven-compiler-plugin:compile
* process-classes: Not defined
* generate-test-sources: Not defined
* process-test-sources: Not defined
* generate-test-resources: Not defined
* process-test-resources:
org.apache.maven.plugins:maven-resources-plugin:testResources
* test-compile: org.apache.maven.plugins:maven-compiler-plugin:testCompile
* process-test-classes: Not defined
* test: org.apache.maven.plugins:maven-surefire-plugin:test
* prepare-package: Not defined
* package: org.apache.maven.plugins:maven-jar-plugin:jar
* pre-integration-test: Not defined
* integration-test: Not defined
* post-integration-test: Not defined
* verify: Not defined
* install: org.apache.maven.plugins:maven-install-plugin:install
* deploy: org.apache.maven.plugins:maven-deploy-plugin:deploy
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @
failsave.timeout.example ---
[INFO] Installing
C:\hudson\workspacedemo\failsave.timout.example\target\failsave.timeout.example-0.0.1-SNAPSHOT.jar
to
C:\Users\D035406\.m2\repository\failsave\timeout\example\failsave.timeout.example\0.0.1-SNAPSHOT\failsave.timeout.example-0.0.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email