Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
e8b7d214
提交
e8b7d214
authored
7 年前
作者:
LaughingMan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Run animal sniffer as part of enforcer.
上级
2cc1754d
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
14 行增加
和
24 行删除
+14
-24
pom.xml
h2/pom.xml
+14
-24
没有找到文件。
h2/pom.xml
浏览文件 @
e8b7d214
...
...
@@ -221,36 +221,14 @@
</execution>
</executions>
</plugin>
<!-- Make sure we are not using anything outside JDK 1.6 -->
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
animal-sniffer-maven-plugin
</artifactId>
<version>
1.15
</version>
<executions>
<execution>
<id>
check-java-api
</id>
<phase>
test
</phase>
<goals>
<goal>
check
</goal>
</goals>
</execution>
</executions>
<configuration>
<signature>
<groupId>
org.codehaus.mojo.signature
</groupId>
<artifactId>
java16
</artifactId>
<version>
1.1
</version>
</signature>
</configuration>
</plugin>
<!-- Make sure none of our dependencies use anything outside JDK 1.7 -->
<!-- Make sure neither we nor one of our dependencies uses anything outside JDK 1.7 -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-enforcer-plugin
</artifactId>
<version>
3.0.0-M1
</version>
<executions>
<execution>
<id>
enforce-bytecode
-version
</id>
<id>
check-java
-version
</id>
<goals>
<goal>
enforce
</goal>
</goals>
...
...
@@ -259,6 +237,13 @@
<enforceBytecodeVersion>
<maxJdkVersion>
1.7
</maxJdkVersion>
</enforceBytecodeVersion>
<checkSignatureRule
implementation=
"org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule"
>
<signature>
<groupId>
org.codehaus.mojo.signature
</groupId>
<artifactId>
java17
</artifactId>
<version>
1.0
</version>
</signature>
</checkSignatureRule>
</rules>
<fail>
true
</fail>
</configuration>
...
...
@@ -270,6 +255,11 @@
<artifactId>
extra-enforcer-rules
</artifactId>
<version>
1.0-beta-6
</version>
</dependency>
<dependency>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
animal-sniffer-enforcer-rule
</artifactId>
<version>
1.16
</version>
</dependency>
</dependencies>
</plugin>
<plugin>
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论