Is it possible to export my maven Java project on Eclipse to users that do not have maven or the eclipse maven plugin? The first question that comes to my mind is how to force all the dependencies to be included with the export.
I want to make it easier for people who are not using Maven to import my project on Eclipse and use it, in other words, i want to generate a zip with the project that can be imported by eclipse for users not using maven or m2eclipse.
Any magic here?
Any magic here?
No, no magic. You'll have to:
./lib
../lib
../lib
, the eclipse configuration files into some archive.1. and 3. are doable with the Maven Assembly Plugin. For 2. the GMaven plugin might help. Or maybe do it manually. One could actually imagine extending the Maven Eclipse Plugin to provide some kind of eclipse:export
goal, this would be much better.
But let me warn you, this won't be easy at all and honestly, it would be wayyyy more easy for everybody to either use Maven and eclipse:eclipse
or m2eclipse.