Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Dependencies not found in p2 local repo but they are all there


I am trying to add dependencies that are all present in my local p2 repo but every time I try to build a project using one of the dependencies present in my local p2 repo it reports back a not found error.

Missing requirement: 1.3.0.qualifier requires 'package org.antlr.stringtemplate 3.2.0' 

I was only successful in installing, deploying and using the lombok dependency from my p2 repo. Everything else doesn't work. The suggestion to install or deploy that dependency doesn't work. Am I doing something wrong? I tried substituting some dependencies with the same ones available in Maven central, but I haven't found corresponding dependencies for 3 dependencies. 

Result of mvn deploy for antlr.stringtemplate

klseck@NB0012213 MINGW64 ~/dev/p2repo
$ mvn deploy:deploy-file -DartifactId=antlr -Dversion=3.2 -Dpackaging=jar -Dfile=/C:/Users/klseck/dev/p2repo/plugins/ -Durl=/C:/Users/klseck/dev/p2repo/ -DrepositoryId=company-plugins
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO] --- maven-deploy-plugin:2.7:deploy-file (default-cli) @ standalone-pom ---
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.669 s
[INFO] Finished at: 2017-03-23T09:41:09-04:00
[INFO] Final Memory: 9M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (default-cli) on project standalone-pom: Failed to deploy artifacts/metadata: Cannot access C:/Users/klseck/dev/p2repo/ with type default using the available connector factories: BasicRepositoryConnectorFactory: Cannot access C:/Users/klseck/dev/p2repo/ using the registered transporter factories: WagonTransporterFactory: java.util.NoSuchElementException
[ERROR] role: org.apache.maven.wagon.Wagon
[ERROR] roleHint: c
[ERROR] -> [Help 1]
[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] For more information about the errors and possible solutions, please read the following articles:

Best regards, 

Khady L. Seck
Full Stack Java Developer
Tel: 438-830-4117

Back to the top