You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Robert Lu (JIRA)" <ji...@apache.org> on 2017/10/16 07:04:00 UTC

[jira] [Comment Edited] (THRIFT-3983) libthrift is deployed on central with pom packaging instead of jar

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

Robert Lu edited comment on THRIFT-3983 at 10/16/17 7:03 AM:
-------------------------------------------------------------

Hi, [~jking3] 

Definitely it's not right at [lib/java/build.xml|https://github.com/apache/thrift/blob/8b8a8efea13d1c97f856053af0a5c0e6a8a76354/lib/java/build.xml#L329].

But I don't know why [signAndDeploy for a pom file|https://github.com/apache/thrift/blob/8b8a8efea13d1c97f856053af0a5c0e6a8a76354/lib/java/build.xml#L416].

I think just signAndDeploy for jar, src.jar, javadoc, not pom.


was (Author: robert lu):
Hi, [~jking3] 

Defiantly it's not right at [lib/java/build.xml|https://github.com/apache/thrift/blob/8b8a8efea13d1c97f856053af0a5c0e6a8a76354/lib/java/build.xml#L329].

But I don't know why [signAndDeploy for a pom file|https://github.com/apache/thrift/blob/8b8a8efea13d1c97f856053af0a5c0e6a8a76354/lib/java/build.xml#L416].

I think just signAndDeploy for jar, src.jar, javadoc, not pom.

> libthrift is deployed on central with pom packaging instead of jar
> ------------------------------------------------------------------
>
>                 Key: THRIFT-3983
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3983
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>    Affects Versions: 0.9.3
>            Reporter: Stéphane Landelle
>            Priority: Blocker
>
> Hi,
> libthrift is deployed with a "pom" packaging on maven central, see https://repo1.maven.org/maven2/org/apache/thrift/libthrift/0.9.3/libthrift-0.9.3.pom
> <groupId>org.apache.thrift</groupId>
> <artifactId>libthrift</artifactId>
> <version>0.9.3</version>
> <packaging>pom</packaging>
> <name>Apache Thrift</name>
> This is very wrong. "pom" means "no jar, just a list of dependencies to be pulled transitively".
> As a consequence, some build tools, such as sbt, don't pull the libthrift jar itself.
> The pom should be be using a "jar" packaging, or even no packaging at all as "jar" is the default value.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)