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

Ian Roberts edited comment on XERCESJ-1454 at 10/9/12 5:47 PM:
---------------------------------------------------------------

I've attached another possible patch which builds on the previous method using 
the Maven Ant Tasks, but using Maven's own GPG plugin to handle the signing and 
deployment in one step.  I use this method in another (non-Maven) open source 
project and it works very well.  You have to create a settings.xml file 
containing your GPG and repository credentials - I've included a template file 
in the patch - but once this is done Ant can sign and deploy the JAR files in 
one step.

This is similar to the previous patch1 but I've avoided the class not found 
errors by loading the tasks using a <typedef> with its own classpath rather 
than adding it to the LOCALCLASSPATH in build.sh/bat.
                
      was (Author: ian_roberts):
    I've attached another possible patch which builds on the previous method 
using the Maven Ant Tasks, but using Maven's own GPG plugin to handle the 
signing and deployment in one step.  I use this method in another (non-Maven) 
open source project and it works very well.  You have to create a settings.xml 
file containing your GPG and repository credentials - I've included a template 
file in the patch - but once this is done Ant can sign and deploy the JAR files 
in one step.
                  
> 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
>         Attachments: maven-ant-tasks-2.1.3.jar, XERCESJ-1454-jspiewak1.patch, 
> XERCESJ-1454-jspiewak2.patch, XERCESJ-1454-sign-and-deploy.patch
>
>   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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to