I'm just playing around with maven, ant, ivy  build.

I'm close to the solution...
changed locally lib/java/ivy.xml and other details on lib/java/build.xml
from
<info organisation="org.apache.thrift" module="libthrift" revision="0.3.0-20100116" >
to
<info organisation="org.apache.thrift" module="libthrift" revision="0.5.0" >

see https://issues.apache.org/jira/browse/THRIFT-6


now I am here:
publish:
[artifact:install] [INFO] Installing /home/roger/software/thrift/0.5.0/0.5.0-maven/lib/java/libthrift.jar to /home/roger/.m2/repository/org/apache/thrift/libthrift/0.5.0/libthrift-0.5.0.jar [artifact:install] [INFO] Installing /home/roger/software/thrift/0.5.0/0.5.0-maven/lib/java/build/libthrift-src.zip to /home/roger/.m2/repository/org/apache/thrift/libthrift/0.5.0/libthrift-0.5.0-source.jar [artifact:deploy] Deploying to https://repository.apache.org/content/repositories/snapshots [artifact:deploy] Uploading: org/apache/thrift/libthrift/0.5.0/libthrift-0.5.0.jar to repository remote.repository at https://repository.apache.org/content/repositories/snapshots
[artifact:deploy] Transferring 256K from remote.repository
[artifact:deploy] An error has occurred while processing the Maven artifact tasks.
[artifact:deploy]  Diagnosis:
[artifact:deploy]
[artifact:deploy] Error deploying artifact 'org.apache.thrift:libthrift:jar': Error deploying artifact: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/thrift/libthrift/0.5.0/libthrift-0.5.0.jar. Return code is: 401

BUILD FAILED
/home/roger/software/thrift/0.5.0/0.5.0-maven/lib/java/build.xml:284: Error deploying artifact 'org.apache.thrift:libthrift:jar': Error deploying artifact: Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/thrift/libthrift/0.5.0/libthrift-0.5.0.jar. Return code is: 401

Total time: 1 minute 8 seconds



-roger


Quoting Bryan Duxbury <br...@rapleaf.com>:

If someone can tell me how to publish it manually, I'll do that.

On Fri, Oct 8, 2010 at 9:41 AM, Ted Dunning <ted.dunn...@gmail.com> wrote:

Pity.  I have a project where residency in the repos is a requirement.

On Thu, Oct 7, 2010 at 11:20 PM, Bryan Duxbury <br...@rapleaf.com> wrote:

> We are still struggling with getting our publishing tool working. It
hasn't
> been a priority for me, so I haven't personally built any expertise.
We're
> waiting on someone to take the problem on.
>
> On Thu, Oct 7, 2010 at 10:46 PM, Ted Dunning <ted.dunn...@gmail.com>
> wrote:
>
> > Was a version of the java jar for thrift ever published to a maven
repo?
> >
> > I can't seem to find one.
> >
>





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to