-
Notifications
You must be signed in to change notification settings - Fork 151
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
Openllet error with mvn package #47
Comments
Hi,
the POM file for Openllet specifies Maven 3.5.2 as a prerequisite. I
suspect the errors might be a consequence of that.
Cheers,
Ignazio
…On Fri, 12 Jun 2020 at 11:26, mikael1234 ***@***.***> wrote:
Downloaded zip from https://github.com/Galigator/openllet
$ mvn package
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
com.google.inject.internal.cglib.core.$ReflectUtils$1
(file:/usr/share/maven/lib/guice.jar) to method
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of
com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
...
[ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:3.2.0 or one of
its dependencies could not be resolved: Failed to read artifact descriptor
for org.apache.maven.plugins:maven-jar-plugin:jar:3.2.0: Could not transfer
artifact org.apache.maven.plugins:maven-jar-plugin:pom:3.2.0 from/to
central (https://repo.maven.apache.org/maven2): Unexpected error:
java.security.InvalidAlgorithmParameterException: the trustAnchors
parameter must be non-empty -> [Help 1]
$ mvn --version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 14.0.1, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-14-oracle
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-174-generic", arch: "amd64", family:
"unix"
$ java --version
java 14.0.1 2020-04-14
Java(TM) SE Runtime Environment (build 14.0.1+7)
Java HotSpot(TM) 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
OS: Ubuntu 16.04.6 LTS
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#47>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAT2AJNM4GIATWYSV7JHHILRWH7F5ANCNFSM4N4GP56Q>
.
|
Hi, thanks for help!
Yes, for some reason apt installs old version. After installing maven
3.6.3 'mvn package' still says
[WARNING] The project
com.clarkparsia.pellet:pellet-parent:pom:2.4.0-SNAPSHOT uses
prerequisites which is only intended for maven-plugin projects but not
for non maven-plugin projects. For such purposes you should use the
maven-enforcer-plugin. See
https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
...
[ERROR] Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0 or one
of its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-enforcer-plugin:jar:1.0:
Could not transfer artifact
org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0 from/to central
(https://repo.maven.apache.org/maven2): Transfer failed for
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom:
Unexpected error: java.security.InvalidAlgorithmParameterException: the
trustAnchors parameter must be non-empty -> [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/PluginResolutionException
…On 13.6.2020 15:37, Ignazio Palmisano wrote:
Hi,
the POM file for Openllet specifies Maven 3.5.2 as a prerequisite. I
suspect the errors might be a consequence of that.
Cheers,
Ignazio
On Fri, 12 Jun 2020 at 11:26, mikael1234 ***@***.***> wrote:
> Downloaded zip from https://github.com/Galigator/openllet
>
> $ mvn package
>
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by
> com.google.inject.internal.cglib.core.$ReflectUtils$1
> (file:/usr/share/maven/lib/guice.jar) to method
>
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of
> com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future
release
>
> ...
> [ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:3.2.0 or one of
> its dependencies could not be resolved: Failed to read artifact
descriptor
> for org.apache.maven.plugins:maven-jar-plugin:jar:3.2.0: Could not
transfer
> artifact org.apache.maven.plugins:maven-jar-plugin:pom:3.2.0 from/to
> central (https://repo.maven.apache.org/maven2): Unexpected error:
> java.security.InvalidAlgorithmParameterException: the trustAnchors
> parameter must be non-empty -> [Help 1]
>
> $ mvn --version
> Apache Maven 3.3.9
> Maven home: /usr/share/maven
> Java version: 14.0.1, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-14-oracle
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.4.0-174-generic", arch: "amd64", family:
> "unix"
>
> $ java --version
> java 14.0.1 2020-04-14
> Java(TM) SE Runtime Environment (build 14.0.1+7)
> Java HotSpot(TM) 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
>
> OS: Ubuntu 16.04.6 LTS
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#47>, or unsubscribe
>
<https://github.com/notifications/unsubscribe-auth/AAT2AJNM4GIATWYSV7JHHILRWH7F5ANCNFSM4N4GP56Q>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIN4QN54H6NTMYVXYPSQ6TRWNXJ3ANCNFSM4N4GP56Q>.
|
Hi,
is this an error message from the other email thread? This mentions Pellet
and the enforcer plugin 1.0, while Openllett uses version 1.4.1 of that
plugin.
I've checked it locally and got different errors. I've made two changes to
the pom file to fix the issue:
<version>[10,15)</version>
changed to
<version>[10,20)</version>
(I believe there might be an error in how the Java version in use is
detected)
and removed
<module>plugin-protege</module>
which attempts to build the Protege plugin using a snapshot version, so not
likely to work if Protege hasn't been built on the same machine.
With those changes I got a successful build.
Cheers,
Ignazio
…On Mon, 15 Jun 2020 at 10:28, mikael1234 ***@***.***> wrote:
Hi, thanks for help!
Yes, for some reason apt installs old version. After installing maven
3.6.3 'mvn package' still says
[WARNING] The project
com.clarkparsia.pellet:pellet-parent:pom:2.4.0-SNAPSHOT uses
prerequisites which is only intended for maven-plugin projects but not
for non maven-plugin projects. For such purposes you should use the
maven-enforcer-plugin. See
https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
...
[ERROR] Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0 or one
of its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-enforcer-plugin:jar:1.0:
Could not transfer artifact
org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0 from/to central
(https://repo.maven.apache.org/maven2): Transfer failed for
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom:
Unexpected error: java.security.InvalidAlgorithmParameterException: the
trustAnchors parameter must be non-empty -> [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/PluginResolutionException
On 13.6.2020 15:37, Ignazio Palmisano wrote:
> Hi,
> the POM file for Openllet specifies Maven 3.5.2 as a prerequisite. I
> suspect the errors might be a consequence of that.
>
> Cheers,
> Ignazio
>
> On Fri, 12 Jun 2020 at 11:26, mikael1234 ***@***.***>
wrote:
>
> > Downloaded zip from https://github.com/Galigator/openllet
> >
> > $ mvn package
> >
> > WARNING: An illegal reflective access operation has occurred
> > WARNING: Illegal reflective access by
> > com.google.inject.internal.cglib.core.$ReflectUtils$1
> > (file:/usr/share/maven/lib/guice.jar) to method
> >
>
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> > WARNING: Please consider reporting this to the maintainers of
> > com.google.inject.internal.cglib.core.$ReflectUtils$1
> > WARNING: Use --illegal-access=warn to enable warnings of further
illegal
> > reflective access operations
> > WARNING: All illegal access operations will be denied in a future
> release
> >
> > ...
> > [ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:3.2.0 or one
of
> > its dependencies could not be resolved: Failed to read artifact
> descriptor
> > for org.apache.maven.plugins:maven-jar-plugin:jar:3.2.0: Could not
> transfer
> > artifact org.apache.maven.plugins:maven-jar-plugin:pom:3.2.0 from/to
> > central (https://repo.maven.apache.org/maven2): Unexpected error:
> > java.security.InvalidAlgorithmParameterException: the trustAnchors
> > parameter must be non-empty -> [Help 1]
> >
> > $ mvn --version
> > Apache Maven 3.3.9
> > Maven home: /usr/share/maven
> > Java version: 14.0.1, vendor: Oracle Corporation
> > Java home: /usr/lib/jvm/java-14-oracle
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "linux", version: "4.4.0-174-generic", arch: "amd64", family:
> > "unix"
> >
> > $ java --version
> > java 14.0.1 2020-04-14
> > Java(TM) SE Runtime Environment (build 14.0.1+7)
> > Java HotSpot(TM) 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
> >
> > OS: Ubuntu 16.04.6 LTS
> >
> > —
> > You are receiving this because you are subscribed to this thread.
> > Reply to this email directly, view it on GitHub
> > <#47>, or unsubscribe
> >
> <
https://github.com/notifications/unsubscribe-auth/AAT2AJNM4GIATWYSV7JHHILRWH7F5ANCNFSM4N4GP56Q
>
> > .
> >
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <
#47 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AEIN4QN54H6NTMYVXYPSQ6TRWNXJ3ANCNFSM4N4GP56Q
>.
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAT2AJO3OKQARZO4CDNBU7DRWXSSJANCNFSM4N4GP56Q>
.
|
Hi,
sorry if I mixed there two issues - I've posted for both Pellet and
openllet.
I made those two changes to openllet pom.xml but same warning and error
occur:
[WARNING] The project
com.github.galigator.openllet:openllet-parent:pom:2.6.6-SNAPSHOT uses
prerequisites which is only intended for maven-plugin projects but not
for non maven-plugin projects. For such purposes you should use the
maven-enforcer-plugin. See
https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
...
[ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:3.2.0 or one of
its dependencies could not be resolved: Failed to read artifact
descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:3.2.0:
Could not transfer artifact
org.apache.maven.plugins:maven-jar-plugin:pom:3.2.0 from/to central
(https://repo.maven.apache.org/maven2): Transfer failed for
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.2.0/maven-jar-plugin-3.2.0.pom:
Unexpected error: java.security.InvalidAlgorithmParameterException: the
trustAnchors parameter must be non-empty -> [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/PluginResolutionException
…On 16.6.2020 0:15, Ignazio Palmisano wrote:
Hi,
is this an error message from the other email thread? This mentions Pellet
and the enforcer plugin 1.0, while Openllett uses version 1.4.1 of that
plugin.
I've checked it locally and got different errors. I've made two changes to
the pom file to fix the issue:
<version>[10,15)</version>
changed to
<version>[10,20)</version>
(I believe there might be an error in how the Java version in use is
detected)
and removed
<module>plugin-protege</module>
which attempts to build the Protege plugin using a snapshot version,
so not
likely to work if Protege hasn't been built on the same machine.
With those changes I got a successful build.
Cheers,
Ignazio
On Mon, 15 Jun 2020 at 10:28, mikael1234 ***@***.***> wrote:
>
> Hi, thanks for help!
>
> Yes, for some reason apt installs old version. After installing maven
> 3.6.3 'mvn package' still says
>
> [WARNING] The project
> com.clarkparsia.pellet:pellet-parent:pom:2.4.0-SNAPSHOT uses
> prerequisites which is only intended for maven-plugin projects but not
> for non maven-plugin projects. For such purposes you should use the
> maven-enforcer-plugin. See
>
https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
> ...
> [ERROR] Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0 or one
> of its dependencies could not be resolved: Failed to read artifact
> descriptor for org.apache.maven.plugins:maven-enforcer-plugin:jar:1.0:
> Could not transfer artifact
> org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0 from/to central
> (https://repo.maven.apache.org/maven2): Transfer failed for
>
>
https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom:
>
> Unexpected error: java.security.InvalidAlgorithmParameterException: the
> trustAnchors parameter must be non-empty -> [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/PluginResolutionException
>
>
> On 13.6.2020 15:37, Ignazio Palmisano wrote:
> > Hi,
> > the POM file for Openllet specifies Maven 3.5.2 as a prerequisite. I
> > suspect the errors might be a consequence of that.
> >
> > Cheers,
> > Ignazio
> >
> > On Fri, 12 Jun 2020 at 11:26, mikael1234 ***@***.***>
> wrote:
> >
> > > Downloaded zip from https://github.com/Galigator/openllet
> > >
> > > $ mvn package
> > >
> > > WARNING: An illegal reflective access operation has occurred
> > > WARNING: Illegal reflective access by
> > > com.google.inject.internal.cglib.core.$ReflectUtils$1
> > > (file:/usr/share/maven/lib/guice.jar) to method
> > >
> >
>
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> > > WARNING: Please consider reporting this to the maintainers of
> > > com.google.inject.internal.cglib.core.$ReflectUtils$1
> > > WARNING: Use --illegal-access=warn to enable warnings of further
> illegal
> > > reflective access operations
> > > WARNING: All illegal access operations will be denied in a future
> > release
> > >
> > > ...
> > > [ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:3.2.0
or one
> of
> > > its dependencies could not be resolved: Failed to read artifact
> > descriptor
> > > for org.apache.maven.plugins:maven-jar-plugin:jar:3.2.0: Could not
> > transfer
> > > artifact org.apache.maven.plugins:maven-jar-plugin:pom:3.2.0 from/to
> > > central (https://repo.maven.apache.org/maven2): Unexpected error:
> > > java.security.InvalidAlgorithmParameterException: the trustAnchors
> > > parameter must be non-empty -> [Help 1]
> > >
> > > $ mvn --version
> > > Apache Maven 3.3.9
> > > Maven home: /usr/share/maven
> > > Java version: 14.0.1, vendor: Oracle Corporation
> > > Java home: /usr/lib/jvm/java-14-oracle
> > > Default locale: en_US, platform encoding: UTF-8
> > > OS name: "linux", version: "4.4.0-174-generic", arch: "amd64",
family:
> > > "unix"
> > >
> > > $ java --version
> > > java 14.0.1 2020-04-14
> > > Java(TM) SE Runtime Environment (build 14.0.1+7)
> > > Java HotSpot(TM) 64-Bit Server VM (build 14.0.1+7, mixed mode,
sharing)
> > >
> > > OS: Ubuntu 16.04.6 LTS
> > >
> > > —
> > > You are receiving this because you are subscribed to this thread.
> > > Reply to this email directly, view it on GitHub
> > > <#47>, or unsubscribe
> > >
> > <
>
https://github.com/notifications/unsubscribe-auth/AAT2AJNM4GIATWYSV7JHHILRWH7F5ANCNFSM4N4GP56Q
> >
> > > .
> > >
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> > <
>
#47 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AEIN4QN54H6NTMYVXYPSQ6TRWNXJ3ANCNFSM4N4GP56Q
> >.
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
>
<#47 (comment)>,
> or unsubscribe
>
<https://github.com/notifications/unsubscribe-auth/AAT2AJO3OKQARZO4CDNBU7DRWXSSJANCNFSM4N4GP56Q>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIN4QNBZRCA6HMF74BBNELRW2FPFANCNFSM4N4GP56Q>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Downloaded zip from https://github.com/Galigator/openllet
$ mvn package
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
...
[ERROR] Plugin org.apache.maven.plugins:maven-jar-plugin:3.2.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:3.2.0: Could not transfer artifact org.apache.maven.plugins:maven-jar-plugin:pom:3.2.0 from/to central (https://repo.maven.apache.org/maven2): Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty -> [Help 1]
$ mvn --version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 14.0.1, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-14-oracle
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-174-generic", arch: "amd64", family: "unix"
$ java --version
java 14.0.1 2020-04-14
Java(TM) SE Runtime Environment (build 14.0.1+7)
Java HotSpot(TM) 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
OS: Ubuntu 16.04.6 LTS
The text was updated successfully, but these errors were encountered: