Code development platform for open source projects from the European Union institutions

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

fix npm bamboo build

parent 544d1b07
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -38,7 +38,7 @@
},
"devDependencies": {
"@angular-devkit/build-angular": "^13.2.4",
"@angular/cli": "^13.2.4",
"@angular/cli": "^13.3.7",
"@angular/compiler-cli": "^13.2.3",
"@types/file-saver": "2.0.3",
"@types/jasmine": "3.9.1",
......
......@@ -115,20 +115,47 @@
<artifactId>exec-maven-plugin</artifactId>
<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>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<arguments>
<argument>${npm.path}/npm</argument>
<argument>run-script</argument>
<argument>prod</argument>
</arguments>
</configuration>
</execution>
</executions>
<configuration>
<executable>${npm.path}/node</executable>
</configuration>
<!--configuration>
<executable>${npm.path}/node</executable>
<arguments>
<argument>${npm.path}/npm</argument>
<argument>run-script</argument>
<argument>prod</argument>
</arguments>
</configuration>
</configuration-->
</plugin>
</plugins>
</build>
......
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