|
7 | 7 | <artifactId>simple-mybatis</artifactId> |
8 | 8 | <version>1.0.0</version> |
9 | 9 | <name>simple-mybatis</name> |
| 10 | + <url>https://github.com/codingapi/simple-mybatis</url> |
10 | 11 | <description>simple mybatis project for Spring Boot</description> |
11 | 12 |
|
12 | 13 | <properties> |
|
125 | 126 | </build> |
126 | 127 |
|
127 | 128 | <profiles> |
| 129 | + <profile> |
| 130 | + <id>dev</id> |
| 131 | + <properties> |
| 132 | + <env>dev</env> |
| 133 | + </properties> |
| 134 | + <activation> |
| 135 | + <activeByDefault>true</activeByDefault> |
| 136 | + </activation> |
| 137 | + </profile> |
| 138 | + |
128 | 139 | <profile> |
129 | 140 | <id>travis</id> |
130 | 141 | <properties> |
|
135 | 146 | <plugin> |
136 | 147 | <groupId>org.jacoco</groupId> |
137 | 148 | <artifactId>jacoco-maven-plugin</artifactId> |
138 | | - <version>0.8.2</version> |
139 | 149 | <executions> |
140 | 150 | <execution> |
141 | 151 | <goals> |
|
156 | 166 | <plugin> |
157 | 167 | <groupId>org.openclover</groupId> |
158 | 168 | <artifactId>clover-maven-plugin</artifactId> |
159 | | - <version>4.3.1</version> |
160 | 169 | <configuration> |
161 | 170 | <generateHtml>true</generateHtml> |
162 | 171 | <generateXml>true</generateXml> |
|
171 | 180 |
|
172 | 181 | <properties> |
173 | 182 | <repository.id>ossrh</repository.id> |
174 | | - <repository.name>Maven Central Staging Repository</repository.name> |
175 | | - <repository.url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</repository.url> |
176 | | - |
177 | 183 | <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format> |
178 | | - <nexus.staging.maven.plugin>1.6.3</nexus.staging.maven.plugin> |
| 184 | + <maven.compile.source>1.8</maven.compile.source> |
| 185 | + <maven.compile.target>1.8</maven.compile.target> |
179 | 186 | <maven.source.plugin>3.0.1</maven.source.plugin> |
| 187 | + <nexus.staging.maven.plugin>1.6.3</nexus.staging.maven.plugin> |
180 | 188 | <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version> |
181 | 189 | <maven.javadoc.plugin>2.10.3</maven.javadoc.plugin> |
182 | 190 | <maven.gpg.plugin>1.6</maven.gpg.plugin> |
183 | 191 | </properties> |
184 | 192 | <build> |
185 | 193 | <plugins> |
186 | 194 |
|
| 195 | + <plugin> |
| 196 | + <groupId>org.apache.maven.plugins</groupId> |
| 197 | + <artifactId>maven-compiler-plugin</artifactId> |
| 198 | + <configuration> |
| 199 | + <source>${maven.compile.source}</source> |
| 200 | + <target>${maven.compile.target}</target> |
| 201 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 202 | + <compilerArgument>-Xlint:deprecation</compilerArgument> |
| 203 | + </configuration> |
| 204 | + </plugin> |
187 | 205 | <plugin> |
188 | 206 | <groupId>org.apache.maven.plugins</groupId> |
189 | 207 | <artifactId>maven-source-plugin</artifactId> |
190 | | - <version>${maven.source.plugin}</version> |
191 | 208 | <executions> |
192 | 209 | <execution> |
193 | 210 | <id>attach-sources</id> |
|
202 | 219 | <plugin> |
203 | 220 | <groupId>org.sonatype.plugins</groupId> |
204 | 221 | <artifactId>nexus-staging-maven-plugin</artifactId> |
205 | | - <version>${nexus.staging.maven.plugin}</version> |
206 | 222 | <extensions>true</extensions> |
207 | 223 | <configuration> |
208 | 224 | <serverId>ossrh</serverId> |
|
215 | 231 | <plugin> |
216 | 232 | <groupId>org.apache.maven.plugins</groupId> |
217 | 233 | <artifactId>maven-javadoc-plugin</artifactId> |
218 | | - <version>${maven.javadoc.plugin}</version> |
219 | 234 | <executions> |
220 | 235 | <execution> |
221 | 236 | <id>attach-javadocs</id> |
|
224 | 239 | </goals> |
225 | 240 | </execution> |
226 | 241 | </executions> |
| 242 | + <configuration> |
| 243 | + <additionalOptions> |
| 244 | + <additionalOption>-Xdoclint:none</additionalOption> |
| 245 | + </additionalOptions> |
| 246 | + </configuration> |
227 | 247 | </plugin> |
228 | 248 |
|
229 | 249 |
|
230 | 250 | <plugin> |
231 | 251 | <groupId>org.apache.maven.plugins</groupId> |
232 | 252 | <artifactId>maven-gpg-plugin</artifactId> |
233 | | - <version>${maven.gpg.plugin}</version> |
234 | 253 | <executions> |
235 | 254 | <execution> |
236 | 255 | <id>sign-artifacts</id> |
|
0 commit comments