Reputation: 263
We are developing with EMF outside Eclipse therefore using Maven for build. My question is where can I find EMF artifacts, and if yes which version.
BTW Is there any tool to automatically cross-publish Eclipse artifacts with sources to Maven repository?
Renat
Upvotes: 3
Views: 1123
Reputation: 11
I've patched maven-eclipse-plugin with proper handling of sources (it automatically uploads .source- plugins as a sources artifact) and I have added two additional properties:
I still need to submit the patch for it.
Upvotes: 1
Reputation: 328594
You must install/deploy them manually. I use this command line:
mvn eclipse:make-artifacts -DstripQualifier=true -DeclipseDir=.../eclipse
to get the artifacts into the local M2 repo.
After that, I run this script to move the source JARs to the right place for Maven to pick them up.
The easiest way to deploy them is to use Nexus or a similar Maven cache/proxy and copy the files in the right place.
Upvotes: 2