Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 506cc292 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

Add angular cli install step when building with -DusePreInstallNpm=true

parent 6fa0f5a0
No related branches found
No related tags found
No related merge requests found
Pipeline #225149 failed
......@@ -125,6 +125,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.1.0</version>
<!-- set executable -->
<configuration>
<!-- set PATH to node executable. NOTE this is specific to linux like OS -->
......@@ -134,6 +135,20 @@
<executable>${npm.path}/node</executable>
</configuration>
<executions>
<execution>
<id>npm install</id>
<phase>generate-resources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<arguments>
<argument>${npm.path}/npm</argument>
<argument>install</argument>
<argument>@angular/cli</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>angular build</id>
<phase>generate-resources</phase>
......
......@@ -290,7 +290,7 @@ export class SecurityService {
*
*/
uiUserActivityDetected() {
console.log("User activity detected");
let user = this.getCurrentUser();
if (!this.isAuthenticated(false)
|| !user
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment