提交 OSSRH 的提交地址

This commit is contained in:
YuCheng Hu 2021-04-15 15:33:18 -04:00
parent c9962462fc
commit 03f9c0cca9
No known key found for this signature in database
GPG Key ID: 1E5CBEF8B550FB7D
2 changed files with 82 additions and 14 deletions

View File

@ -6,7 +6,6 @@
<component name="ChangeListManager">
<list default="true" id="bc4dcfec-3698-4fde-a6cf-dd08b73f1f06" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/parent-boot-2/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/parent-boot-2/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
@ -93,7 +92,7 @@
<workItem from="1618145805266" duration="1634000" />
<workItem from="1618147512704" duration="6933000" />
<workItem from="1618246818887" duration="17236000" />
<workItem from="1618429441584" duration="7363000" />
<workItem from="1618429441584" duration="10010000" />
</task>
<task id="LOCAL-00001" summary="更新 POM 文件">
<created>1618147556538</created>
@ -151,7 +150,14 @@
<option name="project" value="LOCAL" />
<updated>1618503445699</updated>
</task>
<option name="localTasksCounter" value="9" />
<task id="LOCAL-00009" summary="Change the compiler version to 3.7.0 version">
<created>1618509340144</created>
<option name="number" value="00009" />
<option name="presentableId" value="LOCAL-00009" />
<option name="project" value="LOCAL" />
<updated>1618509340144</updated>
</task>
<option name="localTasksCounter" value="10" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -178,6 +184,7 @@
<MESSAGE value="完成所有的文件的提交,以便于下一步的代码演示和开发" />
<MESSAGE value="adjust the pom to make project can be compile" />
<MESSAGE value="DiscourseImportTest move to different project" />
<option name="LAST_COMMIT_MESSAGE" value="DiscourseImportTest move to different project" />
<MESSAGE value="Change the compiler version to 3.7.0 version" />
<option name="LAST_COMMIT_MESSAGE" value="Change the compiler version to 3.7.0 version" />
</component>
</project>

81
pom.xml
View File

@ -223,19 +223,80 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<archive>
<manifest>
<mainClass>com.ossez.reoc.rets.Main</mainClass>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
</archive>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</project>