Skip to content

Commit d605381

Browse files
committed
修改build plugins
1 parent 02611db commit d605381

File tree

1 file changed

+29
-28
lines changed

1 file changed

+29
-28
lines changed

pom.xml

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,35 @@
225225
<build>
226226
<defaultGoal>spring-boot:run</defaultGoal>
227227
<plugins>
228+
<!-- Source -->
229+
<plugin>
230+
<groupId>org.apache.maven.plugins</groupId>
231+
<artifactId>maven-source-plugin</artifactId>
232+
<version>2.2.1</version>
233+
<executions>
234+
<execution>
235+
<phase>package</phase>
236+
<goals>
237+
<goal>jar-no-fork</goal>
238+
</goals>
239+
</execution>
240+
</executions>
241+
</plugin>
242+
<!-- Javadoc -->
243+
<plugin>
244+
<groupId>org.apache.maven.plugins</groupId>
245+
<artifactId>maven-javadoc-plugin</artifactId>
246+
<version>2.9.1</version>
247+
<executions>
248+
<execution>
249+
<phase>package</phase>
250+
<goals>
251+
<goal>jar</goal>
252+
</goals>
253+
</execution>
254+
</executions>
255+
</plugin>
256+
<!-- Compile -->
228257
<plugin>
229258
<groupId>org.apache.maven.plugins</groupId>
230259
<artifactId>maven-compiler-plugin</artifactId>
@@ -252,34 +281,6 @@
252281
<id>sonatype-oss-release</id>
253282
<build>
254283
<plugins>
255-
<!-- Source -->
256-
<plugin>
257-
<groupId>org.apache.maven.plugins</groupId>
258-
<artifactId>maven-source-plugin</artifactId>
259-
<version>2.2.1</version>
260-
<executions>
261-
<execution>
262-
<phase>package</phase>
263-
<goals>
264-
<goal>jar-no-fork</goal>
265-
</goals>
266-
</execution>
267-
</executions>
268-
</plugin>
269-
<!-- Javadoc -->
270-
<plugin>
271-
<groupId>org.apache.maven.plugins</groupId>
272-
<artifactId>maven-javadoc-plugin</artifactId>
273-
<version>2.9.1</version>
274-
<executions>
275-
<execution>
276-
<phase>package</phase>
277-
<goals>
278-
<goal>jar</goal>
279-
</goals>
280-
</execution>
281-
</executions>
282-
</plugin>
283284
<!-- GPG -->
284285
<plugin>
285286
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)