Browse Source

打包jar

24282 2 năm trước cách đây
mục cha
commit
995afb9528
1 tập tin đã thay đổi với 14 bổ sung0 xóa
  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>