• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using the m2eclipse plugin?
 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic