Nixon Rodrigues created ATLAS-1128:
--------------------------------------

             Summary: Upgrade  frontend-maven-plugin in pom.xml from 0.0.29 to 
1.0 
                 Key: ATLAS-1128
                 URL: https://issues.apache.org/jira/browse/ATLAS-1128
             Project: Atlas
          Issue Type: Improvement
            Reporter: Nixon Rodrigues


 npm WARN messages are generated as ERROR msg in Maven logs.

{noformat}
[INFO] --- frontend-maven-plugin:0.0.29:npm (npm install) @ atlas-dashboardv2 
---
[INFO] Found proxies: []
[INFO] Running 'npm install' in 
/home/nixon/createpatch/apache-atlas/dashboardv2/target
[ERROR] npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 
or higher to avoid a RegExp DoS issue
[ERROR] npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 
or higher to avoid a RegExp DoS issue
[ERROR] npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before 
will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon 
as possible. Use 'npm ls graceful-fs' to find it in the tree.
[ERROR] npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 
or higher to avoid a RegExp DoS issue
[ERROR] npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer 
maintained. Upgrade to lodash@^4.0.0.
[ERROR] npm WARN prefer global jshint@2.8.0 should be installed with -g
[ERROR] npm WARN prefer global node-gyp@3.4.0 should be installed with -g
{noformat}

 Upgraded ​version of frontend-maven-plugin to 1.0 from 0.0.29 in pom.xml to 
fix the issue. Now the WARN logs are output as WARNING instead of ERROR in 
maven.
{noformat}
[INFO] --- frontend-maven-plugin:1.0:npm (npm install) @ atlas-dashboardv2 ---
[INFO] Running 'npm install' in 
/home/nixon/createpatch/apache-atlas/dashboardv2/target
[WARNING] npm WARN deprecated minimatch@0.2.14: Please update to minimatch 
3.0.2 or higher to avoid a RegExp DoS issue
[WARNING] npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 
or higher to avoid a RegExp DoS issue
[WARNING] npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before 
will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon 
as possible. Use 'npm ls graceful-fs' to find it in the tree.
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to