0

I have service based environment in which I have to create a jar and upload it dynamically to maven repository and return the dependency tree for it. Is there any library which will create a jar file and upload that jar file to maven repository and will return me dependecny of uploaded jar. Right now Im creating it with maven goals in eclipse but I don't want that.

Thanks,

pbhle
  • 2,856
  • 13
  • 33
  • 40

1 Answers1

3

If you don't want to use the command line or IDE, have you looked at the Maven API? There's also an 'undocumented' Maven embedder project.

Below are some links that may help you get started, pick the approach that is easier for you, while meeting your requirements:

rimero
  • 2,383
  • 1
  • 14
  • 8