This content has been marked as final.
Show 3 replies
-
1. Re: Build file for EAR project
pmm Nov 11, 2013 4:41 AM (in response to aanshu_2302)Maven and Ant do different things:
- Ant is more or less Make in XML with the option to add custom targets. You "script" the whole build. You'll probably want to use Ivy for dependency management.
- Maven is much more intrusive and most of the time you end up configuring plugins. There's much less "free styling" you can do but Maven can do a lot of things "for free" (tagging, running tests, javadoc, ...). These days it's en vogue to hate on Maven and use something like Gradle.
Personally I prefer Maven but it requires more initial investment in the corporate build infrastructure (Nexus, company parent POM, ...) and learning but will pay off once you do multiple projects. If you want an example for how to use Maven check out
-
2. Re: Build file for EAR project
wdfink Nov 11, 2013 8:01 AM (in response to aanshu_2302)You might have a look to the JDF quicstarts, there are many examples and you will find an example that builds an ear (i.e. ejb-in-ear: Deployment of an EAR Containing a JSF WAR and an EJB JAR)
-
3. Re: Build file for EAR project
rhusar Nov 11, 2013 8:06 AM (in response to aanshu_2302)Should I use Maven or Ant?
Start with Maven.