[ 
https://issues.apache.org/jira/browse/RYA-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wolfgang Amann resolved RYA-527.
--------------------------------
    Resolution: Duplicate

Closing this issue as duplicate of RYA-471

> Maven Clean Install fails for version 4.0.0 using Java 11.0.2
> -------------------------------------------------------------
>
>                 Key: RYA-527
>                 URL: https://issues.apache.org/jira/browse/RYA-527
>             Project: Rya
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.0.0
>         Environment: Apache Rya 4.0.0
> macOS Mojave (10.14.6)
> openjdk 11.0.2 2019-01-15
>            Reporter: Hammad Aslam Khan
>            Priority: Minor
>
> Maven build fails at `:rya.export.api` for version 4.0.0 when tried on 
> machine with java `openjdk 11.0.2 2019-01-15`
> {code:java}
> [INFO] -------------------< org.apache.rya:rya.export.api 
> >--------------------
> [INFO] Building Apache Rya Export API 4.0.0-incubating                  
> [21/47]
> [INFO] --------------------------------[ jar 
> ]---------------------------------
> [INFO] 
> [INFO] --- apache-rat-plugin:0.11:check (check-licenses) @ rya.export.api ---
> [INFO] 51 implicit excludes (use -debug for more details).
> [INFO] Exclude: DEPENDENCIES
> [INFO] 27 resources included (use -debug for more details)
> [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 
> approved: 27 licence.
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-mvn) @ rya.export.api 
> ---
> [INFO] 
> [INFO] --- jaxb2-maven-plugin:2.3.1:xjc (xjc) @ rya.export.api ---
> [WARNING] The POM for org.glassfish.jaxb:jaxb-core:jar:2.2.11 is invalid, 
> transitive dependencies (if any) will not be available, enable debug logging 
> for more details
> [WARNING] The POM for org.glassfish.jaxb:jaxb-runtime:jar:2.2.11 is invalid, 
> transitive dependencies (if any) will not be available, enable debug logging 
> for more details
> [WARNING] The POM for org.glassfish.jaxb:jaxb-xjc:jar:2.2.11 is invalid, 
> transitive dependencies (if any) will not be available, enable debug logging 
> for more details
> [WARNING] The POM for org.glassfish.jaxb:jaxb-jxc:jar:2.2.11 is invalid, 
> transitive dependencies (if any) will not be available, enable debug logging 
> for more details
> [INFO] Adding 'extension' flag to XJC arguments, since the 'generateEpisode' 
> argument is given. (XJCs 'episode' argument requires that the 'extension' 
> argument is provided).
> [INFO] Ignored given or default xjbSources 
> [/Users/lw5523/Documents/engie/ai/vxdeploy/pocs/rya/extras/rya.export/export.api/src/main/xjb],
>  since it is not an existent file or directory.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Apache Rya Secondary Indexing 4.0.0-incubating ..... SUCCESS [ 46.025 
> s]
> [INFO] Apache Rya Periodic Notification Service ........... SUCCESS [ 22.318 
> s]
> [INFO] Apache Rya Periodic Notification Service on Twill .. SUCCESS [ 26.800 
> s]
> [INFO] Apache Rya Periodic Notification Service on Twill on YARN SUCCESS 
> [02:11 min]
> [INFO] Apache Rya Test Kafka .............................. SUCCESS [ 17.865 
> s]
> [INFO] Apache Rya PCJ Fluo Client ......................... SUCCESS [ 34.180 
> s]
> [INFO] Apache Rya Integration Base ........................ SUCCESS [ 16.731 
> s]
> [INFO] Apache Rya Periodic Notification Service Integration Tests SUCCESS [ 
> 12.978 s]
> [INFO] Apache Rya Streams Parent .......................... SUCCESS [  0.828 
> s]
> [INFO] Apache Rya Streams API ............................. SUCCESS [  4.148 
> s]
> [INFO] Apache Rya Test RDF ................................ SUCCESS [  4.096 
> s]
> [INFO] Apache Rya Streams Kafka ........................... SUCCESS [ 43.703 
> s]
> [INFO] Apache Rya Shell ................................... SUCCESS [ 48.611 
> s]
> [INFO] Apache Rya Secondary Indexing Example .............. SUCCESS [ 39.149 
> s]
> [INFO] Apache Rya MapReduce Tools ......................... SUCCESS [01:30 
> min]
> [INFO] Apache Rya Reasoning ............................... SUCCESS [ 30.464 
> s]
> [INFO] Apache Rya Vagrant VM .............................. SUCCESS [  0.766 
> s]
> [INFO] Apache Rya PCJ Fluo Integration Tests .............. SUCCESS [  7.895 
> s]
> [INFO] Apache Rya PCJ Fluo Demo ........................... SUCCESS [ 26.979 
> s]
> [INFO] Apache Rya Export Parent ........................... SUCCESS [  0.740 
> s]
> [INFO] Apache Rya Export API .............................. FAILURE [  0.312 
> s]
> [INFO] Apache Rya Export Accumulo ......................... SKIPPED
> [INFO] Apache Rya Export Mongo ............................ SKIPPED
> [INFO] Apache Rya Export Client ........................... SKIPPED
> [INFO] Apache Rya Export Integration Tests ................ SKIPPED
> [INFO] Apache Rya Merge Tool .............................. SKIPPED
> [INFO] Apache Rya Streams Kafka Test ...................... SKIPPED
> [INFO] Apache Rya Streams Client .......................... SKIPPED
> [INFO] Apache Rya Streams Kafka Integration Tests ......... SKIPPED
> [INFO] Apache Rya Streams Query Manager ................... SKIPPED
> [INFO] Apache Rya Forward Chaining Inference .............. SKIPPED
> [INFO] Apache Rya Kafka Connect Parent .................... SKIPPED
> [INFO] Apache Rya Kafka Connect - API ..................... SKIPPED
> [INFO] Apache Rya Kafka Connect - Accumulo ................ SKIPPED
> [INFO] Apache Rya Kafka Connect - Accumulo Integration Tests SKIPPED
> [INFO] Apache Rya Kafka Connect - Mongo DB ................ SKIPPED
> [INFO] Apache Rya Kafka Connect - Mongo DB Integration Tests SKIPPED
> [INFO] Apache Rya Kafka Connect - Client .................. SKIPPED
> [INFO] Apache Rya OSGI Bundle ............................. SKIPPED
> [INFO] Apache Rya ALX ..................................... SKIPPED
> [INFO] Apache Rya ALX Console ............................. SKIPPED
> [INFO] Apache Rya Camel ................................... SKIPPED
> [INFO] Apache Rya Pig Projects ............................ SKIPPED
> [INFO] Apache Rya Accumulo Pig ............................ SKIPPED
> [INFO] Apache Rya Spark Support ........................... SKIPPED
> [INFO] Apache Rya Web Projects ............................ SKIPPED
> [INFO] Apache Rya Web Implementation 4.0.0-incubating ..... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 10:08 min
> [INFO] Finished at: 2019-12-30T18:04:55+01:00
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:xjc 
> (xjc) on project rya.export.api: Execution xjc of goal 
> org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:xjc failed: A required class was 
> missing while executing org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:xjc: 
> com/sun/codemodel/CodeWriter
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    plugin>org.codehaus.mojo:jaxb2-maven-plugin:2.3.1
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = 
> file:/Users/lw5523/.m2/repository/org/codehaus/mojo/jaxb2-maven-plugin/2.3.1/jaxb2-maven-plugin-2.3.1.jar
> [ERROR] urls[1] = 
> file:/Users/lw5523/.m2/repository/javax/xml/bind/jaxb-api/2.2.11/jaxb-api-2.2.11.jar
> [ERROR] urls[2] = 
> file:/Users/lw5523/.m2/repository/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
> [ERROR] urls[3] = 
> file:/Users/lw5523/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.jar
> [ERROR] urls[4] = 
> file:/Users/lw5523/.m2/repository/org/glassfish/jaxb/jaxb-xjc/2.2.11/jaxb-xjc-2.2.11.jar
> [ERROR] urls[5] = 
> file:/Users/lw5523/.m2/repository/org/glassfish/jaxb/jaxb-jxc/2.2.11/jaxb-jxc-2.2.11.jar
> [ERROR] urls[6] = 
> file:/Users/lw5523/.m2/repository/com/thoughtworks/qdox/qdox/2.0-M3/qdox-2.0-M3.jar
> [ERROR] urls[7] = 
> file:/Users/lw5523/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar
> [ERROR] urls[8] = 
> file:/Users/lw5523/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
> [ERROR] urls[9] = 
> file:/Users/lw5523/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar
> [ERROR] urls[10] = 
> file:/Users/lw5523/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar
> [ERROR] urls[11] = 
> file:/Users/lw5523/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
> [ERROR] urls[12] = 
> file:/Users/lw5523/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> [ERROR] urls[13] = 
> file:/Users/lw5523/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[14] = 
> file:/Users/lw5523/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[15] = 
> file:/Users/lw5523/.m2/repository/org/codehaus/plexus/plexus-compiler-api/2.5/plexus-compiler-api-2.5.jar
> [ERROR] urls[16] = 
> file:/Users/lw5523/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
> [ERROR] urls[17] = 
> file:/Users/lw5523/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> [ERROR] 
> [ERROR] -----------------------------------------------------
> [ERROR] : com.sun.codemodel.CodeWriter
> [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/PluginContainerException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn <goals> -rf :rya.export.api
> {code}
>  
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to