Advertisement
ArranUbels

Untitled

May 16th, 2013
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. <build>
  2. <plugins>
  3. <plugin>
  4. <groupId>org.apache.maven.plugins</groupId>
  5. <artifactId>maven-jar-plugin</artifactId>
  6. <version>2.4</version>
  7. <configuration>
  8. <archive>
  9. <manifest>
  10. <mainClass>server.WebServer</mainClass>
  11. <classpathPrefix>/</classpathPrefix>
  12. <addClasspath>true</addClasspath>
  13. </manifest>
  14. </archive>
  15. </configuration>
  16. </plugin>
  17. <plugin>
  18. <artifactId>maven-assembly-plugin</artifactId>
  19. <configuration>
  20. <archive>
  21. <manifest>
  22. <mainClass>server.WebServer</mainClass>
  23. </manifest>
  24. </archive>
  25. <descriptorRefs>
  26. <descriptorRef>jar-with-dependencies</descriptorRef>
  27. </descriptorRefs>
  28. </configuration>
  29. <executions>
  30. <execution>
  31. <id>make-assembly</id>
  32. <!-- this is used for inheritance merges -->
  33. <phase>package</phase>
  34. <!-- bind to the packaging phase -->
  35. <goals>
  36. <goal>single</goal>
  37. </goals>
  38. </execution>
  39. </executions>
  40. </plugin>
  41.  
  42. </plugins>
  43. </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement