/hudson-remoting/pom.xml

http://github.com/hudson/hudson · XML · 151 lines · 124 code · 13 blank · 14 comment · 0 complexity · 24608ffa4bde45a19254f0d5b4e42307 MD5 · raw file

  1. <!-- The MIT License Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Daniel Dyer, Stephen Connolly Permission is hereby granted,
  2. free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software
  3. without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
  4. of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice
  5. and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
  6. WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  7. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  8. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -->
  9. <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">
  10. <modelVersion>4.0.0</modelVersion>
  11. <parent>
  12. <groupId>org.jvnet.hudson.main</groupId>
  13. <artifactId>hudson</artifactId>
  14. <version>2.2.2-SNAPSHOT</version>
  15. </parent>
  16. <artifactId>hudson-remoting</artifactId>
  17. <packaging>jar</packaging>
  18. <name>Hudson :: Remoting Layer</name>
  19. <description>
  20. Contains the bootstrap code to bridge separate JVMs into a single semi-shared space.
  21. Reusable outside Hudson.
  22. </description>
  23. <properties>
  24. <asm-all.version>2.2.3</asm-all.version>
  25. </properties>
  26. <build>
  27. <plugins>
  28. <plugin>
  29. <groupId>org.codehaus.mojo</groupId>
  30. <artifactId>findbugs-maven-plugin</artifactId>
  31. <configuration>
  32. <threshold>High</threshold>
  33. </configuration>
  34. </plugin>
  35. <plugin>
  36. <groupId>org.apache.maven.plugins</groupId>
  37. <artifactId>maven-pmd-plugin</artifactId>
  38. <configuration>
  39. <!--rulesets> <ruleset>ruleset.xml</ruleset> </rulesets -->
  40. <targetJdk>1.5</targetJdk>
  41. </configuration>
  42. </plugin>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-jar-plugin</artifactId>
  46. <configuration>
  47. <archive>
  48. <manifest>
  49. <mainClass>hudson.remoting.Launcher</mainClass>
  50. </manifest>
  51. </archive>
  52. </configuration>
  53. <executions>
  54. <execution>
  55. <goals>
  56. <goal>sign</goal>
  57. </goals>
  58. <configuration>
  59. <!-- during the development, debug profile defined in ../pom.xml will cause the jars to be signed by a self-certified dummy public
  60. key. For release, you should define the real values in ~/.m2/settings.xml -->
  61. <alias>${hudson.sign.alias}</alias>
  62. <storepass>${hudson.sign.storepass}</storepass>
  63. <keystore>${hudson.sign.keystore}</keystore>
  64. </configuration>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <plugin>
  69. <groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
  70. <artifactId>maven-antrun-extended-plugin</artifactId>
  71. <executions>
  72. <execution>
  73. <!-- rejar args4j contents -->
  74. <id>process-classes</id>
  75. <phase>process-classes</phase>
  76. <goals>
  77. <goal>run</goal>
  78. </goals>
  79. <configuration>
  80. <tasks>
  81. <resolveArtifact artifactId="args4j" property="args4j.jar" />
  82. <unjar src="${args4j.jar}" dest="target/classes" />
  83. </tasks>
  84. </configuration>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. </plugins>
  89. </build>
  90. <dependencies>
  91. <!-- test dependencies -->
  92. <dependency>
  93. <groupId>junit</groupId>
  94. <artifactId>junit</artifactId>
  95. <scope>test</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>asm</groupId>
  99. <artifactId>asm-all</artifactId>
  100. <version>${asm-all.version}</version>
  101. <scope>test</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>args4j</groupId>
  105. <artifactId>args4j</artifactId>
  106. <scope>provided</scope>
  107. </dependency>
  108. <dependency>
  109. <groupId>commons-codec</groupId>
  110. <artifactId>commons-codec</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>commons-io</groupId>
  114. <artifactId>commons-io</artifactId>
  115. <scope>test</scope>
  116. </dependency>
  117. </dependencies>
  118. <profiles>
  119. <profile>
  120. <id>hudson</id>
  121. <build>
  122. <plugins>
  123. <plugin>
  124. <groupId>org.codehaus.mojo</groupId>
  125. <artifactId>cobertura-maven-plugin</artifactId>
  126. </plugin>
  127. </plugins>
  128. </build>
  129. </profile>
  130. <profile>
  131. <id>release</id>
  132. <properties>
  133. <!-- for releases, just use the POM version. See above ant-run plugin for how this gets used. -->
  134. <build.version>${project.version}</build.version>
  135. </properties>
  136. </profile>
  137. </profiles>
  138. </project>