Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

maven descriptor for any IDE

 
andrey sobolev
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic