Guest User

Untitled

a guest
Mar 3rd, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  4. <modelVersion>4.0.0</modelVersion>
  5.  
  6. <parent>
  7. <groupId>com.fakeneth.mydynamicsql</groupId>
  8. <artifactId>mydynamicsql-parent</artifactId>
  9. <version>0.0.1-SNAPSHOT</version>
  10. </parent>
  11.  
  12. <artifactId>mydynamicsql-standalone</artifactId>
  13. <name>mydynamicsql-standalone</name>
  14.  
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. </properties>
  18.  
  19. <build>
  20. <defaultGoal>clean install</defaultGoal>
  21. <sourceDirectory>src/main/java</sourceDirectory>
  22. <testSourceDirectory>src/test/java</testSourceDirectory>
  23. <resources>
  24. <resource>
  25. <directory>src/main/resources</directory>
  26. <filtering>true</filtering>
  27. <excludes>
  28. <exclude>**/*.java</exclude>
  29. </excludes>
  30. </resource>
  31. </resources>
  32. <plugins>
  33. <plugin>
  34. <groupId>com.mycila</groupId>
  35. <artifactId>license-maven-plugin</artifactId>
  36. </plugin>
  37.  
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-shade-plugin</artifactId>
  41. <version>2.4.3</version>
  42. <executions>
  43. <execution>
  44. <phase>package</phase>
  45. <goals>
  46. <goal>shade</goal>
  47. </goals>
  48. <configuration>
  49. <shadedArtifactAttached>true</shadedArtifactAttached>
  50. <createDependencyReducedPom>false</createDependencyReducedPom>
  51. <relocations>
  52. <relocation>
  53. <pattern>mysql</pattern>
  54. <shadedPattern>mysql.shaded</shadedPattern>
  55. </relocation>
  56. </relocations>
  57. <artifactSet>
  58. <excludes>
  59. <exclude>com.fakeneth.mydynamicsql:mydynamicsql-core</exclude>
  60. <exclude>junit:junit</exclude>
  61. </excludes>
  62. </artifactSet>
  63. </configuration>
  64. </execution>
  65. </executions>
  66. </plugin>
  67.  
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-surefire-plugin</artifactId>
  71. </plugin>
  72. </plugins>
  73. </build>
  74.  
  75. <dependencies>
  76. <dependency>
  77. <groupId>com.fakeneth.mydynamicsql</groupId>
  78. <artifactId>mydynamicsql-core</artifactId>
  79. <version>${project.parent.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>junit</groupId>
  83. <artifactId>junit</artifactId>
  84. <version>3.8.1</version>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>mysql</groupId>
  89. <artifactId>mysql-connector-java</artifactId>
  90. <version>5.1.38</version>
  91. </dependency>
  92. </dependencies>
  93.  
  94. </project>
Add Comment
Please, Sign In to add comment