See 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/79/changes>

Changes:

[s.kolbachev] Refactor Locking Project

[s.kolbachev] Refactor People Project & Inheritance Projects

[s.kolbachev] Refactor Relationships Project

------------------------------------------
[...truncated 50271 lines...]
384/578 KB   63/63 KB   
385/578 KB   63/63 KB   
389/578 KB   63/63 KB   
393/578 KB   63/63 KB   
397/578 KB   63/63 KB   
401/578 KB   63/63 KB   
405/578 KB   63/63 KB   
409/578 KB   63/63 KB   
413/578 KB   63/63 KB   
417/578 KB   63/63 KB   
421/578 KB   63/63 KB   
425/578 KB   63/63 KB   
429/578 KB   63/63 KB   
433/578 KB   63/63 KB   
437/578 KB   63/63 KB   
439/578 KB   63/63 KB   
442/578 KB   63/63 KB   
444/578 KB   63/63 KB   
447/578 KB   63/63 KB   
450/578 KB   63/63 KB   
454/578 KB   63/63 KB   
458/578 KB   63/63 KB   
459/578 KB   63/63 KB   
463/578 KB   63/63 KB   
464/578 KB   63/63 KB   
468/578 KB   63/63 KB   
472/578 KB   63/63 KB   
473/578 KB   63/63 KB   
475/578 KB   63/63 KB   
                        
Downloaded: 
http://maven.objectstyle.org/nexus/content/groups/cayenne-deps/org/apache/maven/maven-aether-provider/3.2.3/maven-aether-provider-3.2.3.jar
 (63 KB at 108.0 KB/sec)
479/578 KB              
483/578 KB   
487/578 KB   
491/578 KB   
495/578 KB   
499/578 KB   
503/578 KB   
507/578 KB   
511/578 KB   
515/578 KB   
519/578 KB   
523/578 KB   
527/578 KB   
531/578 KB   
535/578 KB   
539/578 KB   
541/578 KB   
543/578 KB   
546/578 KB   
550/578 KB   
554/578 KB   
555/578 KB   
559/578 KB   
563/578 KB   
563/578 KB   
567/578 KB   
571/578 KB   
572/578 KB   
576/578 KB   
578/578 KB   
             
Downloaded: 
http://maven.objectstyle.org/nexus/content/groups/cayenne-deps/org/apache/maven/maven-core/3.2.3/maven-core-3.2.3.jar
 (578 KB at 493.8 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ 
maven-cayenne-plugin ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.9.1:check (default) @ maven-cayenne-plugin 
---
[WARNING] File encoding has not been set, using platform encoding ISO-8859-1, 
i.e. build is platform dependent!
[INFO] Starting audit...
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/CayenneGeneratorMojo.java>:226:19:
 warning: Catching 'Exception' is not allowed.
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/DbGeneratorMojo.java>:171:11:
 warning: Catching 'Exception' is not allowed.
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/DbImporterMojo.java>:79:
 Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag 
with description.
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/DbImporterMojo.java>:151:
 Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag 
with description.
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/src/main/java/org/apache/cayenne/tools/DbImporterMojo.java>:227:11:
 warning: Catching 'Exception' is not allowed.
Audit done.

[WARNING] checkstyle:check violations detected but failOnViolation set to false
[INFO] 
[INFO] >>> maven-pmd-plugin:3.2:check (default) @ maven-cayenne-plugin >>>
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:pmd (pmd) @ maven-cayenne-plugin ---
[INFO] 
[INFO] <<< maven-pmd-plugin:3.2:check (default) @ maven-cayenne-plugin <<<
[INFO] 
[INFO] --- maven-pmd-plugin:3.2:check (default) @ maven-cayenne-plugin ---
[INFO] PMD Warning: org.apache.cayenne.tools.CayenneGeneratorMojo:226 
Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions 
such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Warning: org.apache.cayenne.tools.DbGeneratorMojo:171 
Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions 
such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Warning: org.apache.cayenne.tools.DbGeneratorMojo:177 
Rule:UseStringBufferForStringAppends Priority:4 Prefer StringBuffer over += for 
concatenating strings.
[INFO] PMD Warning: org.apache.cayenne.tools.DbImporterMojo:227 
Rule:AvoidCatchingGenericException Priority:3 Avoid catching generic exceptions 
such as NullPointerException, RuntimeException, Exception in try-catch block.
[INFO] PMD Warning: org.apache.cayenne.tools.DbImporterMojo:233 
Rule:UseStringBufferForStringAppends Priority:4 Prefer StringBuffer over += for 
concatenating strings.
[INFO] PMD Warning: org.apache.cayenne.tools.DbImporterMojo:241 
Rule:DefaultPackage Priority:5 Use explicit scoping instead of the default 
package private level.
[INFO] PMD Warning: org.apache.cayenne.tools.DbImporterMojo:281 
Rule:NullAssignment Priority:5 Assigning an Object to null is a code smell.  
Consider refactoring..
[INFO] PMD Failure: org.apache.cayenne.tools.DbGeneratorMojo:181 
Rule:PreserveStackTrace Priority:1 New exception is thrown in catch block, 
original stack trace may be lost.
[INFO] PMD Failure: org.apache.cayenne.tools.DbImporterMojo:237 
Rule:PreserveStackTrace Priority:1 New exception is thrown in catch block, 
original stack trace may be lost.
[INFO] You have 2 PMD violations and 7 warnings. For more details 
see:<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/pmd.xml>
[INFO] 
[INFO] --- maven-plugin-plugin:2.9:descriptor (default-descriptor) @ 
maven-cayenne-plugin ---
[ERROR] 

Artifact Ids of the format maven-___-plugin are reserved for 
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.


[WARNING] Using platform encoding (ISO-8859-1 actually) to read mojo metadata, 
i.e. build is platform dependent!
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 3 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ 
maven-cayenne-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ 
maven-cayenne-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 4 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
maven-cayenne-plugin ---
[INFO] Compiling 4 source files to 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/classes>
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ 
maven-cayenne-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
maven-cayenne-plugin ---
[INFO] Compiling 2 source files to 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/test-classes>
[INFO] 
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ maven-cayenne-plugin 
---
[INFO] Surefire report directory: 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/surefire-reports>

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.cayenne.tools.CayenneGeneratorMojoTest
[INFO] Generating superclass file: 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/superPkg/_TestEntity.txt>
[INFO] Generating class file: 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/pack/TestEntity.txt>
[INFO] Generating superclass file: 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/superPkg/_Embeddable.txt>
[INFO] Generating class file: 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/pack/Embeddable.txt>
[INFO] Generating superclass file: 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/superPkg/_TestDomainMap.txt>
[INFO] Generating class file: 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/cayenneGeneratedClasses/pack/TestDomainMap.txt>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.759 sec
Running org.apache.cayenne.tools.DbImporterMojoTest
[WARNING] 'meaningfulPk' property is deprecated. Use 'meaningfulPkTables' 
pattern instead
Tests run: 5, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 2.395 sec <<< 
FAILURE!

Results :

Tests in error: 
  testImportNewDataMap(org.apache.cayenne.tools.DbImporterMojoTest)
  testImportAddTableAndColumn(org.apache.cayenne.tools.DbImporterMojoTest)
  testImportWithoutChanges(org.apache.cayenne.tools.DbImporterMojoTest)

Tests run: 6, Failures: 0, Errors: 3, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Cayenne ........................................... SUCCESS [0.382s]
[INFO] Cayenne Build Tools Parent ........................ SUCCESS [0.020s]
[INFO] Cayenne License and Notice Bundle ................. SUCCESS [1.114s]
[INFO] Common Unit Test Utilities ........................ SUCCESS [0.958s]
[INFO] Cayenne Code Checkers ............................. SUCCESS [0.121s]
[INFO] Cayenne Dependency Injection Container ............ SUCCESS [10.695s]
[INFO] Cayenne Server .................................... SUCCESS [2:36.317s]
[INFO] Cayenne ROP Client ................................ SUCCESS [32.814s]
[INFO] Cayenne Project ................................... SUCCESS [6.896s]
[INFO] Cayenne Tools ..................................... SUCCESS [9.046s]
[INFO] Cayenne Lifecycle Utilities ....................... SUCCESS [7.503s]
[INFO] Cayenne Maven Plugins ............................. SUCCESS [0.023s]
[INFO] Cayenne Maven Plugin .............................. FAILURE [17.479s]
[INFO] Cayenne Cryptography Extensions ................... SKIPPED
[INFO] Cayenne Integration Tests Parent .................. SKIPPED
[INFO] Integration Tests - Cayenne Tools ................. SKIPPED
[INFO] Cayenne Modeler Parent ............................ SKIPPED
[INFO] Cayenne WebObjects Compatibility Library .......... SKIPPED
[INFO] Cayenne Modeler ................................... SKIPPED
[INFO] Cayenne Modeler Generic and Windows Extensions .... SKIPPED
[INFO] Cayenne Modeler Generic ........................... SKIPPED
[INFO] Cayenne Modeler Mac OS X Extensions ............... SKIPPED
[INFO] Cayenne Modeler Mac OS X .......................... SKIPPED
[INFO] Cayenne Modeler Mac OS X - Old Apple Java ......... SKIPPED
[INFO] Cayenne Modeler Windows ........................... SKIPPED
[INFO] Cayenne Modeler Maven Plugin ...................... SKIPPED
[INFO] Cayenne Tutorial .................................. SKIPPED
[INFO] Cayenne ROP Server Tutorial ....................... SKIPPED
[INFO] Cayenne ROP Client Tutorial ....................... SKIPPED
[INFO] Cayenne Tutorials ................................. SKIPPED
[INFO] Cayenne Documenation Parent ....................... SKIPPED
[INFO] Cayenne Documentation ............................. SKIPPED
[INFO] Cayenne Docbook Documentation ..................... SKIPPED
[INFO] Docbook: Cayenne Stylesheets ...................... SKIPPED
[INFO] Docbook: Cayenne Guide ............................ SKIPPED
[INFO] Docbook: Getting Started with Cayenne ............. SKIPPED
[INFO] Docbook: Getting Started with Cayenne ROP ......... SKIPPED
[INFO] Docbook: Cayenne New Features and Upgrade Guide ... SKIPPED
[INFO] Cayenne Release Assembly .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:04.800s
[INFO] Finished at: Mon Nov 10 17:36:51 UTC 2014
[INFO] Final Memory: 91M/439M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on 
project maven-cayenne-plugin: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/surefire-reports>
 for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on 
project maven-cayenne-plugin: There are test failures.

Please refer to 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/surefire-reports>
 for the individual test results.
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
failures.

Please refer to 
<https://builds.apache.org/job/cayenne-master/cayenneTestConnection=hsql,jdk=JDK%201.6%20(latest),label=Ubuntu/ws/plugins/maven-cayenne-plugin/target/surefire-reports>
 for the individual test results.
        at 
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:629)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
[ERROR] 
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :maven-cayenne-plugin
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Reply via email to