Advertisement
Guest User

Untitled

a guest
Jun 18th, 2013
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. <build>
  2. <plugins>
  3. <plugin>
  4. <artifactId>maven-jar-plugin</artifactId>
  5. <version>2.4</version>
  6. <configuration>
  7. <archive>
  8. <manifest>
  9. <addClasspath>true</addClasspath>
  10. <classpathPrefix>lib/</classpathPrefix>
  11. <mainClass>net.qbaka.aggregator.AggregatorServer</mainClass>
  12. </manifest>
  13. </archive>
  14. <outputDirectory>${project.build.directory}/artifact</outputDirectory>
  15. </configuration>
  16. </plugin>
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-dependency-plugin</artifactId>
  20. <version>2.7</version>
  21. <executions>
  22. <execution>
  23. <id>copy-dependencies</id>
  24. <phase>package</phase>
  25. <goals>
  26. <goal>copy-dependencies</goal>
  27. </goals>
  28. <configuration>
  29. <outputDirectory>${project.build.directory}/artifact/lib</outputDirectory>
  30. <overWriteReleases>false</overWriteReleases>
  31. <overWriteSnapshots>false</overWriteSnapshots>
  32. <overWriteIfNewer>true</overWriteIfNewer>
  33. </configuration>
  34. </execution>
  35. </executions>
  36. </plugin>
  37. <plugin>
  38. <artifactId>maven-antrun-plugin</artifactId>
  39. <version>1.7</version>
  40. <executions>
  41. <execution>
  42. <phase>prepare-package</phase>
  43. <configuration>
  44. <target>
  45. <copy file="${project.basedir}/settings_production"
  46. tofile="${project.build.directory}/artifact/settings"/>
  47. <copy todir="${project.build.directory}/artifact/templates" >
  48. <fileset dir="${project.basedir}/templates"/>
  49. </copy>
  50. </target>
  51. </configuration>
  52. <goals>
  53. <goal>run</goal>
  54. </goals>
  55. </execution>
  56. </executions>
  57. </plugin>
  58. </plugins>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement