Created
April 14, 2018 08:44
-
-
Save lahsivjar/2c0b8073fb29f6c9abbc8a8f27842fe9 to your computer and use it in GitHub Desktop.
Pom to independently launch with-sockjs without help from parent pom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | |
http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>with-sockjs</artifactId> | |
<parent> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-parent</artifactId> | |
<version>1.5.4.RELEASE</version> | |
<relativePath></relativePath> | |
</parent> | |
<properties> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
<springboot.maven.plugin.version>1.5.4.RELEASE</springboot.maven.plugin.version> | |
<maven.clean.plugin.version>3.0.0</maven.clean.plugin.version> | |
<frontend.maven.plugin.version>1.3</frontend.maven.plugin.version> | |
<node.version>v6.10.0</node.version> | |
<npm.version>4.3.0</npm.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-thymeleaf</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-websocket</artifactId> | |
<version>4.2.2.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>org.springframework</groupId> | |
<artifactId>spring-messaging</artifactId> | |
<version>4.2.2.RELEASE</version> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<version>24.0-jre</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
<version>${springboot.maven.plugin.version}</version> | |
<executions> | |
<execution> | |
<goals> | |
<goal>repackage</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-clean-plugin</artifactId> | |
<version>${maven.clean.plugin.version}</version> | |
<configuration> | |
<filesets> | |
<fileset> | |
<directory>src/main/resources/dynamic_resources</directory> | |
<directory>node_modules</directory> | |
</fileset> | |
</filesets> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>com.github.eirslett</groupId> | |
<artifactId>frontend-maven-plugin</artifactId> | |
<version>${frontend.maven.plugin.version}</version> | |
<configuration> | |
<installDirectory>target</installDirectory> | |
</configuration> | |
<executions> | |
<execution> | |
<id>node-npm-install</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> | |
<configuration> | |
<arguments>install</arguments> | |
</configuration> | |
</execution> | |
<execution> | |
<id>webpack</id> | |
<goals> | |
<goal>webpack</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment