Files
maptology/service/war/pom.xml
T
handte 556e843581
lbs-gitea/maptology/master This commit looks good
Fixed bugs in json api, added code to demonstrate websockets.
Added log handler in ejb to catch server log for maptology code.
Added simple restful log service to support fetching server log via
polling.
Added websocket to demonstrate retrieving the latest log messages via
push.
Hacked websocket into angular console component to show server log when
user is logged in as admin.
2017-12-04 17:57:54 +01:00

125 lines
3.8 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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.maptology</groupId>
<artifactId>service</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>com.maptology.service</groupId>
<artifactId>war</artifactId>
<name>Maptology Service War</name>
<description>War of the maptology service.</description>
<packaging>war</packaging>
<build>
<plugins>
<plugin>
<!-- get the lastest swagger api description -->
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>copy</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.maptology</groupId>
<artifactId>api</artifactId>
<version>${project.version}</version>
<type>swagger</type>
<destFileName>maptology.json</destFileName>
<outputDirectory>${project.build.directory}/swagger/</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<webResources>
<webResource>
<directory>${project.build.directory}/swagger/</directory>
</webResource>
</webResources>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${jenkins.build.number}</Implementation-Build>
</manifestEntries>
</archive>
<attachClasses>true</attachClasses>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>false</redirectTestOutputToFile>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- service dependencies (now packaged in war) -->
<dependency>
<groupId>com.maptology.service</groupId>
<artifactId>ejb</artifactId>
<version>${project.version}</version>
</dependency>
<!-- container dependencies -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
</dependency>
<!-- jackson for serialization -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${version.jackson}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>${version.resteasy}</version>
<exclusions>
<exclusion>
<!-- will break arquillian tests -->
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
</exclusion>
</exclusions>
<scope>provided</scope>
</dependency>
<!-- testing dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<!-- pseudo dependency to force correct order -->
<groupId>com.maptology.service</groupId>
<artifactId>wildfly</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.arquillian</groupId>
<artifactId>wildfly-arquillian-container-managed</artifactId>
</dependency>
</dependencies>
</project>