Permalink
Browse files

Frontend build added to maven

  • Loading branch information...
calaveraInfo committed Dec 1, 2015
1 parent b7ba762 commit a3f73fd245d211d9b548a925f936f6f66e01fde9
Showing with 48 additions and 15 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 frontend/package.json
  3. +46 −15 pom.xml
View
@@ -5,6 +5,7 @@
target/
node_modules/
generated-bundle/
node-executable/
# Mobile Tools for Java (J2ME)
.mtj.tmp/
View
@@ -9,6 +9,7 @@
"author": "",
"license": "MIT",
"devDependencies": {
"webpack": "^1.12.9",
"babel-core": "^6.2.1",
"babel-loader": "^6.2.0",
"babel-preset-es2015": "^6.1.18",
View
61 pom.xml
@@ -25,21 +25,21 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-rest</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-rest-hal-browser</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-rest-hal-browser</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -57,6 +57,37 @@
<addResources>true</addResources>
</configuration>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>0.0.26</version>
<configuration>
<workingDirectory>frontend</workingDirectory>
<installDirectory>node-executable</installDirectory>
<nodeVersion>v5.1.0</nodeVersion>
<npmVersion>3.3.12</npmVersion>
</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>webpack build</id>
<goals>
<goal>webpack</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

0 comments on commit a3f73fd

Please sign in to comment.