提交 f37a30dc 编写于 作者: K kohsuke

added a tool to detect accidental JDK6 dependency

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13258 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c947d3e8
......@@ -35,7 +35,7 @@
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-8</version>
<version>2.0-beta-8</version>
<configuration>
<!-- enable release profile during the release, create IPS package, and sign bits. -->
<prepareVerifyArgs>-P release,ips,sign</prepareVerifyArgs>
......@@ -70,6 +70,27 @@
</execution>
</executions>
</plugin>
<plugin>
<!-- make sure our code doesn't have 1.6 dependencies except where we know it -->
<groupId>org.jvnet</groupId>
<artifactId>animal-sniffer</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
<configuration>
<signature>
<groupId>org.jvnet.animal-sniffer</groupId>
<artifactId>java1.5</artifactId>
<version>1.0</version>
</signature>
</configuration>
</execution>
</executions>
</plugin>
<!--<plugin>
<groupId>org.jvnet.fix1600</groupId>
<artifactId>fix1600</artifactId>
......@@ -83,7 +104,18 @@
</plugin>-->
</plugins>
</build>
<dependencies>
<dependency>
<!-- for JRE requirement check annotation -->
<groupId>org.jvnet</groupId>
<artifactId>animal-sniffer</artifactId>
<version>1.1</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
</dependencies>
<properties>
<maven.version>2.0.4</maven.version>
</properties>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册