Do you own the domain itstack.org? If so, please verify ownership via one of the following methods:
Add a TXT record to your DNS referencing this JIRA ticket: OSSRH-53637(Fastest)
Setup a redirect to your Github page (if it does not already exist)
If you do not own this domain, please read:
http://central.sonatype.org/pages/choosing-your-coordinates.html
You may also choose a groupId that reflects your project hosting, in thiscase, something like io.github.fuzhengwei or com.github.fuzhengwei
Would you like to use a free managed security reporting service (recommended)?
Put https://hackerone.com/central-security-project/reports/newas your project's security issue reporting URL. We'll take care of the rest.
For more details on the Central Security Project, visit https://www.sonatype.com/central-security-project
org.itstack.middleware has been prepared, now user(s) fuzhengwei can:* Deploy snapshot artifacts into repository https://oss.sonatype.org/content/repositories/snapshots
* Deploy release artifacts into the staging repository https://oss.sonatype.org/service/local/staging/deploy/maven2
* Release staged artifacts into repository 'Releases'
please comment on this ticket when you promoted your first release, thanks
接下来等待发布Jar包成功后,到这里回复并收到反馈,如下(证明你成功了!);
Central sync is activated for org.itstack.middleware. After you successfully release, your component will be published to Central, typically within 10 minutes, though updates to search.maven.org can take up to two hours.
!-- 发布Jar到Maven仓库 Begin -->!--生成Source jar文件-->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>!--生成Javadoc,关闭doclint,避免注解检查不通过-->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>configuration>additionalparam>-Xdoclint:none/additionalparam>/configuration>/execution>/executions>/plugin>!--Maven GPG插件用于使用以下配置对组件进行签名-->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>!--Nexus Staging Maven插件是将组件部署到OSSRH并将其发布到Central Repository的推荐方法-->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>!-- release plugin,用于发布到release仓库部署插件 -->plugin>groupId>org.apache.maven.plugins/groupId>artifactId>maven-release-plugin/artifactId>version>2.4.2/version>/plugin>!-- 发布Jar到Maven仓库 End -->
4. 执行发布;Idea Maven -> Lifecycle -> Deploy
接下来开发发布Jar包,中间会提示输入密钥生成时候的密码
https://oss. 查看发布内容
到上面"配合人工审核",按照说明提交发布成功信息,验证成功后会收到回复,如下;
Central sync is activated for org.itstack.middleware. After you successfully release, your component will be published to Central, typically within 10 minutes, though updates to search.maven.org can take up to two hours.