FAQ

[Thrift-user] Maven repo for thrift?

Ted Dunning
Oct 8, 2010 at 5:47 am
Was a version of the java jar for thrift ever published to a maven repo?

I can't seem to find one.
reply

Search Discussions

12 responses

  • Bryan Duxbury at Oct 8, 2010 at 6:21 am
    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 wrote:

    Was a version of the java jar for thrift ever published to a maven repo?

    I can't seem to find one.
  • Ted Dunning at Oct 8, 2010 at 4:41 pm
    Pity. I have a project where residency in the repos is a requirement.
    On Thu, Oct 7, 2010 at 11:20 PM, Bryan Duxbury 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 wrote:

    Was a version of the java jar for thrift ever published to a maven repo?

    I can't seem to find one.
  • Bryan Duxbury at Oct 8, 2010 at 4:48 pm
    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 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 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.dunning@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.
  • Bjørn Borud at Oct 8, 2010 at 6:26 pm
    that would be brilliant! I know a lot of people are waiting for this. it
    would also make life a lot easier for downstream apache projects like
    Cassandra and Hbase.

    -Bjørn, who would love to lend a hand but who is drowned in work right now
    On Fri, Oct 8, 2010 at 6:48 PM, Bryan Duxbury wrote:

    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 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 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.dunning@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.


    --
    Bjørn Borud <bborud@gmail.com>
    +47 920 46465
  • Mark Slee at Oct 8, 2010 at 6:32 pm
    Who actually knows how to publish to Maven here? Has someone done it before? By my count Bryan must have offered to help with this about 4 or 5 times now, but it seems like each time he offers he's not receiving the information needed to help him make it happen.

    Is there anyone else hanging about on the list that can chime in here w/ details on how to actually get the package into Maven? If so, please do!

    -----Original Message-----
    From: Bjørn Borud
    Sent: Friday, October 08, 2010 11:26 AM
    To: thrift-user@incubator.apache.org
    Subject: Re: Maven repo for thrift?

    that would be brilliant! I know a lot of people are waiting for this. it
    would also make life a lot easier for downstream apache projects like
    Cassandra and Hbase.

    -Bjørn, who would love to lend a hand but who is drowned in work right now
    On Fri, Oct 8, 2010 at 6:48 PM, Bryan Duxbury wrote:

    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 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 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.dunning@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.


    --
    Bjørn Borud <bborud@gmail.com>
    +47 920 46465
  • Alex Boisvert at Oct 8, 2010 at 6:36 pm
    https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+Maven+Central
    <https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+Maven+Central>
    On Fri, Oct 8, 2010 at 11:32 AM, Mark Slee wrote:

    Who actually knows how to publish to Maven here? Has someone done it
    before? By my count Bryan must have offered to help with this about 4 or 5
    times now, but it seems like each time he offers he's not receiving the
    information needed to help him make it happen.

    Is there anyone else hanging about on the list that can chime in here w/
    details on how to actually get the package into Maven? If so, please do!

    -----Original Message-----
    From: Bjørn Borud
    Sent: Friday, October 08, 2010 11:26 AM
    To: thrift-user@incubator.apache.org
    Subject: Re: Maven repo for thrift?

    that would be brilliant! I know a lot of people are waiting for this. it
    would also make life a lot easier for downstream apache projects like
    Cassandra and Hbase.

    -Bjørn, who would love to lend a hand but who is drowned in work right now
    On Fri, Oct 8, 2010 at 6:48 PM, Bryan Duxbury wrote:

    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 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 <bryan@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.dunning@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.


    --
    Bjørn Borud <bborud@gmail.com>
    +47 920 46465
  • Abhishek Kona at Oct 8, 2010 at 6:42 pm

    On Saturday 09 October 2010 12:02 AM, Mark Slee wrote:
    Who actually knows how to publish to Maven here? Has someone done it before? By my count Bryan must have offered to help with this about 4 or 5 times now, but it seems like each time he offers he's not receiving the information needed to help him make it happen.

    Is there anyone else hanging about on the list that can chime in here w/ details on how to actually get the package into Maven? If so, please do!

    -----Original Message-----
    From: Bjørn Borud
    Sent: Friday, October 08, 2010 11:26 AM
    To: thrift-user@incubator.apache.org
    Subject: Re: Maven repo for thrift?

    that would be brilliant! I know a lot of people are waiting for this. it
    would also make life a lot easier for downstream apache projects like
    Cassandra and Hbase.

    -Bjørn, who would love to lend a hand but who is drowned in work right now

    On Fri, Oct 8, 2010 at 6:48 PM, Bryan Duxburywrote:
    If someone can tell me how to publish it manually, I'll do that.

    On Fri, Oct 8, 2010 at 9:41 AM, Ted Dunningwrote:
    Pity. I have a project where residency in the repos is a requirement.

    On Thu, Oct 7, 2010 at 11:20 PM, Bryan Duxbury<bryan@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.dunning@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.
    Well the process takes some time.
    http://maven.apache.org/guides/mini/guide-central-repository-upload.html
    The above link some explanation.

    There are two ways of going about it : Thrift can host the maven
    artifact at its own repository (google does this e.g google-gson), or
    it can submit the jar to Maven central by following this process :
    https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+Maven+Central

    Abhishek Kona
  • Ted Dunning at Oct 8, 2010 at 7:02 pm
    As an Apache project, Thrift presumably has access to at least the apache
    snapshots repository. I don't know if incubator projects can do
    full scale releases to the main apache repo which is automagically mirrored
    to the Maven central repository. For that matter, the snapshots
    may also be mirrored.
    On Fri, Oct 8, 2010 at 11:40 AM, Abhishek Kona wrote:

    Well the process takes some time.
    http://maven.apache.org/guides/mini/guide-central-repository-upload.html
    The above link some explanation.

    There are two ways of going about it : Thrift can host the maven artifact
    at its own repository (google does this e.g google-gson), or it can submit
    the jar to Maven central by following this process :


    https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+Maven+Central

    Abhishek Kona
  • Bjørn Borud at Oct 8, 2010 at 7:18 pm

    On Fri, Oct 8, 2010 at 8:32 PM, Mark Slee wrote:

    Who actually knows how to publish to Maven here? Has someone done it
    before?

    I've set it up on our own internal Maven-based projects. we use Hudson to
    build each artifact and then let Hudson deploy the artifacts to our internal
    Maven repository upon successful build and test. this way we have snapshots
    of trunk continually published to the snapshot repository and whenever
    changes are made to the release branches, Hudson automatically builds, tests
    and publishes the release builds.

    the problem is: I've not done this with Ant + Ivy. (In fact, we considered
    using Ant + Ivy, but found it to be more painful than just going with Maven
    since that is what most of the Java universe is centered around right now.
    Maven is a piece of junk, but it is a piece of junk that a lot of people
    use).

    -Bjørn


    By my count Bryan must have offered to help with this about 4 or 5 times
    now, but it seems like each time he offers he's not receiving the
    information needed to help him make it happen.

    Is there anyone else hanging about on the list that can chime in here w/
    details on how to actually get the package into Maven? If so, please do!

    -----Original Message-----
    From: Bjørn Borud
    Sent: Friday, October 08, 2010 11:26 AM
    To: thrift-user@incubator.apache.org
    Subject: Re: Maven repo for thrift?

    that would be brilliant! I know a lot of people are waiting for this. it
    would also make life a lot easier for downstream apache projects like
    Cassandra and Hbase.

    -Bjørn, who would love to lend a hand but who is drowned in work right now
    On Fri, Oct 8, 2010 at 6:48 PM, Bryan Duxbury wrote:

    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 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 <bryan@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.dunning@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.


    --
    Bjørn Borud <bborud@gmail.com>
    +47 920 46465


    --
    Bjørn Borud <bborud@gmail.com>
    +47 920 46465
  • Roger at Oct 8, 2010 at 7:46 pm
    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 <bryan@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 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 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.dunning@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.
  • Roger at Oct 8, 2010 at 8:31 pm
    I'm able to login to https://repository.apache.org/index.html
    but there is no "Staging Upload link in the Nexus menu", probably
    incubator projects are not allowed to publish...

    I've placed my build result here:
    http://people.apache.org/~roger/dist/thrift/0.5.0/maven/

    seems that we have to wait for graduation... or create a INFRA ticket?


    reopen this?
    https://issues.apache.org/jira/browse/THRIFT-363



    Quoting roger@bufferoverflow.ch:
    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 <bryan@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 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 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.dunning@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.




    ----------------------------------------------------------------
    This message was sent using IMP, the Internet Messaging Program.
  • Kowalewski, Bartosz at Oct 8, 2010 at 9:17 pm
    I think that incubator projects are allowed to publish to Apache repositories. I watched Apache Aries being released to Apache repos and then moved to Maven Central repository. I'm not an Apache committer, so I would not be of much help. However, it might be resonable to ask committers from other projects for some hints, i.e. the author of this guide for Apache Aries http://incubator.apache.org/aries/releasingaries.html.

    +1 for releasing Thrift the Maven Central repo
    +1 for releasing binary distributions of the Thrift compiler
    +1 for creating a nice and clean Thrift compiler Mojo

    Best regards,
    Bartek
    ________________________________________
    From: roger@bufferoverflow.ch [roger@bufferoverflow.ch]
    Sent: Friday, October 08, 2010 10:29 PM
    To: thrift-user@incubator.apache.org
    Subject: Re: Maven repo for thrift?

    I'm able to login to https://repository.apache.org/index.html
    but there is no "Staging Upload link in the Nexus menu", probably
    incubator projects are not allowed to publish...

    I've placed my build result here:
    http://people.apache.org/~roger/dist/thrift/0.5.0/maven/

    seems that we have to wait for graduation... or create a INFRA ticket?


    reopen this?
    https://issues.apache.org/jira/browse/THRIFT-363



    Quoting roger@bufferoverflow.ch:
    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 <bryan@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 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 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.dunning@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.




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

Related Discussions