You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Dale Richardson (Jira)" <ji...@apache.org> on 2019/08/27 01:22:00 UTC

[jira] [Created] (METRON-2237) Metron RPM Build - Move npm installs outside of RPM construction

Dale Richardson created METRON-2237:
---------------------------------------

             Summary: Metron RPM Build - Move npm installs outside of RPM construction
                 Key: METRON-2237
                 URL: https://issues.apache.org/jira/browse/METRON-2237
             Project: Metron
          Issue Type: Bug
            Reporter: Dale Richardson


metron-deployment/packaging/docker/rpm-docker/SPECS/metron.spec
# allows node dependencies to be packaged in the RPMs
npm install --prefix="%\\{buildroot}%\\{metron_home}/web/expressjs" --only=production
It probably makes sense to keep this sort of packaging detail external to the RPM build and as a responsibility of the respective Maven modules.

In certain circumstances the npm repos get left lying around as persistent state in the build tree.  This cannot be tidied up be a mvn clean and causes subsequent build failures.  (c.f. METRON-2234) 

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)