Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete dependencies in pom.xml #7

Closed
devendraap opened this issue Jun 1, 2020 · 2 comments
Closed

Incomplete dependencies in pom.xml #7

devendraap opened this issue Jun 1, 2020 · 2 comments

Comments

@devendraap
Copy link
Contributor

The dependencies in Github project are not complete, so i am adding dependencies myself

https://github.com/devendraap/OpenADR/blob/master/pom.xml
The latest dependencie's version are not backward compatible sadly (sad)

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project OpenADRModel20b: Compilation failure[ERROR] /home/ubuntu/OpenADR/OpenADRModel20b/src/main/java/com/avob/openadr/model/oadr20b/xmlsignature/OadrXMLSignatureHandler.java:[348,70] incompatible types: java.util.List<javax.xml.crypto.XMLStructure> cannot be converted to java.util.List<? extends javax.xml.crypto.dsig.XMLObject>

@devendraap
Copy link
Contributor Author

Could you share the dependencies with me?
I will give PR with complete POM.xml

@devendraap
Copy link
Contributor Author

Downgrading Java from 11 to 8 fixed this issue

Java 11 removed the Java EE modules:
https://stackoverflow.com/questions/52502189/java-11-package-javax-xml-bind-does-not-exist

Dependencies causing issue are

	<dependency>
	  <groupId>javax.xml.bind</groupId>
	  <artifactId>jaxb-api</artifactId>
	  <version>2.3.0</version>
	</dependency>
	<dependency>
	  <groupId>com.sun.xml.bind</groupId>
	  <artifactId>jaxb-core</artifactId>
	  <version>2.3.0</version>
	</dependency>
	<dependency>
	  <groupId>com.sun.xml.bind</groupId>
	  <artifactId>jaxb-impl</artifactId>
	  <version>2.3.0</version>
	</dependency>
	<dependency>
	    <groupId>javax.activation</groupId>
	    <artifactId>activation</artifactId>
	    <version>1.1.1</version>
	</dependency>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant