提交 f322371d 编写于 作者: K kohsuke

enforcer at top-level breaks builds. It apparently tries to resolve dependencies too eagerly


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5128 71c3de6d-444a-0410-be80-ed276b4c234a
上级 795b6732
......@@ -13,6 +13,24 @@
<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>enforce-once</goal>
</goals>
<configuration>
<rules>
<!-- There is a bug in JDK 1.5's compiler therefore need to compile with 1.6 -->
<requireJavaVersion>
<version>[1.6.0,]</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.kohsuke.stapler</groupId>
<artifactId>maven-stapler-plugin</artifactId>
......
......@@ -32,25 +32,6 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>enforce-once</goal>
</goals>
<configuration>
<rules>
<!-- There is a bug in JDK 1.5's compiler therefore need to compile with 1.6 -->
<requireJavaVersion>
<version>[1.6.0,]</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册