Skip to content

Commit

Permalink
πŸ”§ : add maven configuration for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubuisson committed Apr 9, 2020
1 parent 85004d5 commit 1db14be
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
<junit-jupiter.version>5.5.2</junit-jupiter.version>
<kotlin.version>1.3.61</kotlin.version>
<testcontainers.version>1.12.5</testcontainers.version>
<node.version>v12.16.0</node.version>
<npm.version>6.13.4</npm.version>
<frontend-maven-plugin.version>1.9.1</frontend-maven-plugin.version>

<sonar.projectKey>gaia-app:gaia</sonar.projectKey>
<sonar.organization>gaia-app</sonar.organization>
Expand Down Expand Up @@ -364,7 +367,46 @@
</avoidCallsTo>
</configuration>
</plugin>

<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>${node.version}</nodeVersion>
<npmVersion>${npm.version}</npmVersion>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
</execution>
<execution>
<id>vue build</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run build</arguments>
<environmentVariables>
</environmentVariables>
<npmInheritsProxyConfigFromMaven>false</npmInheritsProxyConfigFromMaven>
</configuration>
</execution>
</executions>
</plugin>

</plugins>

</build>

</project>

0 comments on commit 1db14be

Please # to comment.