提交 8f9b300d 编写于 作者: 小傅哥's avatar 小傅哥

feat:发布到maven仓库 v1.0

上级 044cc852
......@@ -155,15 +155,16 @@
</plugins>
</build>
<!-- 发布
<profiles>
<profile>
<!--注意,此id必须与setting.xml中指定的一致,不要自作聪明改它名字-->
&lt;!&ndash;注意,此id必须与setting.xml中指定的一致,不要自作聪明改它名字&ndash;&gt;
<id>release</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<!--发布到中央SNAPSHOT仓库插件-->
&lt;!&ndash;发布到中央SNAPSHOT仓库插件&ndash;&gt;
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
......@@ -177,7 +178,7 @@
</configuration>
</plugin>
<!--生成源码插件-->
&lt;!&ndash;生成源码插件&ndash;&gt;
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
......@@ -192,7 +193,7 @@
</executions>
</plugin>
<!--生成API文档插件-->
&lt;!&ndash;生成API文档插件&ndash;&gt;
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
......@@ -205,14 +206,14 @@
</goals>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<!-- /usr/libexec/java_home -V -->
&lt;!&ndash; /usr/libexec/java_home -V &ndash;&gt;
<javadocExecutable>/Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home/bin/javadoc</javadocExecutable>
</configuration>
</execution>
</executions>
</plugin>
<!--gpg插件-->
&lt;!&ndash;gpg插件&ndash;&gt;
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
......@@ -237,7 +238,7 @@
<distributionManagement>
<snapshotRepository>
<!--注意,此id必须与setting.xml中指定的一致-->
&lt;!&ndash;注意,此id必须与setting.xml中指定的一致&ndash;&gt;
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
......@@ -248,6 +249,6 @@
</distributionManagement>
</profile>
</profiles>
</profiles>-->
</project>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册