[ 
https://issues.apache.org/jira/browse/XERCESJ-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042869#comment-13042869
 ] 

Björn Kautler commented on XERCESJ-1454:
----------------------------------------

Michael there are basically three options on how this could be handled: 
manually, semi-automatically, automatically

all three options require that the build produces the files
- xercesImpl-<version>.pom (mostly hard-coded, only the version has to be 
filled in into the file)
- xercesImpl-<version>.jar
- xercesImpl-<version>-javadoc.jar
- xercesImpl-<version>-sources.jar

manually:
- all 4 files have to get a GPG signature, either by commandline or by some ant 
task
- all 8 files have to be packed to a bundle JAR file, either by commandline or 
by some ant task
- the bundle JAR then has to be uploaded manually to Maven Central
With this method you can also add already released version like 2.10.0 and 
2.11.0.

semi-automatically/automatically (differs only in whether this is done 
automatically in the build process or triggered manually):
- there is a maven ant task that can do the GPG signing and uploading of the 
artifacts from inside an Ant script, it just needs an installed Maven and GPG

With any method you have to log into the webinterface to manually promote the 
uploaded artifacts to be synced to maven central. As long as the artifacts are 
only at staging you can also exchange and modify the files e. g. if the build 
was somehow broken strangely.

The whole procedure with all different options is described very well at 
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
 and you can copy&paste almost anything you need from that page.

> Upload Xerces JARs to IBiblio maven repository
> ----------------------------------------------
>
>                 Key: XERCESJ-1454
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1454
>             Project: Xerces2-J
>          Issue Type: Wish
>          Components: Build
>    Affects Versions: 2.9.1, 2.10.0, 2.11.0
>            Reporter: Sergey Vladimirov
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> IBiblio's Maven repository at http://www.ibiblio.org/maven/xerces/jars/ has 
> 2.9.1 but not 2.10.0 yet.
> http://repo1.maven.org/maven2/xerces/xercesImpl/ has only 2.9.1 as well.
> http://repo2.maven.org/maven2/xerces/xercesImpl/ has only 2.9.1 as well
> Also it would be nice to do it by default for next releses (but not 
> automated).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-dev-h...@xerces.apache.org

Reply via email to