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

Travis Crawford commented on HCATALOG-601:
------------------------------------------

[~sushanth] - totally agree about not bumping a dependency so close to release.

Interesting find with that error message. Here we see its attempting to fetch 
dependencies from {{glassfish-repo-archive}} - this is different than 
{{glassfish-repository}} that this patch fixes.

Can you help me understand how you got this error? Its not immediately clear 
what to do about this, but I'd like to track down what's going on.

Also, if any maven gurus are lurking, the root-cause of these failures seems to 
be transitive repositories invading our local configuration. I've done quite a 
bit of investigation and believe it "just works that way." If its possible to 
disable these transitive repos entirely I'd love to learn how.
                
> fix hcatalog dependency resolution issues
> -----------------------------------------
>
>                 Key: HCATALOG-601
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-601
>             Project: HCatalog
>          Issue Type: Bug
>          Components: build
>            Reporter: Travis Crawford
>            Assignee: Travis Crawford
>         Attachments: HCATALOG-601.1.patch
>
>
> Currently HCatalog dependency resolution fails when starting with an empty 
> cache. This often manifests itself as the build failing when trying to unzip 
> a jar, but the file is actually an HTML error page stored in the local maven 
> cache.
> I *think* this is because of our jersey dependency. Currently we depend on 
> jersey 1.9.1, which contains the following in 
> [jersey-project-1.9.1.pom|http://search.maven.org/remotecontent?filepath=com/sun/jersey/jersey-project/1.9.1/jersey-project-1.9.1.pom]:
> {code}
> <repository>
>   <id>glassfish-repository</id>
>   <name>Repository for Glassfish</name>
>   <url>
>     http://maven.glassfish.org/content/groups/glassfish
>   </url>
> </repository>
> {code}
> However, visiting that URL gives you a 404 as its no longer a maven repo. I 
> believe this transitive repo is getting pulled into our build and causing 
> havoc. Looking in our root-level pom we attempt to disable it, but that does 
> not appear to be effective.
> Starting in jersey 1.10 the glassfish repo was removed. I believe by bumping 
> our jsersey version we can resolve this issue. There was a minor packaging 
> change (we now need {{jersey-servlet}} but otherwise its a minor (local - not 
> sure about jersey) change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to