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

feat:发布到maven仓库 v1.0

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