Commit 8b51aa73 authored by yanzg's avatar yanzg

将源码打包进jar包

parent b948ecc5
......@@ -42,16 +42,6 @@
<jetcache.version>2.6.0.M1</jetcache.version>
</properties>
<scm>
<connection>scm:git:http://git.tbd.yanzuoguang.com/yzg/yzg-util.git</connection>
<developerConnection>scm:git:http://git.tbd.yanzuoguang.com/yzg/yzg-util.git</developerConnection>
<url>http://git.tbd.yanzuoguang.com/yzg/yzg-util/tree/master</url>
</scm>
<issueManagement>
<system>Github</system>
<url>http://git.tbd.yanzuoguang.com/yzg/yzg-util</url>
</issueManagement>
<dependencyManagement>
<dependencies>
<dependency>
......@@ -209,13 +199,11 @@
<repository>
<id>public</id>
<name>Nexus release Repository</name>
<!--<url>http://192.168.0.203:8081/repository/maven-releases/</url>-->
<url>http://maven.tbd.yanzuoguang.com/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>public</id>
<name>Nexus snapshots Repository</name>
<!--<url>http://192.168.0.203:8081/repository/maven-snapshots</url>-->
<url>http://maven.tbd.yanzuoguang.com/repository/maven-snapshots</url>
</snapshotRepository>
</distributionManagement>
......@@ -245,6 +233,7 @@
</testResources>
<finalName>${project.artifactId}</finalName>
<pluginManagement>
<plugins>
<plugin>
......@@ -283,6 +272,22 @@
<compilerArgument>-parameters</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- ===========可运行Jar包=========== -->
<plugin>
<groupId>org.springframework.boot</groupId>
......
......@@ -28,4 +28,13 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -44,4 +44,13 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -146,4 +146,13 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -55,5 +55,13 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -32,5 +32,13 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -37,4 +37,12 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -55,4 +55,12 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -24,4 +24,14 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -24,4 +24,12 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -34,4 +34,13 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment