FYI, I created a patch for the Maven Ant tasks, which allow you to attach
files (in the same way that things can attach files in Maven).  I thought
Jason released this, though looks like it might still be in process. 
Anyways, the issue is here:
    http://jira.codehaus.org/browse/MANTTASKS-42

If you use the new tasks, then you should be able to:

    <artifact:deploy file="somefile.jar">
        <pom file="somefile.pom" />
        <remoteRepository refid="deploy.repository" />
        <attach file="somefile.pom.asc" type="pom.asc"/>
        <attach file="somefile.jar.asc" type="jar.asc"/>
    </artifact:deploy>

Then your ant build can generate jars and sign them as well as poms however
you like, then use this task to deploy them to the Maven repository.

I whipped this up for you guys specifically... I hope you can integrate this
and get your deployment issues sorted.

If you need more help please let me know.  Though I'm not subscribed to this
list (i've already got a ton of email to sort through each day, but if you
ping [EMAIL PROTECTED], I'd be more than happy to help you guys if I can).

Cheers,

--jason



Filip Hanik - Dev Lists wrote:
> 
> Wendy Smoak wrote:
>> On 4/4/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
>>
>>> If you need additional individual JARs from tomcat published to the
>>> repo, just let me know and I can get it done.
>>> http://tomcat.apache.org/dev/dist/m2-repository/org/apache/tomcat/jasper-el/
>>>  
>>>
>>
>> Whatever happened with getting the Tomcat artifacts synced to the 
>> central repo?
>>
>> I gather the gpg plugin is only for things built with Maven 2, but a
>> script to sign the jars locally and upload signatures isn't hard at
>> all... it's what we used to do before the gpg plugin existed.
> still haven't got around the fact that maven command line has the 
> limitation around simply being able to attach a signature and send it up.
> do you have a script that does what you say, that will prevent me from 
> having to duplicate this effort.
> as of now, people have only said, "you can only do it if you build your 
> project with maven", we'll that has not been an option, and probably 
> will not be as ANT is working really well for us, and the only reason we 
> haven't got around to it, is that i haven't had the time to research 
> these workarounds.
> 
> Filip
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Commons-EL-tf3195018.html#a9849949
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to