You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Paul Merlin (JIRA)" <ji...@apache.org> on 2015/07/28 12:19:05 UTC

[jira] [Comment Edited] (JCLOUDS-974) GSON 2.3 pom is buggy, use 2.3.1 instead

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

Paul Merlin edited comment on JCLOUDS-974 at 7/28/15 10:18 AM:
---------------------------------------------------------------

Hello,

At Apache Zest, our Gradle based build produce a pom file with all our dependencies. It is included in our binary distribution as a "go-offline helper". Since then I fixed the issue by doing the dependency resolution upstream.

I encountered the issue on builds.a.o, here is the trace: https://paste.apache.org/c3uu
I'm unable to know what version of Maven was used as some slave have {{mvn}} in {{PATH}}, some don't etc...

I tought I saw the same behaviour with Maven 3.3.3 but I can't reproduce it locally.

 So, a simple pom with a dependency to jclouds-core:1.9.0 should trigger the issue.

I gathered other information from the Gson issues I found.



was (Author: eskatos):
Hello,

At Apache Zest, our Gradle based build produce a pom file with all our dependencies. It is included in our binary distribution as a "go-offline helper". Since then I fixed the issue by doing the dependency resolution upstream.

I encountered the issue on builds.a.o, here is the trace: https://paste.apache.org/c3uu
I'm unable to know what version of Maven was used as some slave have {mvn} in {PATH}, some don't etc...

I tought I saw the same behaviour with Maven 3.3.3 but I can't reproduce it locally.

 So, a simple pom with a dependency to jclouds-core:1.9.0 should trigger the issue.

I gathered other information from the Gson issues I found.


> GSON 2.3 pom is buggy, use 2.3.1 instead
> ----------------------------------------
>
>                 Key: JCLOUDS-974
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-974
>             Project: jclouds
>          Issue Type: Bug
>    Affects Versions: 1.9.0
>            Reporter: Paul Merlin
>
> Gson pom for 2.3 contains a small mistake that turns into some "syntax error" with some maven versions (eg. 3.0.4, 3.2.2, 3.3.3 etc.. which are largely used and present amongst builds.a.o slaves).
> See:
> - https://github.com/google/gson/issues/596
> - https://github.com/google/gson/issues/588
> - https://github.com/google/gson/commit/6580921f9d6f399a6bc20355d83aea60168d8d5c
> JClouds depends on Gson 2.3, see JCLOUDS-719.
> This is fixed in Gson 2.3.1.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)