org.apache.maven.plugin.MojoFailureException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Obiba GenoByte Parent [INFO] Obiba Genobyte [INFO] Genobyte Infinium Module [INFO] ---------------------------------------------------------------------------- [INFO] Building Obiba GenoByte Parent [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] site:attach-descriptor [INFO] install:install [INFO] Installing C:\Users\muilu\workspace\genobyte\pom.xml to C:\Users\muilu\.m2\repository\org\obiba\genobyte\genobyte-parent\1.4.1-SNAPSHOT\genobyte-parent-1.4.1-SNAPSHOT.pom [INFO] ---------------------------------------------------------------------------- [INFO] BUILD SUCCESSFUL org.obiba.genobyte:genobyte-parent:pom:1.4.1-SNAPSHOT ( task-segment: [install] ) [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 3 second [INFO] Finished at: Sun Dec 30 18:36:51 EET 2007 [INFO] Memory 0M/10M [INFO] ---------------------------------------------------------------------------- [INFO] ---------------------------------------------------------------------------- [INFO] Building Obiba Genobyte [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] javacc:javacc [INFO] Nothing to process - all grammars are up to date [INFO] resources:resources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:compile [INFO] Compiling 27 source files to C:\Users\muilu\workspace\genobyte\genobyte\target\classes [INFO] resources:testResources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:testCompile [INFO] Nothing to compile - all classes are up to date [INFO] surefire:test [INFO] Surefire report directory: C:\Users\muilu\workspace\genobyte\genobyte\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.obiba.bitwise.util.StorePropertiesFileTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.43 sec Running org.obiba.bitwise.dao.BitVectorDtoDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.903 sec Running org.obiba.bitwise.dictionary.HuffmanDictionaryTest 1536392204_A: 57 1536392323_A: 57 1536392332_B: 57 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec Running org.obiba.bitwise.query.RangeQueryTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.262 sec Running org.obiba.bitwise.util.BitUtilTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec Running org.obiba.bitwise.dictionary.EnumDictionaryTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Running org.obiba.bitwise.dictionary.DecimalDictionaryTest 15 0.0 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec Running org.obiba.bitwise.BitwiseStoreTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.777 sec Running org.obiba.bitwise.dao.FieldDtoDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.665 sec Running org.obiba.bitwise.util.HuffmanTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec Running org.obiba.bitwise.annotation.TemplateTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec Running org.obiba.bitwise.BitVectorTest Count time : 1796 BitVector.toValue(): 8 BitUtil.toValue(): 4 Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.861 sec Running org.obiba.genobyte.statistic.GrowingStoreTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.794 sec Running org.obiba.genobyte.statistic.StatsRunDefinitionTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec Running org.obiba.bitwise.query.QueryParserTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec Running org.obiba.bitwise.query.FieldQueryTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.095 sec Running org.obiba.bitwise.FieldTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.761 sec Running org.obiba.bitwise.dictionary.ShortDictionaryTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec Running org.obiba.genobyte.statistic.StatsPoolDigestorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec Running org.obiba.bitwise.FieldValueIteratorTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.66 sec Running org.obiba.bitwise.dictionary.FloatingPointDictionaryTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec Running org.obiba.genobyte.GenotypingFieldTransposerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec Running org.obiba.bitwise.util.WildcardFileFilterTest Tests run: 5, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.085 sec <<< FAILURE! Running org.obiba.bitwise.dictionary.IntegerDictionaryTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec Running org.obiba.bitwise.schema.defaultDict.DefaultDictionariesTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec Running org.obiba.bitwise.dictionary.LongDictionaryTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec Running org.obiba.bitwise.dictionary.BooleanDictionaryTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec Running org.obiba.genobyte.statistic.StatsPoolTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 sec Running org.obiba.bitwise.schema.defaultDict.EncodeDecodeWithDefaultDictionariesTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.297 sec Running org.obiba.genobyte.statistic.util.FrequencyStatisticsTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec Running org.obiba.bitwise.schema.XmlStoreSchemaBuilderTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec Running org.obiba.bitwise.dictionary.ByteDictionaryTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec Running org.obiba.bitwise.dao.impl.util.BdbUtilTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec Running org.obiba.bitwise.annotation.StoreFromAnnotationTest Finished. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.321 sec Results : Failed tests: testRecursive(org.obiba.bitwise.util.WildcardFileFilterTest) testAbsolutePath(org.obiba.bitwise.util.WildcardFileFilterTest) testRelativePath(org.obiba.bitwise.util.WildcardFileFilterTest) testMatchSameFilesMultipleTimesPattern(org.obiba.bitwise.util.WildcardFileFilterTest) Tests run: 143, Failures: 4, Errors: 0, Skipped: 0 org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to C:\Users\muilu\workspace\genobyte\genobyte\target\surefire-reports for the individual test results. at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:455) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:578) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:328) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:151) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:220) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:813) at org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:85) [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD FAILURE org.obiba.genobyte:genobyte:jar:1.4.1-SNAPSHOT ( task-segment: [install] ) [INFO] ---------------------------------------------------------------------------- [INFO] Build for project: org.obiba.genobyte:genobyte:jar:1.4.1-SNAPSHOT failed during execution of mojo: org.apache.maven.plugins:maven-surefire-plugin:2.3.1:test [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 20 second [INFO] Finished at: Sun Dec 30 18:37:11 EET 2007 [INFO] Memory 4M/21M [INFO] ---------------------------------------------------------------------------- [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD FAILURE [INFO] ---------------------------------------------------------------------------- [INFO] Build for project: org.obiba.genobyte:genobyte:jar:1.4.1-SNAPSHOT failed during execution of mojo: org.apache.maven.plugins:maven-surefire-plugin:2.3.1:test [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 20 second [INFO] Finished at: Sun Dec 30 18:37:11 EET 2007 [INFO] Memory 4M/21M [INFO] ----------------------------------------------------------------------------
    via by Philippe Laflamme,
  • [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Obiba GenoByte Parent [INFO] Obiba Genobyte [INFO] Genobyte Infinium Module [INFO] ---------------------------------------------------------------------------- [INFO] Building Obiba GenoByte Parent [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] site:attach-descriptor [INFO] install:install [INFO] Installing C:\Users\muilu\workspace\genobyte\pom.xml to C:\Users\muilu\.m2\repository\org\obiba\genobyte\genobyte-parent\1.4.1-SNAPSHOT\genobyte-parent-1.4.1-SNAPSHOT.pom [INFO] ---------------------------------------------------------------------------- [INFO] BUILD SUCCESSFUL org.obiba.genobyte:genobyte-parent:pom:1.4.1-SNAPSHOT ( task-segment: [install] ) [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 3 second [INFO] Finished at: Sun Dec 30 18:36:51 EET 2007 [INFO] Memory 0M/10M [INFO] ---------------------------------------------------------------------------- [INFO] ---------------------------------------------------------------------------- [INFO] Building Obiba Genobyte [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] javacc:javacc [INFO] Nothing to process - all grammars are up to date [INFO] resources:resources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:compile [INFO] Compiling 27 source files to C:\Users\muilu\workspace\genobyte\genobyte\target\classes [INFO] resources:testResources [INFO] Using default encoding to copy filtered resources. [INFO] compiler:testCompile [INFO] Nothing to compile - all classes are up to date [INFO] surefire:test [INFO] Surefire report directory: C:\Users\muilu\workspace\genobyte\genobyte\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.obiba.bitwise.util.StorePropertiesFileTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.43 sec Running org.obiba.bitwise.dao.BitVectorDtoDaoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.903 sec Running org.obiba.bitwise.dictionary.HuffmanDictionaryTest 1536392204_A: 57 1536392323_A: 57 1536392332_B: 57 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec Running org.obiba.bitwise.query.RangeQueryTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.262 sec Running org.obiba.bitwise.util.BitUtilTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec Running org.obiba.bitwise.dictionary.EnumDictionaryTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Running org.obiba.bitwise.dictionary.DecimalDictionaryTest 15 0.0 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec Running org.obiba.bitwise.BitwiseStoreTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.777 sec Running org.obiba.bitwise.dao.FieldDtoDaoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.665 sec Running org.obiba.bitwise.util.HuffmanTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec Running org.obiba.bitwise.annotation.TemplateTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec Running org.obiba.bitwise.BitVectorTest Count time : 1796 BitVector.toValue(): 8 BitUtil.toValue(): 4 Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.861 sec Running org.obiba.genobyte.statistic.GrowingStoreTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.794 sec Running org.obiba.genobyte.statistic.StatsRunDefinitionTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec Running org.obiba.bitwise.query.QueryParserTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec Running org.obiba.bitwise.query.FieldQueryTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.095 sec Running org.obiba.bitwise.FieldTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.761 sec Running org.obiba.bitwise.dictionary.ShortDictionaryTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec Running org.obiba.genobyte.statistic.StatsPoolDigestorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec Running org.obiba.bitwise.FieldValueIteratorTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.66 sec Running org.obiba.bitwise.dictionary.FloatingPointDictionaryTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec Running org.obiba.genobyte.GenotypingFieldTransposerTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec Running org.obiba.bitwise.util.WildcardFileFilterTest Tests run: 5, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.085 sec <<< FAILURE! Running org.obiba.bitwise.dictionary.IntegerDictionaryTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec Running org.obiba.bitwise.schema.defaultDict.DefaultDictionariesTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec Running org.obiba.bitwise.dictionary.LongDictionaryTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec Running org.obiba.bitwise.dictionary.BooleanDictionaryTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec Running org.obiba.genobyte.statistic.StatsPoolTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.178 sec Running org.obiba.bitwise.schema.defaultDict.EncodeDecodeWithDefaultDictionariesTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.297 sec Running org.obiba.genobyte.statistic.util.FrequencyStatisticsTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 sec Running org.obiba.bitwise.schema.XmlStoreSchemaBuilderTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec Running org.obiba.bitwise.dictionary.ByteDictionaryTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec Running org.obiba.bitwise.dao.impl.util.BdbUtilTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec Running org.obiba.bitwise.annotation.StoreFromAnnotationTest Finished. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.321 sec Results : Failed tests: testRecursive(org.obiba.bitwise.util.WildcardFileFilterTest) testAbsolutePath(org.obiba.bitwise.util.WildcardFileFilterTest) testRelativePath(org.obiba.bitwise.util.WildcardFileFilterTest) testMatchSameFilesMultipleTimesPattern(org.obiba.bitwise.util.WildcardFileFilterTest) Tests run: 143, Failures: 4, Errors: 0, Skipped: 0 org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to C:\Users\muilu\workspace\genobyte\genobyte\target\surefire-reports for the individual test results. at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:455) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:578) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:328) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:151) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:220) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:813) at org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:85) [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD FAILURE org.obiba.genobyte:genobyte:jar:1.4.1-SNAPSHOT ( task-segment: [install] ) [INFO] ---------------------------------------------------------------------------- [INFO] Build for project: org.obiba.genobyte:genobyte:jar:1.4.1-SNAPSHOT failed during execution of mojo: org.apache.maven.plugins:maven-surefire-plugin:2.3.1:test [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 20 second [INFO] Finished at: Sun Dec 30 18:37:11 EET 2007 [INFO] Memory 4M/21M [INFO] ---------------------------------------------------------------------------- [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD FAILURE [INFO] ---------------------------------------------------------------------------- [INFO] Build for project: org.obiba.genobyte:genobyte:jar:1.4.1-SNAPSHOT failed during execution of mojo: org.apache.maven.plugins:maven-surefire-plugin:2.3.1:test [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 20 second [INFO] Finished at: Sun Dec 30 18:37:11 EET 2007 [INFO] Memory 4M/21M [INFO] ----------------------------------------------------------------------------
    via by Philippe Laflamme,
  • ATG DUST | Unit Testing Framework
    via by Gaurav,
  • TestNG and Maven not working with current snapshot
    via by Jason Porter,
  • Java test failure
    via by Jesper,
    • org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to C:\Users\muilu\workspace\genobyte\genobyte\target\surefire-reports for the individual test results. at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:455) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:578) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:328) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:151) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:220) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:813) at org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:85)[INFO]

    Users with the same issue

    chenjunjunchenjunjun
    1 times, last one,