/mycila-plugin/trunk/pom.xml

http://mycila.googlecode.com/ · XML · 260 lines · 240 code · 16 blank · 4 comment · 0 complexity · 7d17253d40493c2225368391f051aa0c MD5 · raw file

  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>com.mycila</groupId>
  4. <artifactId>mycila-plugin</artifactId>
  5. <version>2.0-SNAPSHOT</version>
  6. <packaging>jar</packaging>
  7. <name>mycila-plugin</name>
  8. <description>Plugin Framework</description>
  9. <url>http://code.mycila.com/</url>
  10. <inceptionYear>2010</inceptionYear>
  11. <prerequisites>
  12. <maven>2.2.1</maven>
  13. </prerequisites>
  14. <properties>
  15. <jdk.version>1.6</jdk.version>
  16. </properties>
  17. <scm>
  18. <connection>scm:svn:https://mycila.googlecode.com/svn/mycila-plugin/trunk</connection>
  19. <developerConnection>scm:svn:https://mycila.googlecode.com/svn/mycila-plugin/trunk</developerConnection>
  20. <url>http://mycila.googlecode.com/svn/mycila-plugin/trunk</url>
  21. </scm>
  22. <organization>
  23. <name>Mycila</name>
  24. <url>http://www.mycila.com/</url>
  25. </organization>
  26. <licenses>
  27. <license>
  28. <name>The Apache Software License, Version 2.0</name>
  29. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  30. <distribution>repo</distribution>
  31. </license>
  32. </licenses>
  33. <developers>
  34. <developer>
  35. <id>mathieu.carbou</id>
  36. <name>Mathieu Carbou</name>
  37. <email>mathieu.carbou@gmail.com</email>
  38. <url>http://mathieu.carbou.free.fr/</url>
  39. <organization>Mycila</organization>
  40. <organizationUrl>http://www.mycila.com/</organizationUrl>
  41. <timezone>-5</timezone>
  42. <roles>
  43. <role>project owner</role>
  44. <role>developer</role>
  45. </roles>
  46. </developer>
  47. </developers>
  48. <issueManagement>
  49. <system>Google Code</system>
  50. <url>http://code.google.com/p/mycila/issues/list</url>
  51. </issueManagement>
  52. <ciManagement/>
  53. <mailingLists>
  54. <mailingList>
  55. <name>mycila</name>
  56. <subscribe>mycila-subscribe@googlegroups.com</subscribe>
  57. <unsubscribe>mycila-unsubscribe@googlegroups.com</unsubscribe>
  58. <archive>http://groups.google.com/group/mycila/</archive>
  59. </mailingList>
  60. </mailingLists>
  61. <distributionManagement>
  62. <repository>
  63. <id>mc-release</id>
  64. <name>Alternate Maven repository of releases</name>
  65. <url>dav:https://mc-repo.googlecode.com/svn/maven2/releases</url>
  66. </repository>
  67. <snapshotRepository>
  68. <id>mc-snapshot</id>
  69. <name>Alternate Maven repository of snapshots</name>
  70. <url>dav:https://mc-repo.googlecode.com/svn/maven2/snapshots</url>
  71. <uniqueVersion>false</uniqueVersion>
  72. </snapshotRepository>
  73. <site>
  74. <id>website</id>
  75. <name>website</name>
  76. <url>file://${basedir}/target/dist/site/${project.artifactId}</url>
  77. </site>
  78. </distributionManagement>
  79. <build>
  80. <extensions>
  81. <extension>
  82. <groupId>org.apache.maven.wagon</groupId>
  83. <artifactId>wagon-webdav</artifactId>
  84. <version>1.0-beta-2</version>
  85. </extension>
  86. </extensions>
  87. <plugins>
  88. <plugin>
  89. <artifactId>maven-compiler-plugin</artifactId>
  90. <configuration>
  91. <source>${jdk.version}</source>
  92. <target>${jdk.version}</target>
  93. </configuration>
  94. </plugin>
  95. <plugin>
  96. <artifactId>maven-source-plugin</artifactId>
  97. <executions>
  98. <execution>
  99. <id>attach-sources</id>
  100. <goals>
  101. <goal>jar</goal>
  102. </goals>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. <plugin>
  107. <artifactId>maven-remote-resources-plugin</artifactId>
  108. <executions>
  109. <execution>
  110. <goals>
  111. <goal>process</goal>
  112. </goals>
  113. <configuration>
  114. <resourceBundles>
  115. <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
  116. </resourceBundles>
  117. </configuration>
  118. </execution>
  119. </executions>
  120. </plugin>
  121. <plugin>
  122. <artifactId>maven-shade-plugin</artifactId>
  123. <executions>
  124. <execution>
  125. <id>standard</id>
  126. <phase>package</phase>
  127. <goals>
  128. <goal>shade</goal>
  129. </goals>
  130. <configuration>
  131. <shadedArtifactAttached>false</shadedArtifactAttached>
  132. <createSourcesJar>true</createSourcesJar>
  133. <artifactSet>
  134. <includes>
  135. <include>org.jgrapht:jgrapht</include>
  136. <include>aopalliance:aopalliance</include>
  137. </includes>
  138. </artifactSet>
  139. <relocations>
  140. <relocation>
  141. <pattern>org.jgrapht</pattern>
  142. <shadedPattern>com.mycila.plugin.internal.jgrapht</shadedPattern>
  143. </relocation>
  144. <relocation>
  145. <pattern>org.aopalliance</pattern>
  146. <shadedPattern>com.mycila.plugin.internal.aopalliance</shadedPattern>
  147. </relocation>
  148. </relocations>
  149. <filters>
  150. <filter>
  151. <artifact>org.jgrapht:jgrapht</artifact>
  152. <excludes>
  153. <exclude>org/jgrapht/demo/**</exclude>
  154. <exclude>org/jgrapht/experimental/**</exclude>
  155. <exclude>org/jgrapht/ext/**</exclude>
  156. <exclude>org/jgrapht/generate/**</exclude>
  157. </excludes>
  158. </filter>
  159. </filters>
  160. </configuration>
  161. </execution>
  162. </executions>
  163. </plugin>
  164. <plugin>
  165. <groupId>com.mycila.maven-license-plugin</groupId>
  166. <artifactId>maven-license-plugin</artifactId>
  167. <version>1.6.1</version>
  168. <configuration>
  169. <header>${basedir}/src/main/etc/header.txt</header>
  170. <failIfMissing>true</failIfMissing>
  171. <properties>
  172. <owner>Mathieu Carbou</owner>
  173. <year>${project.inceptionYear}</year>
  174. <email>mathieu.carbou@gmail.com</email>
  175. </properties>
  176. <excludes>
  177. <exclude>LICENSE.txt</exclude>
  178. <exclude>src/test/resources/**</exclude>
  179. <exclude>dependency-reduced-pom.xml</exclude>
  180. </excludes>
  181. </configuration>
  182. <executions>
  183. <execution>
  184. <goals>
  185. <goal>check</goal>
  186. </goals>
  187. </execution>
  188. </executions>
  189. </plugin>
  190. </plugins>
  191. </build>
  192. <dependencies>
  193. <!-- deps -->
  194. <dependency>
  195. <groupId>com.google.inject</groupId>
  196. <artifactId>guice</artifactId>
  197. <version>3.0-20100723</version>
  198. <optional>true</optional>
  199. </dependency>
  200. <dependency>
  201. <groupId>aopalliance</groupId>
  202. <artifactId>aopalliance</artifactId>
  203. <version>1.0</version>
  204. </dependency>
  205. <!-- embedded - could be made public a day -->
  206. <dependency>
  207. <groupId>org.jgrapht</groupId>
  208. <artifactId>jgrapht</artifactId>
  209. <version>0.8.1</version>
  210. </dependency>
  211. <!-- optional features -->
  212. <dependency>
  213. <groupId>asm</groupId>
  214. <artifactId>asm</artifactId>
  215. <version>3.2</version>
  216. <optional>true</optional>
  217. </dependency>
  218. <dependency>
  219. <groupId>cglib</groupId>
  220. <artifactId>cglib</artifactId>
  221. <version>2.2</version>
  222. <optional>true</optional>
  223. </dependency>
  224. <!-- testing -->
  225. <dependency>
  226. <groupId>junit</groupId>
  227. <artifactId>junit</artifactId>
  228. <version>4.8.1</version>
  229. <scope>test</scope>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.mockito</groupId>
  233. <artifactId>mockito-core</artifactId>
  234. <version>1.8.5</version>
  235. <scope>test</scope>
  236. </dependency>
  237. <dependency>
  238. <groupId>com.google</groupId>
  239. <artifactId>guava</artifactId>
  240. <version>r05</version>
  241. <scope>test</scope>
  242. </dependency>
  243. </dependencies>
  244. </project>