Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1207: externalized client build from maven #1212

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
#!/bin/bash
set -e

npm install
npm run compile
npm run lint
npm test
mvn clean install
75 changes: 1 addition & 74 deletions web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,80 +82,7 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.1</version>

<executions>

<execution>
<id>install node and npm</id>
<phase>compile</phase>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v4.6.1</nodeVersion>
<npmVersion>3.10.5</npmVersion>
<installDirectory>..</installDirectory>
</configuration>
</execution>

<execution>
<id>npm install</id>
<phase>compile</phase>
<goals>
<goal>npm</goal>
</goals>
<!-- Optional configuration which provides for running any npm command -->
<configuration>
<arguments>install</arguments>
<installDirectory>..</installDirectory>
</configuration>
</execution>

<execution>
<id>npm run compile</id>
<phase>compile</phase>
<goals>
<goal>npm</goal>
</goals>
<!-- Optional configuration which provides for running any npm command -->
<configuration>
<arguments>run compile</arguments>
<installDirectory>..</installDirectory>
</configuration>
</execution>

<execution>
<id>npm run lint</id>
<goals>
<goal>npm</goal>
</goals>
<phase>test</phase>
<!-- Optional configuration which provides for running any npm command -->
<configuration>
<arguments>run lint</arguments>
<installDirectory>..</installDirectory>
</configuration>
</execution>

<execution>
<id>npm test</id>
<goals>
<goal>npm</goal>
</goals>
<phase>test</phase>
<!-- Optional configuration which provides for running any npm command -->
<configuration>
<skip>${skipTests}</skip>
<arguments>run mvntest</arguments>
<installDirectory>..</installDirectory>
</configuration>
</execution>
</executions>
</plugin>


<plugin>
<artifactId>maven-resources-plugin</artifactId>
Expand Down