lbs-gitea/maptology/master This commit looks good
Extended api for devices and location sharing. Refactored existing api endpoint naming scheme to improve consistency. Added picket box login module to test ejb security. Added ejb level integration tests. Extended jaspic login module. Removed duplicate exception classes. Fixed issues in swagger ui on swarm. Added indirection to data initialization to support more complicated debug and testing setups.
128 lines
3.8 KiB
XML
128 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>all</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>api</artifactId>
|
|
<name>Maptology Api</name>
|
|
<description>Api of the maptology service.</description>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<!-- generate swagger description from api -->
|
|
<groupId>com.github.kongchen</groupId>
|
|
<artifactId>swagger-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
|
|
<apiSources>
|
|
<apiSource>
|
|
<springmvc>false</springmvc>
|
|
<locations>
|
|
<location>com.maptology.api.user.IUserService</location>
|
|
<location>com.maptology.api.notice.INoticeService</location>
|
|
<location>com.maptology.api.log.ILogService</location>
|
|
<location>com.maptology.api.version.IVersionService</location>
|
|
<location>com.maptology.api.device.IDeviceService</location>
|
|
<location>com.maptology.api.share.IShareService</location>
|
|
<location>com.maptology.api.location.ILocationService</location>
|
|
</locations>
|
|
<schemes>
|
|
<scheme>http</scheme>
|
|
<scheme>https</scheme>
|
|
</schemes>
|
|
<basePath>/api</basePath>
|
|
<info>
|
|
<title>Maptology Service</title>
|
|
<version>${project.version}</version>
|
|
<description>
|
|
Maptology Service
|
|
</description>
|
|
<termsOfService>https://maptology.com/terms-of-service</termsOfService>
|
|
<contact>
|
|
<name>NES Universitaet Duisburg-Essen</name>
|
|
<email>nes-admin@uni-due.de</email>
|
|
<url>https://www.nes.uni-due.de</url>
|
|
</contact>
|
|
<license>
|
|
<url>https://maptology.com/license</url>
|
|
<name>Proprietary</name>
|
|
</license>
|
|
</info>
|
|
<swaggerFileName>maptology</swaggerFileName>
|
|
<swaggerDirectory>${basedir}/target/swagger/</swaggerDirectory>
|
|
<securityDefinitions>
|
|
<securityDefinition>
|
|
<json>/security-admin.json</json>
|
|
</securityDefinition>
|
|
<securityDefinition>
|
|
<json>/security-user.json</json>
|
|
</securityDefinition>
|
|
<securityDefinition>
|
|
<json>/security-device.json</json>
|
|
</securityDefinition>
|
|
</securityDefinitions>
|
|
</apiSource>
|
|
</apiSources>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!-- attach the generated swagger file as artifact -->
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-artifacts</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>attach-artifact</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifacts>
|
|
<artifact>
|
|
<file>${basedir}/target/swagger/maptology.json</file>
|
|
<type>swagger</type>
|
|
</artifact>
|
|
</artifacts>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>javax</groupId>
|
|
<artifactId>javaee-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger</groupId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<version>1.5.16</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>2.6.3</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|