Browse code

BM-15325 Fix: use our own nexus to retrieve node and yarn

kladier authored on 08/01/2020 11:11:32
Showing 1 changed files
... ...
@@ -40,38 +40,42 @@
40 40
         <pluginManagement>
41 41
 			<plugins>
42 42
                 <plugin>
43
-                    <groupId>com.github.eirslett</groupId>
44
-                    <artifactId>frontend-maven-plugin</artifactId>
45
-                    <version>1.6</version>
46
-                    <executions>
47
-                        <execution>
48
-                            <id>Install JS build tools</id>
49
-                            <goals>
50
-                                <goal>install-node-and-yarn</goal>
51
-                            </goals>
52
-                            <configuration>
43
+					<groupId>com.github.eirslett</groupId>
44
+					<artifactId>frontend-maven-plugin</artifactId>
45
+					<version>1.6</version>
46
+                    <configuration>
47
+                        <nodeDownloadRoot>https://forge.bluemind.net/nexus/repository/releases/bluemind-dependencies/node/</nodeDownloadRoot>
48
+                        <yarnDownloadRoot>https://forge.bluemind.net/nexus/repository/releases/bluemind-dependencies/yarn/</yarnDownloadRoot>
49
+                    </configuration>
50
+					<executions>
51
+						<execution>
52
+							<id>Install JS build tools</id>
53
+							<goals>
54
+								<goal>install-node-and-yarn</goal>
55
+							</goals>
56
+							<configuration>
53 57
                                 <nodeVersion>v8.11.0</nodeVersion>
54 58
                                 <yarnVersion>v1.6.0</yarnVersion>
55
-                            </configuration>
56
-                        </execution>
59
+							</configuration>
60
+						</execution>
57 61
                         <execution>
58 62
                             <id>Install JS dependencies</id>
59 63
                             <goals>
60 64
                                 <goal>yarn</goal>
61 65
                             </goals>
62 66
                         </execution>
63
-                        <execution>
64
-                            <id>Build JS resources</id>
65
-                            <goals>
66
-                                <goal>yarn</goal>
67
-                            </goals>
68
-                            <phase>generate-resources</phase>
69
-                            <configuration>
70
-                                <arguments>run build</arguments>
71
-                            </configuration>
72
-                        </execution>
73
-                    </executions>
74
-                </plugin>
67
+						<execution>
68
+							<id>Build JS resources</id>
69
+							<goals>
70
+								<goal>yarn</goal>
71
+							</goals>
72
+							<phase>generate-resources</phase>
73
+							<configuration>
74
+								<arguments>run build</arguments>
75
+							</configuration>
76
+						</execution>
77
+					</executions>
78
+				</plugin>
75 79
             </plugins>
76 80
         </pluginManagement>
77 81
     </build>