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

Error grabbing grapes #1

Open
ldevigne opened this issue Nov 26, 2018 · 3 comments
Open

Error grabbing grapes #1

ldevigne opened this issue Nov 26, 2018 · 3 comments

Comments

@ldevigne
Copy link

Hi, when trying to install "provision.sh", I have these errors :

General error during conversion: Error grabbing Grapes -- [unresolved dependency: org.apache.james#apache-mime4j;0.6: not found, unresolved dependency: com.sun.mail#javax.mail;1.5.6: not found, unresolved dependency: com.sun.xml.bin
d#jaxb-impl;2.2.7: not found, unresolved dependency: org.jboss.logging#jboss-logging-processor;2.0.1.Final: not found, unresolved dependency: org.jboss.logging#jboss-logging-annotations;2.0.1.Final: not found, unresolved dependency:
 net.jcip#jcip-annotations;1.0: not found, unresolved dependency: javax.activation#activation;1.1.1: not found, unresolved dependency: org.jboss.spec.javax.annotation#jboss-annotations-api_1.2_spec;1.0.0.Final: not found, unresolved
 dependency: org.jboss.spec.javax.ws.rs#jboss-jaxrs-api_2.0_spec;1.0.1.Beta1: not found, unresolved dependency: com.fasterxml.jackson.jaxrs#jackson-jaxrs-json-provider;2.8.6: not found, unresolved dependency: com.fasterxml.jackson.c
ore#jackson-annotations;2.8.6: not found, unresolved dependency: com.fasterxml.jackson.core#jackson-databind;2.8.6: not found, unresolved dependency: com.fasterxml.jackson.core#jackson-core;2.8.6: not found, unresolved dependency: o
rg.jboss.spec.javax.servlet#jboss-servlet-api_3.1_spec;1.0.0.Final: not found, unresolved dependency: org.sonatype.nexus#nexus-script;3.5.1-02: not found, unresolved dependency: org.sonatype.nexus#nexus-rest-jackson2;3.5.1-02: not f
ound, unresolved dependency: org.sonatype.nexus#nexus-rest-client;3.5.1-02: not found]

java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: org.apache.james#apache-mime4j;0.6: not found, unresolved dependency: com.sun.mail#javax.mail;1.5.6: not found, unresolved dependency: com.sun.xml.bind#jax
b-impl;2.2.7: not found, unresolved dependency: org.jboss.logging#jboss-logging-processor;2.0.1.Final: not found, unresolved dependency: org.jboss.logging#jboss-logging-annotations;2.0.1.Final: not found, unresolved dependency: net.
jcip#jcip-annotations;1.0: not found, unresolved dependency: javax.activation#activation;1.1.1: not found, unresolved dependency: org.jboss.spec.javax.annotation#jboss-annotations-api_1.2_spec;1.0.0.Final: not found, unresolved depe
ndency: org.jboss.spec.javax.ws.rs#jboss-jaxrs-api_2.0_spec;1.0.1.Beta1: not found, unresolved dependency: com.fasterxml.jackson.jaxrs#jackson-jaxrs-json-provider;2.8.6: not found, unresolved dependency: com.fasterxml.jackson.core#j
ackson-annotations;2.8.6: not found, unresolved dependency: com.fasterxml.jackson.core#jackson-databind;2.8.6: not found, unresolved dependency: com.fasterxml.jackson.core#jackson-core;2.8.6: not found, unresolved dependency: org.jb
oss.spec.javax.servlet#jboss-servlet-api_3.1_spec;1.0.0.Final: not found, unresolved dependency: org.sonatype.nexus#nexus-script;3.5.1-02: not found, unresolved dependency: org.sonatype.nexus#nexus-rest-jackson2;3.5.1-02: not found,
 unresolved dependency: org.sonatype.nexus#nexus-rest-client;3.5.1-02: not found]
@hlavki
Copy link
Owner

hlavki commented Nov 27, 2018

@ldevigne, what is your version of nexus?

@ldevigne
Copy link
Author

ldevigne commented Nov 27, 2018 via email

@j3ffrw
Copy link

j3ffrw commented Jul 17, 2020

@ldevigne and for those who are still having this error, edit the file grapeConfig.xml and add your own repository or any other public mirror repository like this and comment out localm2 and central.
<ibiblio name="org" root="http://internal-repo:8080/repository/maven-public/" m2compatible="true"/>

Tested working on
Nexus OSS 3.15.0-01
groovy --version
Groovy Version: 3.0.4 JVM: 1.8.0_252 Vendor: AdoptOpenJDK OS: Linux

Thanks to @hlavki for sharing this script, it made grooming artifacts much easier.

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

3 participants