Skip to content

Commit f49339c

Browse files
committed
Update pom.xml
1 parent 7cc38b0 commit f49339c

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

pom.xml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>io.github.json031</groupId>
66
<artifactId>mcunittests</artifactId>
77
<packaging>jar</packaging>
8-
<version>1.0.2</version>
8+
<version>1.0.3</version>
99
<name>mcunittests</name>
1010
<description>mcunittests是SpringBoot项目的一个单元测试库,是一个在MIT许可下分发的开源项目</description>
1111
<url>https://github.com/Json031/mcunittests</url>
@@ -101,6 +101,35 @@
101101
<target>1.8</target>
102102
</configuration>
103103
</plugin>
104+
<!-- 打包源码 -->
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-source-plugin</artifactId>
108+
<version>3.2.1</version>
109+
<executions>
110+
<execution>
111+
<id>attach-sources</id>
112+
<goals>
113+
<goal>jar</goal>
114+
</goals>
115+
</execution>
116+
</executions>
117+
</plugin>
118+
119+
<!-- 打包 Javadoc -->
120+
<plugin>
121+
<groupId>org.apache.maven.plugins</groupId>
122+
<artifactId>maven-javadoc-plugin</artifactId>
123+
<version>3.4.1</version>
124+
<executions>
125+
<execution>
126+
<id>attach-javadocs</id>
127+
<goals>
128+
<goal>jar</goal>
129+
</goals>
130+
</execution>
131+
</executions>
132+
</plugin>
104133
</plugins>
105134
</build>
106135

0 commit comments

Comments
 (0)