Skip to content

Instantly share code, notes, and snippets.

@neomatrix369
Created July 15, 2013 22:18
Show Gist options
  • Select an option

  • Save neomatrix369/6004008 to your computer and use it in GitHub Desktop.

Select an option

Save neomatrix369/6004008 to your computer and use it in GitHub Desktop.
Building MutabilityDetector4FIndBugs using JDK 1.8.0-ea
$ mvn clean package
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.mutabilitydetector:MutabilityDetector4FindBugs:jar:0.3-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-gpg-plugin is missing. @ line 88, column 15
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 70, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MutabilityDetector4FindBugs 0.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/mutabilitydetector/MutabilityDetector/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/mutabilitydetector/MutabilityDetector/0.10-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/mockito/mockito-core/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/mockito/mockito-core/maven-metadata.xml
Downloaded: http://repo.maven.apache.org/maven2/org/mockito/mockito-core/maven-metadata.xml (859 B at 6.4 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ MutabilityDetector4FindBugs ---
[INFO] Deleting file set: /home/saiubuntu/git-repos/MutabilityDetector4FindBugs/target (included: [**], excluded: [])
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ MutabilityDetector4FindBugs ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.8:add-test-source (default) @ MutabilityDetector4FindBugs ---
[INFO] Test Source directory: /home/saiubuntu/git-repos/MutabilityDetector4FindBugs/src/test/benchmarks added.
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ MutabilityDetector4FindBugs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ MutabilityDetector4FindBugs ---
[INFO] Compiling 4 source files to /home/saiubuntu/git-repos/MutabilityDetector4FindBugs/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ MutabilityDetector4FindBugs ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/saiubuntu/git-repos/MutabilityDetector4FindBugs/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ MutabilityDetector4FindBugs ---
[INFO] Compiling 19 source files to /home/saiubuntu/git-repos/MutabilityDetector4FindBugs/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ MutabilityDetector4FindBugs ---
[INFO] Surefire report directory: /home/saiubuntu/git-repos/MutabilityDetector4FindBugs/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.mutabilitydetector.findbugs.MutabilityDetectorTest
Registered plugin detector [MutabilityDetectorFindBugsPlugin]
Tests run: 6, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.303 sec <<< FAILURE!
Results :
Tests in error:
correctWarningTypeIsRegistered(org.mutabilitydetector.findbugs.MutabilityDetectorTest): correctWarningTypeIsRegistered(expectedBugs[1])
noWarningIsRegisteredForActuallyImmutableClasses(org.mutabilitydetector.findbugs.MutabilityDetectorTest): noWarningIsRegisteredForActuallyImmutableClasses(expectedNotToBeReportedAsBugs[1])
Tests run: 6, Failures: 0, Errors: 2, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.679s
[INFO] Finished at: Mon Jul 15 23:17:16 BST 2013
[INFO] Final Memory: 25M/205M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project MutabilityDetector4FindBugs: There are test failures.
[ERROR]
[ERROR] Please refer to /home/saiubuntu/git-repos/MutabilityDetector4FindBugs/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment