You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@river.apache.org by Peter Firmstone <pe...@zeus.net.au> on 2016/12/11 07:35:05 UTC

River maven build - initial testing with Rio

So far building Rio against the River maven build, there are 3 test 
failures.

I've added compatibility layer to River of com.sun.jini classes that 
extend theirorg.apache.rivercounterparts to provide a backward 
compatible subset of deprecated com.sun.jini namespace (only the parts 
of the com.sun.jini namespace used by Rio).  Over time this namespace 
would be removed, it seemed more friendly to provided it in deprecated 
form to encourage upgrading / adoption.

The River maven build test run is appended further below.  The maven 
build was constructed using a modified version of Dennis Reedy's groovy 
script, followed by breaking out some shared components into their own 
modules.  No classes are duplicated, everything has a defined module.

Note that the QA tests and jtreg tests remain an ant build at this 
stage, I haven't yet modified them to run against the River modules, 
which requires changing the tests classpath to include the new modules.

This code is currently on GitHub, I'd like it to be the basis for River 
3.1.0

Regards,

Peter.

[INFO] 
------------------------------------------------------------------------
[INFO] Building Rio Distribution 5.2.3-SNAPSHOT
[INFO] 
------------------------------------------------------------------------
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Rio Project ........................................ SUCCESS [  
0.057 s]
[INFO] Module :: Rio Logging Support ...................... SUCCESS [  
1.049 s]
[INFO] Module :: Rio Platform ............................. FAILURE [ 
16.956 s]
[INFO] Module :: Rio service starters ..................... SUCCESS [  
0.944 s]
[INFO] Module :: Webster .................................. SUCCESS [  
4.383 s]
[INFO] Module :: Rio API .................................. SUCCESS [  
2.943 s]
[INFO] Module :: Rio Proxy ................................ SUCCESS [  
0.061 s]
[INFO] Module :: Rio Library .............................. SUCCESS 
[02:58 min]
[INFO] Module :: Aether Resolver .......................... FAILURE 
[09:52 min]
[INFO] Module :: Project Module Resolver .................. SUCCESS [  
6.578 s]
[INFO] Module :: Event Collector Service API .............. SUCCESS [  
0.612 s]
[INFO] Module :: Event Collector Service Proxy ............ SUCCESS [  
0.096 s]
[INFO] Module :: Cybernode Service API .................... SUCCESS [  
0.058 s]
[INFO] Module :: Cybernode Service Proxy .................. SUCCESS [  
0.097 s]
[INFO] Module :: Cybernode Service Implementation ......... SUCCESS [  
1.570 s]
[INFO] Module :: Monitor Service API ...................... SUCCESS [  
0.080 s]
[INFO] Module :: Rio Test Infrastructure .................. SUCCESS [  
4.926 s]
[INFO] Module :: Event Collector Service Implementation ... SUCCESS [ 
32.481 s]
[INFO] Module :: Watch User Interface ..................... SUCCESS [  
3.476 s]
[INFO] Module :: Cybernode Service UI ..................... SUCCESS [  
0.086 s]
[INFO] Module :: Gnostic .................................. SUCCESS [  
0.003 s]
[INFO] Module :: Gnostic API .............................. SUCCESS [  
0.580 s]
[INFO] Module :: Gnostic Service Implementation ........... SUCCESS [ 
13.398 s]
[INFO] Module :: Monitor Service Proxy .................... SUCCESS [  
0.106 s]
[INFO] Module :: Monitor Service Implementation ........... SUCCESS [ 
24.122 s]
[INFO] Module :: Rio Command Line Interface ............... SUCCESS [  
0.097 s]
[INFO] Module :: Rio Management User Interface ............ SUCCESS [  
0.319 s]
[INFO] Rio Examples ....................................... SUCCESS [  
0.003 s]
[INFO] Example :: Calculator .............................. SUCCESS [  
0.002 s]
[INFO] Example :: Calculator API .......................... SUCCESS [  
0.317 s]
[INFO] Example :: Calculator Service Implementation ....... SUCCESS [  
0.114 s]
[INFO] Example :: Events .................................. SUCCESS [  
0.002 s]
[INFO] Example :: Events API .............................. SUCCESS [  
0.047 s]
[INFO] Example :: Events Proxy ............................ SUCCESS [  
0.045 s]
[INFO] Example :: Events Service Implementation ........... SUCCESS [  
0.090 s]
[INFO] Example :: Events UI ............................... SUCCESS [  
0.043 s]
[INFO] Example :: Hospital ................................ SUCCESS [  
0.003 s]
[INFO] Example :: Hospital API ............................ SUCCESS [  
0.076 s]
[INFO] Example :: Hospital Rules .......................... SUCCESS [  
0.094 s]
[INFO] Example :: Hospital Service Implementation ......... SUCCESS [  
0.093 s]
[INFO] Example :: Hospital UI ............................. SUCCESS [  
0.091 s]
[INFO] Example :: SpringBean .............................. SUCCESS [  
0.003 s]
[INFO] Example :: SpringBean API .......................... SUCCESS [  
0.044 s]
[INFO] Example :: SpringBean Service Implementation ....... SUCCESS [  
0.113 s]
[INFO] Example :: Workflow ................................ SUCCESS [  
0.003 s]
[INFO] Example :: Workflow API ............................ SUCCESS [  
1.180 s]
[INFO] Example :: Workflow Service Implementation ......... FAILURE [  
0.104 s]
[INFO] Example :: Tomcat .................................. SUCCESS [  
1.030 s]
[INFO] Rio Distribution ................................... SUCCESS [  
0.012 s]
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 14:51 min
[INFO] Finished at: 2016-12-11T16:40:29+10:00
[INFO] Final Memory: 29M/81M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.13:test (default-test) 
on project rio-platform: There are test failures.
[ERROR]
[ERROR] Please refer to 
C:\Users\peter\Documents\NetBeansProjects\Rio\rio-platform\target\surefire-reports 
for the individual test results.
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.13:test (default-test) 
on project resolver-aether: There are test failures.
[ERROR]
[ERROR] Please refer to 
C:\Users\peter\Documents\NetBeansProjects\Rio\rio-resolver\resolver-aether\target\surefire-reports 
for the individual test results.
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal on project workflow-service: Could not 
resolve dependencies for project 
org.rioproject.examples.workflow:workflow-service:jar:2.3
.5-SNAPSHOT: Failure to find 
org.apache.river.mahalo:mahalo-service:jar:3.0-SNAPSHOT in 
http://www.rio-project.org/maven2 was cached in the local repository, re
solution will not be reattempted until the update interval of rio has 
elapsed or updates are forced -> [Help 2]
[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
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the 
command
[ERROR]   mvn <goals> -rf :rio-platform
[INFO] Build failures were ignored.

C:\Users\peter\Documents\NetBeansProjects\Rio>

[INFO]
[INFO] 
------------------------------------------------------------------------
[INFO] Building River Distribution 3.0-SNAPSHOT
[INFO] 
------------------------------------------------------------------------
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] River-Internet Project ............................. SUCCESS [  
0.010 s]
[INFO] Module :: River Policy ............................. SUCCESS [ 
24.494 s]
[INFO] Module :: River Platform Download .................. SUCCESS [  
7.222 s]
[INFO] Module :: River Extensible Remote Invocation ....... SUCCESS [ 
31.380 s]
[INFO] Module :: River Resources .......................... SUCCESS [  
0.043 s]
[INFO] Module :: River Platform ........................... SUCCESS [  
4.603 s]
[INFO] Module :: River Service DL Library ................. SUCCESS [  
0.178 s]
[INFO] Module :: River Service Library .................... SUCCESS 
[07:25 min]
[INFO] Module :: River Service Starter .................... SUCCESS [  
0.083 s]
[INFO] Module :: River SharedGroup Destroy ................ SUCCESS [  
0.067 s]
[INFO] Module :: Outrigger ................................ SUCCESS [  
0.009 s]
[INFO] Module :: Outrigger Service Download classes ....... SUCCESS [  
0.093 s]
[INFO] Module :: Outrigger Service Implementation ......... SUCCESS [  
2.754 s]
[INFO] Module :: Outrigger Snaplogstore ................... SUCCESS [  
0.070 s]
[INFO] Module :: Lookup Service ........................... SUCCESS [  
0.003 s]
[INFO] Module :: Reggie Service Download classes .......... SUCCESS [  
0.071 s]
[INFO] Module :: Reggie Service Implementation ............ SUCCESS [  
0.056 s]
[INFO] Module :: Mahalo ................................... SUCCESS [  
0.004 s]
[INFO] Module :: Mahalo Service Download classes .......... SUCCESS [  
0.105 s]
[INFO] Module :: Mahalo Service Implementation ............ SUCCESS [  
0.109 s]
[INFO] Module :: Mercury the Event Mailbox ................ SUCCESS [  
0.003 s]
[INFO] Module :: Mercury Service Download classes ......... SUCCESS [  
0.108 s]
[INFO] Module :: Mercury Service Implementation ........... SUCCESS [  
0.090 s]
[INFO] Module :: Norm ..................................... SUCCESS [  
0.001 s]
[INFO] Module :: Norm Service Download classes ............ SUCCESS [  
0.062 s]
[INFO] Module :: Norm Service Implementation .............. SUCCESS [  
0.110 s]
[INFO] Module :: Group .................................... SUCCESS [  
0.008 s]
[INFO] Module :: Group Service Download classes ........... SUCCESS [  
0.062 s]
[INFO] Module :: Group Service Implementation ............. SUCCESS [  
0.076 s]
[INFO] Module :: Fiddler the LookupDiscoveryService ....... SUCCESS [  
0.001 s]
[INFO] Module :: Fiddler LookupDiscoveryService Download classes SUCCESS 
[  0.232 s]
[INFO] Module :: Fiddler LookupDiscoveryService Implementation SUCCESS 
[  0.065 s]
[INFO] Module :: Tools .................................... SUCCESS [  
0.015 s]
[INFO] Module :: Check ConfigurationFile .................. SUCCESS [  
0.060 s]
[INFO] Module :: Check serialversionUid ................... SUCCESS [  
0.071 s]
[INFO] Module :: ClassDep ................................. SUCCESS [  
0.388 s]
[INFO] Module :: Class Server ............................. SUCCESS [  
0.049 s]
[INFO] Module :: Compute message digest ................... SUCCESS [  
0.080 s]
[INFO] Module :: Compute httpmd codebase .................. SUCCESS [  
0.071 s]
[INFO] Module :: Environment Check ........................ SUCCESS [  
0.097 s]
[INFO] Module :: Jar wrapper .............................. SUCCESS [  
0.050 s]
[INFO] Module :: Preferred classes list generator ......... SUCCESS [  
0.074 s]
[INFO] Module :: Phoenix Activation ....................... SUCCESS [  
0.002 s]
[INFO] Module :: Phoenix Download ......................... SUCCESS [  
0.098 s]
[INFO] Module :: Phoenix Common ........................... SUCCESS [  
1.573 s]
[INFO] Module :: Phoenix .................................. SUCCESS [  
6.522 s]
[INFO] Module :: Phoenix Group ............................ SUCCESS [  
0.188 s]
[INFO] Module :: Phoenix Init ............................. SUCCESS [  
0.036 s]
[INFO] Module :: Groovy Configuration ..................... SUCCESS [  
4.474 s]
[INFO] River Distribution ................................. SUCCESS [  
0.002 s]
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 08:53 min
[INFO] Finished at: 2016-12-11T17:15:13+10:00
[INFO] Final Memory: 14M/40M
[INFO] 
------------------------------------------------------------------------