first commit

This commit is contained in:
yexuejc 2018-04-09 14:08:42 +08:00
parent e7c49ec101
commit 03a110958a

76
pom.xml
View File

@ -18,6 +18,8 @@
<repos.aliyun.url>http://maven.aliyun.com/nexus/content/groups/public</repos.aliyun.url> <repos.aliyun.url>http://maven.aliyun.com/nexus/content/groups/public</repos.aliyun.url>
<repos.jitpack.url>https://jitpack.io</repos.jitpack.url> <repos.jitpack.url>https://jitpack.io</repos.jitpack.url>
<jjwt.version>0.7.0</jjwt.version> <jjwt.version>0.7.0</jjwt.version>
<maven.compiler.verbose>true</maven.compiler.verbose>
<java.version>1.8</java.version>
</properties> </properties>
<dependencies> <dependencies>
@ -33,40 +35,46 @@
<build> <build>
<finalName>${project.artifactId}</finalName> <finalName>${project.artifactId}</finalName>
<pluginManagement> <plugins>
<plugins> <plugin>
<!-- 打包源码 --> <groupId>org.apache.maven.plugins</groupId>
<plugin> <artifactId>maven-compiler-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId> <configuration>
<artifactId>maven-source-plugin</artifactId> <source>${java.version}</source>
<version>3.0.1</version> <target>${java.version}</target>
<executions> </configuration>
<execution> </plugin>
<id>attach-sources</id> <!-- 打包源码 -->
<goals> <plugin>
<goal>jar-no-fork</goal> <groupId>org.apache.maven.plugins</groupId>
</goals> <artifactId>maven-source-plugin</artifactId>
</execution> <version>3.0.1</version>
</executions> <executions>
</plugin> <execution>
<!-- 使用spring boot的maven插件进行打包 --> <id>attach-sources</id>
<plugin> <goals>
<groupId>org.springframework.boot</groupId> <goal>jar-no-fork</goal>
<artifactId>spring-boot-maven-plugin</artifactId> </goals>
<executions> </execution>
<execution> </executions>
<goals> </plugin>
<goal>build-info</goal> <!-- 使用spring boot的maven插件进行打包 -->
</goals> <plugin>
</execution> <groupId>org.springframework.boot</groupId>
</executions> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration> <executions>
<!-- 是否打出可执行的jar包(仅支持Linux格式) --> <execution>
<executable>true</executable> <goals>
</configuration> <goal>build-info</goal>
</plugin> </goals>
</plugins> </execution>
</pluginManagement> </executions>
<configuration>
<!-- 是否打出可执行的jar包(仅支持Linux格式) -->
<executable>true</executable>
</configuration>
</plugin>
</plugins>
</build> </build>
<repositories> <repositories>
<repository> <repository>