[ 
https://issues.apache.org/jira/browse/METRON-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394908#comment-16394908
 ] 

ASF GitHub Bot commented on METRON-1480:
----------------------------------------

Github user xyztdanid4 commented on a diff in the pull request:

    https://github.com/apache/metron/pull/952#discussion_r173710125
  
    --- Diff: metron-interface/metron-alerts/pom.xml ---
    @@ -35,36 +35,36 @@
                 <plugin>
                     <groupId>com.github.eirslett</groupId>
                     <artifactId>frontend-maven-plugin</artifactId>
    -                <version>1.3</version>
    +                <version>1.6</version>
                     <configuration>
                         <workingDirectory>./</workingDirectory>
                         <nodeVersion>${node.version}</nodeVersion>
    -                    <npmVersion>${npm.version}</npmVersion>
    -                    
<npmInheritsProxyConfigFromMaven>false</npmInheritsProxyConfigFromMaven>
    +                    <yarnVersion>${yarn.version}</yarnVersion>
    +                    
<yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
                     </configuration>
                     <executions>
                         <execution>
                             <phase>generate-resources</phase>
    -                        <id>install node and npm</id>
    +                        <id>install node and yarn</id>
                             <goals>
    -                            <goal>install-node-and-npm</goal>
    +                            <goal>install-node-and-yarn</goal>
                             </goals>
                         </execution>
                         <execution>
                             <phase>generate-resources</phase>
    -                        <id>npm install</id>
    +                        <id>yarn install</id>
                             <goals>
    -                            <goal>npm</goal>
    +                            <goal>yarn</goal>
                             </goals>
                             <configuration>
    -                            <arguments>install</arguments>
    +                             <arguments>install --mutex network 
--ignore-engines --pure-lockfile</arguments>
    --- End diff --
    
    @merrimanr I would like to thank you for your help with pointing out the 
problem is with the CI. I tried to set the cache folder differently for each 
angular project, but somehow I got some permission errors. The solution is that 
I introduced the 'mutex network' flag on the yarn install, so it will prevent 
multiple installation on the same time by yarn.


> Add yarn as default build tool for the frontend
> -----------------------------------------------
>
>                 Key: METRON-1480
>                 URL: https://issues.apache.org/jira/browse/METRON-1480
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Daniel Toth
>            Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to