This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 5812
    
    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
 
Similar Threads
where do i add the reporting tag so that i get the maven test reports generated in surefire reports
Build problem with maven and eclipse web project
how do i send a email test report from maven
EJB test client working witthout maven
Maven - Unresolved references to [javax.activation, javax.annotation]