[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to replace javax.xml.bind in milib



Hi,

I intend to refresh milib[1] to its latest upstream version but I'm running
into

...
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ milib ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 288 source files to /build/milib-1.9/target/classes
[INFO] /build/milib-1.9/src/main/java/com/milaboratory/core/alignment/kaligner2/KMapper2.java: Some input files use or override a deprecated API.
[INFO] /build/milib-1.9/src/main/java/com/milaboratory/core/alignment/kaligner2/KMapper2.java: Recompile with -Xlint:deprecation for details.
[INFO] /build/milib-1.9/src/main/java/com/milaboratory/core/sequence/AbstractSeq.java: Some input files use unchecked or unsafe operations.
[INFO] /build/milib-1.9/src/main/java/com/milaboratory/core/sequence/AbstractSeq.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /build/milib-1.9/src/main/java/com/milaboratory/util/LightFileDescriptor.java:[27,22] package javax.xml.bind does not exist
[ERROR] /build/milib-1.9/src/main/java/com/milaboratory/util/LightFileDescriptor.java:[202,48] cannot find symbol
  symbol:   variable DatatypeConverter
  location: class com.milaboratory.util.LightFileDescriptor
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.840 s
[INFO] Finished at: 2019-01-25T20:37:59Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project milib: Compilation failure: Compilation failure: 
[ERROR] /build/milib-1.9/src/main/java/com/milaboratory/util/LightFileDescriptor.java:[27,22] package javax.xml.bind does not exist
[ERROR] /build/milib-1.9/src/main/java/com/milaboratory/util/LightFileDescriptor.java:[202,48] cannot find symbol
[ERROR]   symbol:   variable DatatypeConverter
[ERROR]   location: class com.milaboratory.util.LightFileDescriptor
[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
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/build...


I remember I need to add libjaxb-java to Build-Depends but this alone
is not the solution for this maven based package.  Any hint how to
fix this?

Kind regards

       Andreas.


[1] https://salsa.debian.org/java-team/milib

-- 
http://fam-tille.de


Reply to: