Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 26th, 2012  |  syntax: None  |  size: 0.49 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How do I create/use a class library with Netbeans on top of Maven?
  2. - pom.xml (parent project)
  3. - library folder
  4.     - pom.xml
  5. - webapp folder
  6.     - pom.xml
  7.        
  8. <modules>
  9.     <module>library</module>
  10.     <module>webapp</module>
  11. </module>
  12.        
  13. <modelVersion>4.0.0</modelVersion>
  14. <parent>
  15.     <groupId>myGroupId</groupId>
  16.     <artifactId>parentArtifactId</artifactId>
  17.     <version>1.0-SNAPSHOT</version>
  18.     <relativePath>../pom.xml</relativePath>
  19. </parent>
  20. <artifactId>libraryArtifactId</artifactId>