[
https://issues.apache.org/jira/browse/XERCESJ-1735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483023#comment-17483023
]
Mukul Gandhi commented on XERCESJ-1735:
---------------------------------------
I believe that, the observation I've pointed is very important to correct.
XercesJ releases don't occur very frequently, so the text that I pointed within
the .pom file that you've published, would remain on maven central for a long
time.
I guess that, you could take pom's <description> text from first section of
page, https://xerces.apache.org/xerces2-j/.
I agree that, the Xerces jar that you've published doesn't actually include an
XML Schema 1.1 implementation. But its pom file as of today, should not contain
words like 'experimental implementation'.
I guess that, there are ways to remove an existing artifact from maven central.
Here's one example, https://issues.sonatype.org/browse/OSSRH-33337.
> Publish xercesImpl 2.12.2 to Maven Central
> ------------------------------------------
>
> Key: XERCESJ-1735
> URL: https://issues.apache.org/jira/browse/XERCESJ-1735
> Project: Xerces2-J
> Issue Type: Task
> Affects Versions: 2.12.2
> Reporter: Aurélien Pupier
> Priority: Major
> Fix For: 2.12.2
>
> Attachments: xercesImpl-2.12.2-javadoc.jar,
> xercesImpl-2.12.2-sources.jar, xercesImpl-2.12.2.jar, xercesImpl-2.12.2.pom
>
>
> Steps to prepare artifacts to publish:
> * Downloaded
> https://downloads.apache.org//xerces/j/binaries/Xerces-J-bin.2.12.2.zip
> ** extracted the xercesImpl.jar and renamed it to xercesImpl-2.12.2.jar
> ** extracted the javadocs folder, then compress it as zip and then rename to
> xercesImpl-2.12.2-javadoc.jar
> * Downloaded
> https://downloads.apache.org//xerces/j/source/Xerces-J-src.2.12.2.zip
> ** extract the src folder, then compress it as zip and rename to
> xercesImpl-2.12.2-sources.jar
> * Downloaded
> https://repo1.maven.org/maven2/xerces/xercesImpl/2.12.1/xercesImpl-2.12.1.pom
> ** updated versions
> ** renamed to xercesImpl-2.12.2.pom
> Steps to publish artifacts:
> - have a gpg key
> - modify .m2/settings.xml to add oss Rh credentials (otherwise there is a 401
> unauthorized error)
> - mvn gpg:sign-and-deploy-file
> -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/
> -DrepositoryId=ossrh -DpomFile=xercesImpl-2.12.2.pom
> -Dfile=xercesImpl-2.12.2.jar
> - mvn gpg:sign-and-deploy-file
> -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/
> -DrepositoryId=ossrh -DpomFile=xercesImpl-2.12.2.pom
> -Dfile=xercesImpl-2.12.2-sources.jar -Dclassifier=sources
> - mvn gpg:sign-and-deploy-file
> -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/
> -DrepositoryId=ossrh -DpomFile=xercesImpl-2.12.2.pom
> -Dfile=xercesImpl-2.12.2-javadoc.jar -Dclassifier=javadoc
> - connect to https://oss.sonatype.org/#stagingRepositories
> - click on "Close"
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]