Skip to content

Commit cd5513e

Browse files
committed
修改pom.xml
1 parent 238f1fe commit cd5513e

File tree

1 file changed

+92
-1
lines changed

1 file changed

+92
-1
lines changed

pom.xml

Lines changed: 92 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,24 @@
1414
<version>0.0.1</version>
1515
<packaging>jar</packaging>
1616
<name>ssssssss-spring-boot-starter</name>
17-
<url>https://gitee.com/jmxd/ssssssss-spring-boot-starter</url>
17+
<description>ssssssss spring-boot-starter</description>
18+
<licenses>
19+
<license>
20+
<name>The MIT License (MIT)</name>
21+
<url>https://github.com/javamxd/ssssssss-spring-boot-starter/blob/master/LICENSE</url>
22+
</license>
23+
</licenses>
24+
<developers>
25+
<developer>
26+
<name>jmxd</name>
27+
<email>838425805@qq.com</email>
28+
</developer>
29+
</developers>
30+
<scm>
31+
<url>https://gitee.com/jmxd/ssssssss-spring-boot-starter</url>
32+
<connection>scm:git:https://gitee.com/jmxd/ssssssss-spring-boot-starter.git</connection>
33+
<developerConnection>scm:git:https://gitee.com/jmxd/ssssssss-spring-boot-starter.git</developerConnection>
34+
</scm>
1835
<dependencies>
1936
<dependency>
2037
<groupId>org.ssssssss</groupId>
@@ -35,4 +52,78 @@
3552
<optional>true</optional>
3653
</dependency>
3754
</dependencies>
55+
<profiles>
56+
<profile>
57+
<id>release</id>
58+
<build>
59+
<plugins>
60+
<!--Compiler-->
61+
<plugin>
62+
<artifactId>maven-compiler-plugin</artifactId>
63+
<configuration>
64+
<source>1.8</source>
65+
<target>1.8</target>
66+
</configuration>
67+
</plugin>
68+
<!-- Source -->
69+
<plugin>
70+
<groupId>org.apache.maven.plugins</groupId>
71+
<artifactId>maven-source-plugin</artifactId>
72+
<version>2.2.1</version>
73+
<executions>
74+
<execution>
75+
<phase>package</phase>
76+
<goals>
77+
<goal>jar-no-fork</goal>
78+
</goals>
79+
</execution>
80+
</executions>
81+
</plugin>
82+
<!-- Java Doc -->
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-javadoc-plugin</artifactId>
86+
<version>3.0.0</version>
87+
<configuration>
88+
<additionalOptions>
89+
<additionalOption>-Xdoclint:none</additionalOption>
90+
</additionalOptions>
91+
</configuration>
92+
<executions>
93+
<execution>
94+
<phase>package</phase>
95+
<goals>
96+
<goal>jar</goal>
97+
</goals>
98+
</execution>
99+
</executions>
100+
</plugin>
101+
<!-- GPG -->
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-gpg-plugin</artifactId>
105+
<version>1.5</version>
106+
<executions>
107+
<execution>
108+
<phase>verify</phase>
109+
<goals>
110+
<goal>sign</goal>
111+
</goals>
112+
</execution>
113+
</executions>
114+
</plugin>
115+
</plugins>
116+
</build>
117+
<distributionManagement>
118+
<snapshotRepository>
119+
<id>oss</id>
120+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
121+
</snapshotRepository>
122+
<repository>
123+
<id>oss</id>
124+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
125+
</repository>
126+
</distributionManagement>
127+
</profile>
128+
</profiles>
38129
</project>

0 commit comments

Comments
 (0)