处理maven编译报错问题 #8
|
|
@ -1,13 +0,0 @@
|
|||
package cn.org.gitlink.notification.model;
|
||||
|
||||
public class Demo {
|
||||
private int age;
|
||||
|
||||
public int getAge() {
|
||||
return age;
|
||||
}
|
||||
|
||||
public void setAge(int age) {
|
||||
this.age = age;
|
||||
}
|
||||
}
|
||||
2
pom.xml
2
pom.xml
|
|
@ -19,6 +19,8 @@
|
|||
<properties>
|
||||
<main-version>1.0.0</main-version>
|
||||
<java.version>1.8</java.version>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<!-- 打包时跳过test测试 -->
|
||||
<skipTests>true</skipTests>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
|
|
|||
Loading…
Reference in New Issue