Hello John,

Sorry for the long turnaround ! did you file a Jira for this issue ? just
want to make sure we don't lose track of it  :)

Best,
Sandeep


On Wed, Oct 26, 2016 at 10:09 AM, McParland, John <[email protected]>
wrote:

> Thanks Sandeep and Larry.
>
> I managed to get the build to work with the following command lines;
>
> mvn clean install -Ppackage
> mvn clean install -Prelease
> mvn clean install
>
> The key differences was removing "package" as one of the Maven goals
> explicitly listed on the command line.  Maybe there's a clash between it's
> phases and the assembly plugin phases?
>
> @Sandeep - I initially encountered coredumps however a combination of
> 1. Adding memory to MAVEN_OPTS: -Xms1024m -Xmx2048m
> 2. Changing my JAVA_HOME, from jdk 1.7.0_80 to jdk 1.8.0_111
> appears to have fixed that.
>
> @Larry - at the moment I'm building knowledge of how Knox hangs together,
> however my employer has a solution at one of it's clients which makes use
> of Knox.  During the course of their use, there's been functionality
> identified they'd like added to Knox (e.g. https://issues.apache.org/
> jira/browse/KNOX-528) or corrected.  We believe there's overlap between
> aims - we would like functionality added and often-times there is already
> outstanding JIRA tickets for this functionality on Knox.  They've asked me
> to spend some time working on Knox (and potentially other hadoop-related
> projects) to help.
>
> At the moment I'm building up knowledge of the product and I've moved from
> reading (e.g. dev guide / contribution guide) and I'm now getting more
> hands-on.
>
> Thanks,
>
> John McParland MIET CEng | System Architect, ODSC
> Health Local and Scotland | CGI
> CGI Ltd (UK)
> Second Floor, Inovo Building, 121 George St, Glasgow, UK, G1 1RD
> M: +44 7920 183 019
> [email protected] | www.cgi-group.co.uk
>
> CGI IT UK Limited. A CGI Group Inc. Company
> Registered Office: 250 Brook Drive, Green Park, Reading RG2 6UA,
> United Kingdom. Registered in England & Wales - Number 947968
>
> CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to
> CGI Group Inc. and its affiliates may be contained in this message. If you
> are not a recipient indicated or intended in this message (or responsible
> for delivery of this message to such person), or you think for any reason
> that this message may have been addressed to you in error, you may not use
> or copy or deliver this message to anyone else. In such case, you should
> destroy this message and are asked to notify the sender by reply e-mail.
>
> ________________________________________
> From: larry mccay [[email protected]]
> Sent: 26 October 2016 05:29
> To: [email protected]
> Subject: Re: Maven Assembly error in gateway-demo-ldap-launcher
>
> We should look into these other errors and get a fix to clean that up.
>
> I generally run: 'mvn clean install -Ppackage'
>
> @John - what areas are of interest to you?
>
>
> On Tue, Oct 25, 2016 at 9:45 PM, Sandeep More <[email protected]>
> wrote:
>
> > Hello John,
> >
> > I run into a different error with "mvn clean package install", in my
> case I
> > get core dumps :(
> > Looks like the combination of package and install is messed up.
> >
> > I generally run the ant command "ant clean release" or
> > "mvn -Prelease clean install"  they seem to be working fine.
> >
> > Best,
> > Sandeep
> >
> >
> >
> > On Tue, Oct 25, 2016 at 10:50 AM, McParland, John <
> [email protected]>
> > wrote:
> >
> > > Hi all,
> > >
> > > I've been looking at Knox with a view to making a contribution to the
> > > project.   I've created a fork and cloned it however I'm having some
> > > difficulty building the project
> > >
> > > $ mvn clean package install
> > > ...
> > > [INFO] ------------------------------------------------------------
> > > ------------
> > > [INFO] Building gateway-demo-ldap-launcher 0.10.0-SNAPSHOT
> > > [INFO] ------------------------------------------------------------
> > > ------------
> > > ...
> > > [INFO] --- maven-assembly-plugin:2.4:single (server-launcher) @
> > > gateway-demo-ldap-launcher ---
> > > [WARNING] Artifact: org.apache.knox:gateway-demo-
> > ldap-launcher:jar:0.10.0-SNAPSHOT
> > > references the same file as the assembly destination file. Moving it
> to a
> > > temporary location for inclusion.
> > > [INFO] Building jar: /home/mcparlandj/git/knox/
> > gateway-demo-ldap-launcher/
> > > target/gateway-demo-ldap-launcher-0.10.0-SNAPSHOT.jar
> > > [WARNING] Configuration options: 'appendAssemblyId' is set to false,
> and
> > > 'classifier' is missing.
> > > Instead of attaching the assembly file: /home/mcparlandj/git/knox/
> > > gateway-demo-ldap-launcher/target/gateway-demo-ldap-
> > launcher-0.10.0-SNAPSHOT.jar,
> > > it will become the file for main project artifact.
> > > NOTE: If multiple descriptors or descriptor-formats are provided for
> this
> > > project, the value of this file will be non-deterministic!
> > > [WARNING] Replacing pre-existing project main-artifact file:
> > > /home/mcparlandj/git/knox/gateway-demo-ldap-launcher/
> > > target/archive-tmp/gateway-demo-ldap-launcher-0.10.0-SNAPSHOT.jar
> > > with assembly file: /home/mcparlandj/git/knox/
> > gateway-demo-ldap-launcher/
> > > target/gateway-demo-ldap-launcher-0.10.0-SNAPSHOT.jar
> > > ...
> > > [INFO] --- maven-assembly-plugin:2.4:single (server-launcher) @
> > > gateway-demo-ldap-launcher ---
> > > [WARNING] Artifact: org.apache.knox:gateway-demo-
> > ldap-launcher:jar:0.10.0-SNAPSHOT
> > > references the same file as the assembly destination file. Moving it
> to a
> > > temporary location for inclusion.
> > > ...
> > > [ERROR] Failed to execute goal org.apache.maven.plugins:
> > > maven-assembly-plugin:2.4:single (server-launcher) on project
> > > gateway-demo-ldap-launcher: Execution server-launcher of goal
> > > org.apache.maven.plugins:maven-assembly-plugin:2.4:single failed:
> > > MALFORMED -> [Help 1]
> > >
> > > Searching around the error from maven-assembly-plugin points towards
> the
> > > module not having the parent pom declared, but for
> > > gateway-demo-ldap-launcher it does!
> > > More frustratingly, it appears to be an intermittent problem.
> > >
> > > Has anyone else experienced this problem?
> > >
> > > Thanks,
> > >
> > > John McParland MIET CEng | System Architect, ODSC
> > > Health Local and Scotland | CGI
> > > CGI Ltd (UK)
> > > Second Floor, Inovo Building, 121 George St, Glasgow, UK, G1 1RD
> > > M: +44 7920 183 019
> > > [email protected] | www.cgi-group.co.uk
> > >
> > > CGI IT UK Limited. A CGI Group Inc. Company
> > > Registered Office: 250 Brook Drive, Green Park, Reading RG2 6UA,
> > > United Kingdom. Registered in England & Wales - Number 947968
> > >
> > > CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging
> to
> > > CGI Group Inc. and its affiliates may be contained in this message. If
> > you
> > > are not a recipient indicated or intended in this message (or
> responsible
> > > for delivery of this message to such person), or you think for any
> reason
> > > that this message may have been addressed to you in error, you may not
> > use
> > > or copy or deliver this message to anyone else. In such case, you
> should
> > > destroy this message and are asked to notify the sender by reply
> e-mail.
> > >
> >
>

Reply via email to