LocationBasedServices/maptology/master There was a failure building this commit
Update wildfly to latest version. Update android project to latest version. Add support for Java 11.
121 lines
3.2 KiB
XML
121 lines
3.2 KiB
XML
<?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">
|
|
<parent>
|
|
<artifactId>project</artifactId>
|
|
<groupId>com.maptology</groupId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.maptology</groupId>
|
|
<artifactId>web-angular</artifactId>
|
|
<name>Maptology Web Angular</name>
|
|
<description>Source code of the angular user interface.</description>
|
|
<packaging>jar</packaging>
|
|
<build>
|
|
<plugins>
|
|
<!-- get the lastest swagger api description -->
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<phase>generate-sources</phase>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>com.maptology</groupId>
|
|
<artifactId>common-api</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>swagger</type>
|
|
<destFileName>maptology.json</destFileName>
|
|
<outputDirectory>${project.basedir}/src/api/</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>node-install</id>
|
|
<goals>
|
|
<goal>install-node-and-npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<nodeVersion>${version.nodejs}</nodeVersion>
|
|
<npmVersion>${version.npm}</npmVersion>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>npm-install</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>install</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>npm-build</id>
|
|
<goals>
|
|
<goal>npm</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>run release</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- add the dist file to the final jar -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>add-resource</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>add-resource</goal>
|
|
</goals>
|
|
<configuration>
|
|
<resources>
|
|
<resource>
|
|
<directory>dist</directory>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- delete the dist and api folder upon clean -->
|
|
<plugin>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<configuration>
|
|
<filesets>
|
|
<fileset>
|
|
<directory>dist</directory>
|
|
</fileset>
|
|
<fileset>
|
|
<directory>src/api</directory>
|
|
</fileset>
|
|
</filesets>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<dependency>
|
|
<!-- ensure correct build order -->
|
|
<groupId>com.maptology</groupId>
|
|
<artifactId>common-api</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|