Yes, I am using Linux based Docker.

Thanks for looking into it.

Bosco


On 10/25/18, 2:09 PM, "Sailaja Polavarapu" <[email protected]> wrote:

    From the following documentation it looks like profile with OS family takes 
precedence.
    
    https://maven.apache.org/guides/introduction/introduction-to-profiles.html
    
    >>>>>>>>>>>>>>>>>>
    
    Profiles can also be active by default using a configuration like the 
following:
    
    
    
    <profiles>
    
      <profile>
    
        <id>profile-1</id>
    
        <activation>
    
          <activeByDefault>true</activeByDefault>
    
        </activation>
    
        ...
    
      </profile>
    
    </profiles>
    
    This profile will automatically be active for all builds unless another 
profile in the same POM is activated using one of the previously described 
methods. All profiles that are active by default are automatically deactivated 
when a profile in the POM is activated on the command line or through its 
activation config.
    
    >>>>>>>>>>>>>>>>>>>>>>>>
    
    
    
    If you are compiling on linux, then you see this issue as the profile with 
os family is taking precedence. If you are compiling in mac, we don’t see this 
issue. One more solution that is specified in the above document is to use 
settings.xml to specify active profiles.
    
    
    
    Thanks,
    
    Sailaja.
    
    
    
    On 10/25/18, 11:21 AM, "Velmurugan Periasamy" <[email protected]> wrote:
    
    
    
        I am able to build locally using the below command (no change) even 
after RANGER-2243.
    
    
    
        mvn clean compile package install assembly:assembly
    
    
    
        Could it be related to maven version?  I am using maven 3.3.9 and it is 
picking up the right maven-assembly-plugin (2.2-beta-5) specified in pom.xml. 
Not sure why you are picking up 3.0.0?
    
    
    
        ________________________________________
    
        From: Ramesh Mani <[email protected]>
    
        Sent: Thursday, October 25, 2018 2:15 PM
    
        To: [email protected]
    
        Subject: Re: Ranger mvn build parameters...
    
    
    
        Hi Bosco,
    
    
    
        JIRA https://issues.apache.org/jira/browse/RANGER-2265 is raised for
    
        addressing this. If this patch works we don¹t  need to updated
    
    
    
        Thanks
    
        Ramesh
    
    
    
        On 10/23/18, 10:22 PM, "Don Bosco Durai" <[email protected]> wrote:
    
    
    
        >Seems after https://issues.apache.org/jira/browse/RANGER-2243 patch, we
    
        >need to pass -Pall to the build.
    
        >
    
        >
    
        >
    
        >Without that, I am getting this error:
    
        >
    
        >
    
        >
    
        >mvn -DskipTests=true clean compile package install assembly:assembly
    
        >
    
        >[ERROR] Could not find goal 'assembly' in plugin
    
        >org.apache.maven.plugins:maven-assembly-plugin:3.0.0 among available
    
        >goals help, single -> [Help 1]
    
        >
    
        >
    
        >
    
        >Can we change the public documentation with additional details? Seems 
we
    
        >need to change quite a few places:
    
        >
    
        >
    
        >
    
        >https://ranger.apache.org/quick_start_guide.html
    
        >
    
        
>https://cwiki.apache.org/confluence/display/RANGER/Ranger+Installation+Gui
    
        >de
    
        >
    
        >https://github.com/apache/ranger
    
        >
    
        >
    
        >
    
        >There are other places also.
    
        >
    
        >
    
        >
    
        >Thanks
    
        >
    
        >
    
        >
    
        >Bosco
    
        >
    
        >
    
        >
    
        >
    
        >
    
        >
    
        >
    
        >
    
        >
    
    
    
    
    


Reply via email to