File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do you use in maven ear to build your ear in dev env?

 
avihai marchiano
Ranch Hand
Posts: 342
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

Maven is great for building the project in the integration machine , but as concern for use in the development environment its not so useful(unless you have some clever advice for me).

suppose i have application which is deployed as an ear file.

my issues:
1. in eclipse i change some sources from different projects , now when i want to publish the ear to the server i need to build all projects before building the ear (which can take 15 minutes). build only the changed project and after that build the ear is not convenient .

2. when i run maven the eclipse which is use in the same output folders like maven getting crazy and show comilation errors.

wait for your clever advices.

Thank you
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using the m2eclipse plugin?
 
avihai marchiano
Ranch Hand
Posts: 342
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How it can help me with this?

I know this plugin, but i dont know how it can help here?
he can run the maven goals from eclipse,but run maven install from eclipse has the same problems ,like running it from the CLI.

1. in case of the ear - run mvn install without run mvn install on the changed project will not create update ear
2. in case of ear - run mvn install and publish it to the server will re-deploy the application (unlike WTP,which publish only the changed files)
3. run mvn install from eclipse will build the classes outside of eclipse , which cause to eclipse to get crazy.

Thank you a lot.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic