Just my 0.02€: for simple projects, the dependency on Maven and the somewhat enforced structure does not always add much benefit, other than "you have to do it like this".
I've found eclipse projects (because this is the platform/IDE of choice for me) and ant build files are sufficient to "make it build" for various types of self-contained libraries/projects. But that's probably just me, who wants to see small and critical things build in a way that is observable and understandable, I've seen maven "do something" for 2 minutes, downloading I-don-t-know-what-for-why off the internet before I could use anything. Handling dependencies is never easy and most of the solutions tie you to to the solution, much like choosing between .deb and .rpm (and I do know of alien) That being said, it is always nice to have something which does "all things for you" but having the option to do a simple small compile yourself is a very, very good idea. -- Martin +372 515 6495 On Mon, Aug 5, 2013 at 10:50 AM, Frank Marien <[email protected]> wrote: > > On 08/04/13 17:47, Michael Traut wrote: >> Hello, >> >> For the deployment, we wanted to create a deliverable that is able to >> compile without much effort. We will have a look if we can manage this >> in a more standard way. >> >> > (for java) I would recommend using Maven if possible. > > http://maven.apache.org/ > > This implies creating a pom.xml file describing the project and its > dependencies. > Maven has all sorts of packaging and deployment plugins, and even an > eclipse plugin > that creates the eclipse project files for you. > > inside the project, running > > mvn eclipse:eclipse > > will do just that: after that command the project can be imported into > eclipse and ran, debugged, etc.. > In this way you can just ship your code + pom.xml, and have maven > download dependencies etc.. Makes it a lot easier for others, and for > everyone to to continuous builds etc.. > > build: > mvn clean install > > One step further is setting up a maven repository for your project: With > this in place everyone wanting to > use your code can just add a few dependency lines to their own pom.xml. > > I'd be happy to help you get started. > > -f > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com _______________________________________________ Muscle mailing list [email protected] http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com
