|
10 | 10 | <description>simple mybatis project for Spring Boot</description>
|
11 | 11 |
|
12 | 12 | <properties>
|
| 13 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 14 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 15 | + <java.version>1.8</java.version> |
13 | 16 | <maven.compile.source>1.8</maven.compile.source>
|
14 | 17 | <maven.compile.target>1.8</maven.compile.target>
|
15 | 18 | <maven.source.plugin>3.0.1</maven.source.plugin>
|
16 | 19 | <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
|
17 | 20 | <nexus.staging.maven.plugin>1.6.3</nexus.staging.maven.plugin>
|
18 | 21 |
|
19 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
20 |
| - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
21 |
| - <java.version>1.8</java.version> |
22 |
| - |
23 | 22 | <pagehelper-starter.version>1.2.7</pagehelper-starter.version>
|
24 | 23 | <org.projectlombok.version>1.18.0</org.projectlombok.version>
|
25 | 24 | <pagehelper.version>5.1.10</pagehelper.version>
|
|
109 | 108 | </dependencies>
|
110 | 109 | </dependencyManagement>
|
111 | 110 |
|
| 111 | + <build> |
| 112 | + <plugins> |
| 113 | + <plugin> |
| 114 | + <groupId>org.apache.maven.plugins</groupId> |
| 115 | + <artifactId>maven-compiler-plugin</artifactId> |
| 116 | + <configuration> |
| 117 | + <source>${maven.compile.source}</source> |
| 118 | + <target>${maven.compile.target}</target> |
| 119 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 120 | + <compilerArgument>-Xlint:deprecation</compilerArgument> |
| 121 | + </configuration> |
| 122 | + </plugin> |
| 123 | + </plugins> |
| 124 | + </build> |
112 | 125 |
|
113 | 126 | <profiles>
|
114 | 127 | <profile>
|
|
121 | 134 | </properties>
|
122 | 135 | <build>
|
123 | 136 | <plugins>
|
124 |
| - <plugin> |
125 |
| - <groupId>org.apache.maven.plugins</groupId> |
126 |
| - <artifactId>maven-compiler-plugin</artifactId> |
127 |
| - <configuration> |
128 |
| - <source>${maven.compile.source}</source> |
129 |
| - <target>${maven.compile.target}</target> |
130 |
| - <encoding>${project.build.sourceEncoding}</encoding> |
131 |
| - <compilerArgument>-Xlint:deprecation</compilerArgument> |
132 |
| - </configuration> |
133 |
| - </plugin> |
134 |
| - |
135 | 137 | <plugin>
|
136 | 138 | <groupId>org.apache.maven.plugins</groupId>
|
137 | 139 | <artifactId>maven-source-plugin</artifactId>
|
|
146 | 148 | </executions>
|
147 | 149 | </plugin>
|
148 | 150 |
|
149 |
| - <plugin> |
150 |
| - <groupId>org.sonatype.plugins</groupId> |
151 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
152 |
| - <version>${nexus.staging.maven.plugin}</version> |
153 |
| - <extensions>true</extensions> |
154 |
| - <configuration> |
155 |
| - <serverId>ossrh</serverId> |
156 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
157 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
158 |
| - </configuration> |
159 |
| - </plugin> |
160 | 151 | </plugins>
|
161 | 152 | </build>
|
162 | 153 | </profile>
|
|
0 commit comments