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