[ 
https://jira.codehaus.org/browse/MAPPASM-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292502#comment-292502
 ] 

Karl Heinz Marbaise commented on MAPPASM-143:
---------------------------------------------

The problem is caused by using a SNAPSHOT dependency which is not in the 
repository. The simplest solution will be to change that to an integration test.
                
> Why does the unit test fail with a new release?
> -----------------------------------------------
>
>                 Key: MAPPASM-143
>                 URL: https://jira.codehaus.org/browse/MAPPASM-143
>             Project: Mojo AppAssembler Plugin
>          Issue Type: Task
>    Affects Versions: 1.2
>            Reporter: Karl Heinz Marbaise
>            Priority: Critical
>
> {code}
> [INFO] Surefire report directory: 
> /home/build/.jenkins/jobs/appassembler-plugin/workspace/appassembler-maven-plugin/target/surefire-reports
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.codehaus.mojo.appassembler.AssembleMojoTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
> Running org.codehaus.mojo.appassembler.daemon.script.PlatformTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
> Running 
> org.codehaus.mojo.appassembler.daemon.script.ScriptGeneratorBaseDirRepoTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.213 sec
> Running org.codehaus.mojo.appassembler.daemon.script.ScriptGeneratorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
> Running org.codehaus.mojo.appassembler.daemon.booter.ShellDaemonGeneratorTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.664 sec
> Running 
> org.codehaus.mojo.appassembler.daemon.jsw.JavaServiceWrapperDaemonGeneratorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.266 sec
> Running 
> org.codehaus.mojo.appassembler.daemon.generic.GenericDaemonGeneratorTest
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.079 sec <<< 
> FAILURE!
> Running org.codehaus.mojo.appassembler.daemon.DaemonGeneratorServiceTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec
> Running org.codehaus.mojo.appassembler.util.FormattedPropertiesTest
> Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
> Results :
> Tests in error: 
>   
> testGenerationWithSnapshotDependencies(org.codehaus.mojo.appassembler.daemon.generic.GenericDaemonGeneratorTest):
>  Missing:
> Tests run: 31, Failures: 0, Errors: 1, Skipped: 0
> [ERROR] There are test failures.
> Please refer to 
> /home/build/.jenkins/jobs/appassembler-plugin/workspace/appassembler-maven-plugin/target/surefire-reports
>  for the individual test results.
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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


Reply via email to