/maven-deployer/tags/maven-deployer-1.0/pom.xml

http://mycila.googlecode.com/ · XML · 339 lines · 291 code · 19 blank · 29 comment · 0 complexity · bbb9bf7e59fc41dc11e94e8ac33e081e 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. <!--
  4. POM settings
  5. -->
  6. <groupId>maven.maven-deployer</groupId>
  7. <artifactId>maven-deployer</artifactId>
  8. <version>1.0</version>
  9. <packaging>jar</packaging>
  10. <name>maven-deployer</name>
  11. <description>GUI to deploy artifacts</description>
  12. <url>http://code.mycila.com/</url>
  13. <inceptionYear>2008</inceptionYear>
  14. <!--
  15. Properties
  16. -->
  17. <properties>
  18. <jdk.version>1.5</jdk.version>
  19. </properties>
  20. <!--
  21. Versionning system
  22. -->
  23. <scm>
  24. <connection>scm:svn:http://mycila.googlecode.com/svn/maven-deployer/tags/maven-deployer-1.0</connection>
  25. <developerConnection>scm:svn:https://mycila.googlecode.com/svn/maven-deployer/tags/maven-deployer-1.0</developerConnection>
  26. <url>http://mycila.googlecode.com/svn/maven-deployer/tags/maven-deployer-1.0</url>
  27. </scm>
  28. <!--
  29. Project settings
  30. -->
  31. <!--
  32. Distributions
  33. -->
  34. <distributionManagement>
  35. <repository>
  36. <id>mc-release</id>
  37. <name>Alternate Maven repository of releases</name>
  38. <url>dav:https://mc-repo.googlecode.com/svn/maven2/releases</url>
  39. </repository>
  40. <snapshotRepository>
  41. <id>mc-snapshot</id>
  42. <name>Alternate Maven repository of snapshots</name>
  43. <url>dav:https://mc-repo.googlecode.com/svn/maven2/snapshots</url>
  44. <uniqueVersion>false</uniqueVersion>
  45. </snapshotRepository>
  46. <site>
  47. <id>website</id>
  48. <name>website</name>
  49. <url>file://${basedir}/target/dist/site/mycila-testing/</url>
  50. </site>
  51. </distributionManagement>
  52. <!--
  53. BUILD
  54. -->
  55. <prerequisites>
  56. <maven>2.0.9</maven>
  57. </prerequisites>
  58. <build>
  59. <finalName>maven-deployer</finalName>
  60. <extensions>
  61. <extension>
  62. <groupId>org.apache.maven.wagon</groupId>
  63. <artifactId>wagon-webdav</artifactId>
  64. <version>1.0-beta-2</version>
  65. </extension>
  66. </extensions>
  67. <plugins>
  68. <!-- for maven plugins -->
  69. <plugin>
  70. <artifactId>maven-plugin-plugin</artifactId>
  71. </plugin>
  72. <plugin>
  73. <artifactId>maven-clean-plugin</artifactId>
  74. <configuration>
  75. <filesets>
  76. <fileset>
  77. <directory>.clover</directory>
  78. </fileset>
  79. <fileset>
  80. <directory>test-output</directory>
  81. </fileset>
  82. </filesets>
  83. </configuration>
  84. </plugin>
  85. <!-- IDE descriptors -->
  86. <plugin>
  87. <artifactId>maven-eclipse-plugin</artifactId>
  88. <configuration>
  89. <downloadSources>true</downloadSources>
  90. <downloadJavadocs>false</downloadJavadocs>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <artifactId>maven-idea-plugin</artifactId>
  95. <configuration>
  96. <downloadSources>true</downloadSources>
  97. <downloadJavadocs>false</downloadJavadocs>
  98. </configuration>
  99. </plugin>
  100. <!-- compilation -->
  101. <plugin>
  102. <artifactId>maven-compiler-plugin</artifactId>
  103. <configuration>
  104. <source>${jdk.version}</source>
  105. <target>${jdk.version}</target>
  106. </configuration>
  107. </plugin>
  108. <!-- testing -->
  109. <plugin>
  110. <artifactId>maven-surefire-plugin</artifactId>
  111. <configuration>
  112. <parallel>false</parallel>
  113. <threadCount>5</threadCount>
  114. </configuration>
  115. </plugin>
  116. <!-- packaging -->
  117. <plugin>
  118. <artifactId>maven-source-plugin</artifactId>
  119. <executions>
  120. <execution>
  121. <id>attach-sources</id>
  122. <goals>
  123. <goal>jar</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. <plugin>
  129. <artifactId>maven-remote-resources-plugin</artifactId>
  130. <executions>
  131. <execution>
  132. <goals>
  133. <goal>process</goal>
  134. </goals>
  135. <configuration>
  136. <resourceBundles>
  137. <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
  138. </resourceBundles>
  139. </configuration>
  140. </execution>
  141. </executions>
  142. </plugin>
  143. <plugin>
  144. <artifactId>maven-jar-plugin</artifactId>
  145. <configuration>
  146. <archive>
  147. <manifest>
  148. <mainClass>com.mycila.maven.ui.MavenDeployer</mainClass>
  149. <addClasspath>false</addClasspath>
  150. </manifest>
  151. </archive>
  152. </configuration>
  153. </plugin>
  154. <plugin>
  155. <artifactId>maven-assembly-plugin</artifactId>
  156. <configuration>
  157. <archive>
  158. <manifest>
  159. <mainClass>com.mycila.maven.ui.MavenDeployer</mainClass>
  160. <addClasspath>false</addClasspath>
  161. </manifest>
  162. </archive>
  163. <descriptors>
  164. <descriptor>${basedir}/src/main/assembly/project.xml</descriptor>
  165. <descriptor>${basedir}/src/main/assembly/dependencies.xml</descriptor>
  166. <descriptor>${basedir}/src/main/assembly/dist.xml</descriptor>
  167. </descriptors>
  168. </configuration>
  169. <executions>
  170. <execution>
  171. <id>make-assembly</id>
  172. <phase>package</phase>
  173. <goals>
  174. <goal>attached</goal>
  175. </goals>
  176. </execution>
  177. </executions>
  178. </plugin>
  179. <!-- releasing -->
  180. <plugin>
  181. <artifactId>maven-deploy-plugin</artifactId>
  182. <configuration>
  183. <updateReleaseInfo>true</updateReleaseInfo>
  184. </configuration>
  185. </plugin>
  186. <plugin>
  187. <artifactId>maven-release-plugin</artifactId>
  188. </plugin>
  189. <!-- documentation -->
  190. <plugin>
  191. <artifactId>maven-site-plugin</artifactId>
  192. <configuration>
  193. <locales>en</locales>
  194. </configuration>
  195. </plugin>
  196. <plugin>
  197. <inherited>false</inherited>
  198. <groupId>com.google.code.maven-license-plugin</groupId>
  199. <artifactId>maven-license-plugin</artifactId>
  200. <version>1.4.0</version>
  201. <configuration>
  202. <header>${basedir}/src/main/etc/header.txt</header>
  203. <failIfMissing>true</failIfMissing>
  204. <aggregate>true</aggregate>
  205. <properties>
  206. <owner>Mathieu Carbou</owner>
  207. <year>${project.inceptionYear}</year>
  208. <email>mathieu.carbou@gmail.com</email>
  209. </properties>
  210. <excludes>
  211. <exclude>LICENSE.txt</exclude>
  212. <exclude>**/src/test/resources/**</exclude>
  213. <exclude>**/src/test/data/**</exclude>
  214. </excludes>
  215. </configuration>
  216. <executions>
  217. <execution>
  218. <id>check-headers</id>
  219. <phase>verify</phase>
  220. <goals>
  221. <goal>check</goal>
  222. </goals>
  223. </execution>
  224. </executions>
  225. </plugin>
  226. </plugins>
  227. </build>
  228. <reporting>
  229. <plugins>
  230. <plugin>
  231. <artifactId>maven-javadoc-plugin</artifactId>
  232. <configuration>
  233. <quiet>true</quiet>
  234. </configuration>
  235. <reportSets>
  236. <reportSet>
  237. <reports>
  238. <report>javadoc</report>
  239. </reports>
  240. <configuration>
  241. <links>
  242. <link>http://java.sun.com/javase/6/docs/api/</link>
  243. </links>
  244. </configuration>
  245. </reportSet>
  246. </reportSets>
  247. </plugin>
  248. <plugin>
  249. <artifactId>maven-jxr-plugin</artifactId>
  250. <configuration>
  251. <linkJavadoc>true</linkJavadoc>
  252. </configuration>
  253. </plugin>
  254. <plugin>
  255. <artifactId>maven-changelog-plugin</artifactId>
  256. <configuration>
  257. <displayFileDetailUrl>http://mycila.googlecode.com/svn%FILE%</displayFileDetailUrl>
  258. </configuration>
  259. </plugin>
  260. <plugin>
  261. <artifactId>maven-pmd-plugin</artifactId>
  262. <configuration>
  263. <linkXref>true</linkXref>
  264. <targetJdk>${jdk.version}</targetJdk>
  265. <minimumTokens>100</minimumTokens>
  266. <rulesets>
  267. <!-- Rule sets that come bundled with PMD -->
  268. <ruleset>/rulesets/basic.xml</ruleset>
  269. <ruleset>/rulesets/braces.xml</ruleset>
  270. <ruleset>/rulesets/finalizers.xml</ruleset>
  271. <ruleset>/rulesets/imports.xml</ruleset>
  272. <ruleset>/rulesets/migrating.xml</ruleset>
  273. <ruleset>/rulesets/strings.xml</ruleset>
  274. <ruleset>/rulesets/unusedcode.xml</ruleset>
  275. </rulesets>
  276. </configuration>
  277. </plugin>
  278. <plugin>
  279. <groupId>org.codehaus.mojo</groupId>
  280. <artifactId>jdepend-maven-plugin</artifactId>
  281. </plugin>
  282. <plugin>
  283. <groupId>org.codehaus.mojo</groupId>
  284. <artifactId>javancss-maven-plugin</artifactId>
  285. </plugin>
  286. <plugin>
  287. <groupId>org.codehaus.mojo</groupId>
  288. <artifactId>taglist-maven-plugin</artifactId>
  289. <configuration>
  290. <tags>
  291. <tag>TODO</tag>
  292. <tag>FIXME</tag>
  293. <tag>@todo</tag>
  294. <tag>@fixme</tag>
  295. <tag>@deprecated</tag>
  296. </tags>
  297. </configuration>
  298. </plugin>
  299. <plugin>
  300. <groupId>org.codehaus.mojo</groupId>
  301. <artifactId>cobertura-maven-plugin</artifactId>
  302. </plugin>
  303. </plugins>
  304. </reporting>
  305. <!--
  306. LIBS
  307. -->
  308. <dependencies>
  309. <dependency>
  310. <groupId>org.swinglabs</groupId>
  311. <artifactId>swing-worker</artifactId>
  312. <version>1.1</version>
  313. </dependency>
  314. <dependency>
  315. <groupId>com.google.code.xmltool</groupId>
  316. <artifactId>xmltool</artifactId>
  317. <version>1.4</version>
  318. </dependency>
  319. </dependencies>
  320. </project>