Skip to content
pom.xml 15.8 KiB
Newer Older
<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>
	<groupId>de.thm.arsnova</groupId>
	<artifactId>arsnova-backend</artifactId>
	<version>3.0.0-SNAPSHOT</version>
	<properties>
		<io.spring.platform-version>Brussels-SR5</io.spring.platform-version>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		<io.netty-version>4.1.16.Final</io.netty-version>
		<org.aspectj-version>1.8.10</org.aspectj-version>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		<timestamp>${maven.build.timestamp}</timestamp>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		<sonar.language>java</sonar.language>
		<mobile.production.path>../arsnova-mobile/src/main/webapp/build/production/ARSnova</mobile.production.path>
		<mobile.testing.path>../arsnova-mobile/src/main/webapp/build/testing/ARSnova</mobile.testing.path>
		<mobile.path>${mobile.production.path}</mobile.path>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		<customization.path>${basedir}/../arsnova-customization/src/main/webapp</customization.path>
	</properties>
	<developers>
		<developer>
			<name>Klaus Quibeldey-Cirkel</name>
			<organization>Technische Hochschule Mittelhessen</organization>
			<organizationUrl>https://www.thm.de</organizationUrl>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		<developer>
			<name>Daniel Gerhardt</name>
			<organization>Technische Hochschule Mittelhessen</organization>
			<organizationUrl>https://www.thm.de</organizationUrl>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
			<email>daniel.gerhardt@mni.thm.de</email>
		</developer>
			<name>Tom Käsler</name>
			<organization>Technische Hochschule Mittelhessen</organization>
			<organizationUrl>https://www.thm.de</organizationUrl>
			<email>tom.kaesler@mni.thm.de</email>
		<system>GitLab</system>
		<url>https://git.thm.de/arsnova/arsnova/issues</url>
		<system>GitLab CI</system>
		<url>https://git.thm.de/arsnova/arsnova-backend/pipelines</url>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		<url>https://github.com/thm-projects/arsnova-backend</url>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		<connection>scm:git:https://github.com/thm-projects/arsnova-backend.git</connection>
		<developerConnection>scm:git:ssh://git@git.thm.de/arsnova/arsnova-backend.git</developerConnection>
	<licenses>
		<license>
			<name>GNU General Public License v3.0 or later</name>
			<url>https://www.gnu.org/licenses/gpl.txt</url>
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.9</version>
				<configuration>
					<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
					<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.10.4</version>
				<configuration></configuration>
			</plugin>
			<id>thmrepo</id>
			<name>THM Maven Repository</name>
			<url>https://maven.mni.thm.de/content/repositories</url>
		<repository>
			<name>THM Maven Snapshot Repository</name>
			<url>https://maven.mni.thm.de/content/repositories/snapshots</url>
		<repository>
			<id>thmmirror</id>
			<name>THM Maven Mirror</name>
			<url>https://maven.mni.thm.de/content/groups/public</url>
			<id>sonatypesnapshots</id>
			<name>Sonatype Snapshot Repository</name>
			<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
		</repository>
	</repositories>
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>io.spring.platform</groupId>
				<artifactId>platform-bom</artifactId>
				<version>${io.spring.platform-version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
			<dependency>
				<groupId>io.netty</groupId>
				<artifactId>netty-bom</artifactId>
				<version>${io.netty-version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
		</dependency>
		<!-- While commons-logging is not a required dependency, AJC fails without it. -->
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<scope>provided</scope>
		</dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
			<exclusions>
				<!-- Exclude Commons Logging in favor of SLF4j -->
				<exclusion>
					<groupId>commons-logging</groupId>
					<artifactId>commons-logging</artifactId>
				</exclusion>
			</exclusions>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc</artifactId>
		<dependency>
			<groupId>org.springframework.data</groupId>
			<artifactId>spring-data-commons</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.integration</groupId>
			<artifactId>spring-integration-mail</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-aspects</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-config</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-web</artifactId>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-taglibs</artifactId>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-cas</artifactId>
			<exclusions>
				<!-- Exclude log4j-over-slf4j to prevent delegation loop -->
				<exclusion>
					<groupId>org.slf4j</groupId>
					<artifactId>log4j-over-slf4j</artifactId>
				</exclusion>
			</exclusions>
		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-ldap</artifactId>
		</dependency>
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
Julian Hochstetter's avatar
Julian Hochstetter committed
			<artifactId>slf4j-log4j12</artifactId>
Julian Hochstetter's avatar
Julian Hochstetter committed
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
		</dependency>
		<dependency>
			<groupId>org.ektorp</groupId>
			<artifactId>org.ektorp</artifactId>
			<version>1.4.4</version>
		</dependency>
		<dependency>
			<groupId>org.ektorp</groupId>
			<artifactId>org.ektorp.spring</artifactId>
			<version>1.4.4</version>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
			<groupId>com.sun.mail</groupId>
			<artifactId>javax.mail</artifactId>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
			<version>1.6.0</version>
		</dependency>
Julian Hochstetter's avatar
Julian Hochstetter committed
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-test</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-test</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>
			<groupId>org.pac4j</groupId>
			<artifactId>spring-security-pac4j</artifactId>
			<version>3.0.0</version>
		</dependency>
		<dependency>
			<groupId>org.pac4j</groupId>
			<artifactId>pac4j-oauth</artifactId>
			<version>2.1.0</version>
		<dependency>
			<groupId>com.corundumstudio.socketio</groupId>
			<artifactId>netty-socketio</artifactId>
			<version>1.7.13</version>
		<dependency>
			<groupId>javax.inject</groupId>
			<artifactId>javax.inject</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-annotations</artifactId>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-core</artifactId>
		</dependency>
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-aop</artifactId>
		</dependency>
		<dependency>
			<groupId>org.aspectj</groupId>
			<artifactId>aspectjrt</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-aspects</artifactId>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>1.10.19</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>de.thm.arsnova.connector</groupId>
			<artifactId>connector-client</artifactId>
			<version>0.73.0</version>
		<dependency>
			<groupId>com.jayway.jsonpath</groupId>
			<artifactId>json-path-assert</artifactId>
			<scope>test</scope>
		</dependency>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		<dependency>
			<groupId>org.apache.directory.server</groupId>
			<artifactId>apacheds-core</artifactId>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.directory.server</groupId>
			<artifactId>apacheds-server-jndi</artifactId>
			<scope>runtime</scope>
		</dependency>
			<groupId>io.swagger</groupId>
			<artifactId>swagger-annotations</artifactId>
			<version>1.5.16</version>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		<dependency>
			<groupId>com.codahale.metrics</groupId>
			<artifactId>metrics-annotation</artifactId>
			<version>3.0.2</version>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		</dependency>
		<dependency>
			<groupId>org.checkerframework</groupId>
			<artifactId>checker-qual</artifactId>
			<version>2.2.0</version>
		</dependency>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
		<resources>
			<resource>
				<directory>src/main/resources</directory>
				<filtering>false</filtering>
				<excludes>
					<exclude>version.properties</exclude>
				</excludes>
			</resource>
			<resource>
				<directory>src/main/resources</directory>
				<filtering>true</filtering>
				<includes>
					<include>version.properties</include>
				</includes>
			</resource>
		</resources>

			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>aspectj-maven-plugin</artifactId>
				<version>1.10</version>
				<configuration>
					<complianceLevel>1.8</complianceLevel>
					<source>1.8</source>
					<target>1.8</target>
					<aspectLibraries>
						<aspectLibrary>
							<groupId>org.springframework</groupId>
							<artifactId>spring-aspects</artifactId>
						</aspectLibrary>
						<dependency>
							<groupId>org.springframework.security</groupId>
							<artifactId>spring-security-aspects</artifactId>
						</dependency>
					</aspectLibraries>
					<showWeaveInfo>true</showWeaveInfo>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>compile</goal>
							<goal>test-compile</goal>
						</goals>
					</execution>
				</executions>
				<dependencies>
					<dependency>
						<groupId>org.aspectj</groupId>
						<artifactId>aspectjrt</artifactId>
						<version>${org.aspectj-version}</version>
					</dependency>
					<dependency>
						<groupId>org.aspectj</groupId>
						<artifactId>aspectjtools</artifactId>
						<version>${org.aspectj-version}</version>
					</dependency>
				</dependencies>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.7.0</version>
					<source>1.8</source>
					<target>1.8</target>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
				<groupId>org.eclipse.jetty</groupId>
				<artifactId>jetty-maven-plugin</artifactId>
				<version>9.4.7.v20170914</version>
				<configuration>
					<scanIntervalSeconds>1</scanIntervalSeconds>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
					<webApp>
						<overrideDescriptor>src/main/webapp/WEB-INF/web-dev.xml</overrideDescriptor>
						<webInfIncludeJarPattern>^$</webInfIncludeJarPattern>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
					<contextHandlers>
						<contextHandler implementation="org.eclipse.jetty.maven.plugin.JettyWebAppContext">
Daniel Gerhardt's avatar
Daniel Gerhardt committed
							<contextPath>/mobile</contextPath>
							<resourceBase>${mobile.path}</resourceBase>
						</contextHandler>
						<contextHandler implementation="org.eclipse.jetty.maven.plugin.JettyWebAppContext">
Daniel Gerhardt's avatar
Daniel Gerhardt committed
							<contextPath>/customization</contextPath>
							<resourceBase>${customization.path}</resourceBase>
						</contextHandler>
					</contextHandlers>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<version>3.6</version>
				<configuration>
					<locales>en</locales>
				</configuration>
			</plugin>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
			<plugin>
				<groupId>org.sonarsource.scanner.maven</groupId>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
				<artifactId>sonar-maven-plugin</artifactId>
				<version>3.3.0.603</version>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.20.1</version>
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
				<version>0.7.9</version>
				<executions>
					<execution>
						<id>default-prepare-agent</id>
						<goals>
							<goal>prepare-agent</goal>
						</goals>
					</execution>
					<execution>
						<id>default-report</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>report</goal>
						</goals>
					</execution>
				</executions>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<version>2.17</version>
				<configuration>
					<configLocation>ARSnova-checkstyle-checker.xml</configLocation>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.tomcat.maven</groupId>
				<artifactId>tomcat7-maven-plugin</artifactId>
				<version>2.2</version>
				<configuration>
					<url>http://localhost:8080/manager/text</url>
					<server>arsnova</server>
					<path>/api</path>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
				<version>3.1.0</version>
			<plugin>
				<groupId>com.github.kongchen</groupId>
				<artifactId>swagger-maven-plugin</artifactId>
				<version>3.1.5</version>
				<configuration>
					<apiSources>
						<apiSource>
							<springmvc>true</springmvc>
							<locations>
								<location>de.thm.arsnova.controller</location>
								<location>de.thm.arsnova.entities</location>
							</locations>
							<schemes>
								<scheme>http</scheme>
								<scheme>https</scheme>
							</schemes>
Tom Käsler's avatar
Tom Käsler committed
							<basePath>/api</basePath>
							<info>
								<title>ARSnova API Documentation</title>
								<version>${project.version}</version>
								<description>This is the documentation of the ARSnova API</description>
								<contact>
									<email>info@arsnova.eu</email>
								</contact>
							</info>
							<swaggerDirectory>${project.build.directory}/classes</swaggerDirectory>
						</apiSource>
					</apiSources>
				</configuration>
				<executions>
					<execution>
						<phase>compile</phase>
						<goals>
							<goal>generate</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
			<plugin>
				<groupId>pl.project13.maven</groupId>
				<artifactId>git-commit-id-plugin</artifactId>
				<version>2.2.3</version>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
				<executions>
					<execution>
						<goals>
							<goal>revision</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
Daniel Gerhardt's avatar
Daniel Gerhardt committed
	<name>ARSnova Backend</name>
	<description>ARSnova is a great audience response system</description>
	<url>https://arsnova.github.eu</url>
	<organization>
		<name>Technische Hochschule Mittelhessen</name>
		<url>https://www.thm.de</url>
</project>