Skip to content

Commit

Permalink
Incluso nel processo maven la compilazione del cruscotto di gestione
Browse files Browse the repository at this point in the history
  • Loading branch information
nardil committed Oct 30, 2019
1 parent ecd616c commit 92a6d09
Show file tree
Hide file tree
Showing 24 changed files with 46 additions and 1,022 deletions.
52 changes: 46 additions & 6 deletions wars/web-console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,15 @@
<webResources>
<webResource>
<filtering>false</filtering>
<directory>src/main/webapp</directory>
<directory>src/main/angular/console/dist/</directory>
<excludes>
<exclude>assets/Config.govpay</exclude>
<exclude>index.html</exclude>
</excludes>
</webResource>
<webResource>
<filtering>true</filtering>
<directory>src/main/webapp</directory>
<includes>
<include>assets/Config.govpay</include>
<include>index.html</include>
</includes>
<directory>src/main/webapp/</directory>
</webResource>
</webResources>
<webXml>src/main/resources/web.xml</webXml>
Expand All @@ -66,6 +62,50 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.3</version>
<configuration>
<nodeVersion>v10.15.0</nodeVersion>
<npmVersion>6.9.0</npmVersion>
<workingDirectory>src/main/angular/console/</workingDirectory>
<installDirectory>target/dist</installDirectory>
</configuration>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
</execution>
<execution>
<id>npm run build</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
<execution>
<id>prod</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run-script build</arguments>
</configuration>
<phase>generate-resources</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 92a6d09

Please sign in to comment.