Skip to main content

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

Seems related to the maven repository definition

Jeff

On Thu, Mar 23, 2017 at 2:46 PM, khady lo seck <khady.engineering@xxxxxxxxx> wrote:
Hello, 

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: com.company.model 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 -DgroupId=com.company.antlr.stringtemplate_3.2.0 -DartifactId=antlr -Dversion=3.2 -Dpackaging=jar -Dfile=/C:/Users/klseck/dev/p2repo/plugins/com.company.antlr.stringtemplate_3.2.0.jar -Durl=/C:/Users/klseck/dev/p2repo/ -DrepositoryId=company-plugins
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy-file (default-cli) @ standalone-pom ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[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]
[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:


--
Best regards, 

Khady L. Seck
Full Stack Java Developer

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top