浏览代码

打包jar

24282 2 年之前
父节点
当前提交
995afb9528
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      pom.xml

+ 14 - 0
pom.xml

@@ -221,6 +221,20 @@
                     <encoding>${project.build.sourceEncoding}</encoding>
                 </configuration>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
         </plugins>
     </build>