my dog learned polymorphism
The moose likes Ant, Maven and Other Build Tools and the fly likes maven descriptor for any IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "maven descriptor for any IDE" Watch "maven descriptor for any IDE" New topic

maven descriptor for any IDE

andrey sobolev

Joined: May 16, 2011
Posts: 2
I need to do a maven descriptor that should be independent from IDE.Eclipse, Netbeans or Intellij Idea - does not matter. At first, in pom.xml I wrote code for eclipse and idea

But now, I should add description for netbeans, don't know how. I read the official maven docs, but don't found.
Maby anyone worked with it and can help please?
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Might I ask why you are adding the eclipse and idea plugins to your pom.xml? Just because you edit code in a particular IDE doesn't mean that you need to include a Maven plugin for it in your pom.xml. Usually what you want to do is see if your IDE has built-in support for Maven or if not then find a plugin for your IDE to support Maven: note that this would be an IDE plugin, not a Maven plugin! For example, if you download Eclipse for Java Developers, Maven support is already included (via the m2eclipse plugin), but if you download Eclipse for Java EE Developers, then you have to go to the Eclipse Marketplace and install m2eclipse to get Maven support.

JBoss In Action
I agree. Here's the link:
subject: maven descriptor for any IDE
It's not a secret anymore!