Curious looks like my test tars/zips didn’t get committed.

Let me do that.

> On May 26, 2018, at 10:46 AM, Gary Gregory <garydgreg...@gmail.com> wrote:
> 
> Hi Rob and All,
> 
> When I run 'mvn clean install site -Danimal.sniffer.skip', I get unit test
> failures:
> 
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running
> org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojoTest
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
> [WARNING] commons.distSvnStagingUrl is not set, the commons-release-plugin
> will not run.
> [INFO] Detaching Assemblies
> [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 3.886 s <<< FAILURE! - in
> org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojoTest
> [ERROR]
> testSuccess(org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojoTest)
> Time elapsed: 0.052 s  <<< ERROR!
> org.apache.maven.plugin.MojoExecutionException: Could not find artifact
> signature for: mockAttachedTar-null type: tar.gz
>        at
> org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojoTest.testSuccess(CommonsDistributionDetachmentMojoTest.java:67)
> Caused by: java.io.FileNotFoundException:
> src\test\resources\mojos\detach-distributions\target\mockAttachedTar-src.tar.gz
> (The system cannot find the file specified)
>        at
> org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojoTest.testSuccess(CommonsDistributionDetachmentMojoTest.java:67)
> 
> [INFO] Running
> org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojoTest
> [INFO] This module is marked as a non distribution or assembly module, and
> the plugin will not run.
> [INFO] Detaching Assemblies
> [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 0.017 s <<< FAILURE! - in
> org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojoTest
> [ERROR]
> testSuccess(org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojoTest)
> Time elapsed: 0.005 s  <<< ERROR!
> org.apache.maven.plugin.MojoExecutionException: Could not find artifact
> signature for: mockAttachedTar-null type: tar.gz
>        at
> org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojoTest.testSuccess(CommonsDistributionStagingMojoTest.java:74)
> Caused by: java.io.FileNotFoundException:
> src\test\resources\mojos\detach-distributions\target\mockAttachedTar-src.tar.gz
> (The system cannot find the file specified)
>        at
> org.apache.commons.release.plugin.mojos.CommonsDistributionStagingMojoTest.testSuccess(CommonsDistributionStagingMojoTest.java:74)
> 
> [INFO] Running
> org.apache.commons.release.plugin.mojos.CommonsSiteCompressionMojoTest
> [ERROR] "mvn site" was not run before this goal, or a siteDirectory did not
> exist.
> [INFO] Current project contains no distributions. Not executing.
> [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 0.014 s - in
> org.apache.commons.release.plugin.mojos.CommonsSiteCompressionMojoTest
> [INFO] Running
> org.apache.commons.release.plugin.velocity.HeaderHtmlVelocityDelegateTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 0.009 s - in
> org.apache.commons.release.plugin.velocity.HeaderHtmlVelocityDelegateTest
> [INFO] Running
> org.apache.commons.release.plugin.velocity.ReadmeHtmlVelocityDelegateTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 0.004 s - in
> org.apache.commons.release.plugin.velocity.ReadmeHtmlVelocityDelegateTest
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR]   CommonsDistributionDetachmentMojoTest.testSuccess:67 »
> MojoExecution Could not...
> [ERROR]   CommonsDistributionStagingMojoTest.testSuccess:74 » MojoExecution
> Could not fi...
> [INFO]
> [ERROR] Tests run: 9, Failures: 0, Errors: 2, Skipped: 0
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 19.574 s
> [INFO] Finished at: 2018-05-26T08:35:04-06:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test)
> on project commons-release-plugin: There are test failures.
> 
> Any ideas on how to fix that?
> 
> Gary


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to