File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "maven descriptor for any IDE" Watch "maven descriptor for any IDE" New topic
Author

maven descriptor for any IDE

andrey sobolev
Greenhorn

Joined: May 16, 2011
Posts: 2
Hello!
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
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

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: http://aspose.com/file-tools
 
subject: maven descriptor for any IDE