TSK-431: now building web with maven

to create jar file
This commit is contained in:
Mustapha Zorgati 2018-04-15 22:40:11 +02:00
parent 9601e9a8ec
commit 683fc0ba32
2 changed files with 54 additions and 0 deletions

1
web/.gitignore vendored
View File

@ -4,6 +4,7 @@
/dist
/tmp
/out-tsc
/target
# dependencies
/node_modules

53
web/pom.xml Normal file
View File

@ -0,0 +1,53 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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>
<groupId>pro.taskana</groupId>
<artifactId>taskana-web</artifactId>
<version>0.1.2-SNAPSHOT</version>
<name>web</name>
<description>taskana web</description>
<packaging>jar</packaging>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<id>copy-static</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.outputDirectory}/static
</outputDirectory>
<resources>
<resource>
<directory>dist</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>