I am getting something similar..

[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 08:08 min
[INFO] Finished at: 2017-05-15T13:04:00+10:00
[INFO] Final Memory: 220M/3873M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.3:npm (ng build) on project
metron-config: Failed to run task: 'npm run build' failed. (error code 1)
-> [Help 1]

Looking back through the code I can see
[ERROR]     at
/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node_modules/resolve/lib/async.js:24:24
[ERROR]     at FSReqWrap.oncomplete (fs.js:117:15)
[ERROR]
[ERROR] npm ERR! Linux 4.4.0-75-generic
[ERROR] npm ERR! argv
"/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node/node"
"/home/kevin/metron/docs/incubator-metron/metron-interface/metron-config/node/node_modules/npm/bin/npm-cli.js"
"run" "build"
[ERROR] npm ERR! node v6.2.0
[ERROR] npm ERR! npm  v3.8.9
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! metron-management-ui@0.4.0 build:
`./node_modules/angular-cli/bin/ng build -prod`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the metron-management-ui@0.4.0 build script
'./node_modules/angular-cli/bin/ng build -prod'.
[ERROR] npm ERR! Make sure you have the latest version of node.js and npm
installed.
[ERROR] npm ERR! If you do, this is most likely a problem with the
metron-management-ui package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR!     ./node_modules/angular-cli/bin/ng build -prod
[ERROR] npm ERR! You can get information on how to open an issue for this
project with:
[ERROR] npm ERR!     npm bugs metron-management-ui
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR!     npm owner ls metron-management-ui
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR]


Kevin

On Tue, May 16, 2017 at 4:32 AM, Dima Kovalyov <dima.koval...@sstech.us>
wrote:

> Hello Metron devs,
>
> I am trying to merge Apache Metron branch Metron_0.3.1 into our Metron
> fork. I resolved few conflicts in regards to pom and travis xml files.
> When I build it, I receive following error:
> [INFO] Compiling 55 source files to
> /home/redacted/sst-metron/metron-platform/metron-enrichment/target/classes
> /home/redacted/sst-metron/metron-platform/metron-
> enrichment/src/main/java/org/apache/metron/enrichment/
> adapters/simplehbase/SimpleHBaseAdapter.java:90:
> warning: [unchecked] unchecked call to put(K,V) as a member of the raw
> type HashMap
>               enriched.put(kv.getKey().type + "." + values.getKey(),
> values.getValue());
>                           ^
>   where K,V are type-variables:
>     K extends Object declared in class HashMap
>     V extends Object declared in class HashMap
> ...
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile
> (default-compile) on project metron-enrichment: Compilation failure ->
> [Help 1]
>
> Attached full file for check.
>
> Both repos building fine separately.
>
> Can you please advise where I can find file that causes this?
> Thank you.
>
> - Dima
>

Reply via email to