Hi Peter

No need to apologise - I find this interesting - it's not clear to me why 
clearing out your .m2 would fix this so there is obviously something that 
I don't understand.
I would have expected intg to need the dependency (with the 
dependencyManagement entry in the root pom specifying the version). But I 
would have presumed that if jersey was available in the local repo the 
depedency would be satisfied, else it would be downloaded. Was it that the 
version of jersey in your local repo was back-level? I think this is 
interesting because quite a few times recently people have reported that 
clearing their .m2 repo was critical to getting a successful build, so I'd 
like to understand what is going on.

Best regards,
  Graham

Graham Wallis
IBM Analytics Emerging Technology Center
Internet: graham_wal...@uk.ibm.com 
IBM Laboratories, Hursley Park, Hursley, Hampshire SO21 2JN
Tel: +44-1962-815356    Tie: 7-245356




From:   Peter Gergo Barna <pba...@hortonworks.com>
To:     "dev@atlas.apache.org" <dev@atlas.apache.org>
Date:   01/12/2017 11:09
Subject:        Re: compilation error in master



This was just my env. I had to delete my .m2 dir and then I was able to 
build the project.
Sorry for the noise.
Peter Gergo Barna



On 11/30/17, 4:29 PM, "Peter Gergo Barna" <pba...@hortonworks.com> wrote:

>Hi,
>I get compilation errors while building the master branch
>
>
>[ERROR] COMPILATION ERROR :
>
>[INFO] -------------------------------------------------------------
>
>[ERROR] 
/Users/pbarna/Desktop/apache-source/atlas/intg/src/main/java/org/apache/atlas/model/SearchFilter.java:[20,32]
 
package com.sun.jersey.core.util does not exist
>
>The jersey-core lib (v 1.19) is there in my local maven repo.
>
>jersey-core is not present in the intg project pom.xml as a dependency.
>It can only be found in the parent pom under dependencyManagement
>
>If I add jersey-core to the dependencies of the intg project, it will 
compile.
>What am I missing here?
>
>Thx
>Peter Gergo Barna


Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

Reply via email to