Skip to content
Snippets Groups Projects
pom.xml 12.1 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>net.sourceforge.teetime</groupId>
	<artifactId>teetime</artifactId>
	<version>1.1-SNAPSHOT</version>
	<packaging>jar</packaging>
	<description>TeeTime is a Pipe-and-Filter framework for Java</description>
	<url>http://teetime.sourceforge.org</url>

	<licenses>
		<license>
			<name>Apache License, Version 2.0</name>
			<url>http://teetime.sourceforge.net/LICENSE.txt</url>
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<java.version>1.6</java.version>
		<javadocOutputDir>apidocs</javadocOutputDir>
	</properties>
	<distributionManagement>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
		<site>
			<id>teetime.sf.net</id>
			<url>scp://shell.sourceforge.net/home/project-web/teetime/htdocs</url>
		</site>
			<id>teetime-deployment</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>teetime-deployment</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
	<issueManagement>
		<system>GitLab</system>
		<url>https://build.se.informatik.uni-kiel.de/gitlab/chw/teetime/issues/</url>
	</issueManagement>

	<developers>
		<developer>
			<id>chw</id>
			<name>Christian Wulf</name>
			<email>chw@informatik.uni-kiel.de</email>
			<organization>Christian-Albrechts-Universitaet zu Kiel</organization>
			<organizationUrl>http://www.se.informatik.uni-kiel.de/en/team/christian-wulf</organizationUrl>
		</developer>
		<developer>
			<id>ntd</id>
			<name>Nelson Tavares de Sousa</name>
			<email>ntd@informatik.uni-kiel.de</email>
			<organization>Christian-Albrechts-Universitaet zu Kiel</organization>
			<organizationUrl>https://www.informatik.uni-kiel.de/~ntd/</organizationUrl>
		</developer>
	</developers>

	<scm>
		<connection>scm:git:https://build.se.informatik.uni-kiel.de/gitlab/chw/teetime.git</connection>
		<developerConnection>scm:git:ssh://gitlab@build.se.informatik.uni-kiel.de:chw/teetime.git</developerConnection>
Christian Wulf's avatar
Christian Wulf committed
		<url>https://build.se.informatik.uni-kiel.de/gitlab/chw/teetime/</url>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
	<ciManagement>
		<system>Jenkins</system>
		<url>https://build.se.informatik.uni-kiel.de/jenkins/view/TeeTime/</url>
	</ciManagement>

Christian Wulf's avatar
Christian Wulf committed
	<repositories>
		<repository>
			<id>jitpack.io</id>
			<url>https://jitpack.io</url>
		</repository>
	</repositories>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-core</artifactId>
			<version>1.3</version>
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-library</artifactId>
			<version>1.3</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>1.7.7</version>
		</dependency>
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
			<version>1.1.2</version>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<version>18.0</version>
		</dependency>
Christian Wulf's avatar
Christian Wulf committed
		<!-- <dependency> -->
		<!-- <groupId>org.jctools</groupId> -->
		<!-- <artifactId>jctools-core</artifactId> -->
		<!-- <version>1.0</version> -->
		<!-- <version>1.1-SNAPSHOT</version> -->
		<!-- </dependency> -->
		<dependency>
Christian Wulf's avatar
Christian Wulf committed
			<groupId>com.github.JCTools</groupId>
			<artifactId>JCTools</artifactId>
Christian Wulf's avatar
Christian Wulf committed
			<!-- SNAPSHOT master version -->
			<version>7239659ba0</version>
Christian Wulf's avatar
Christian Wulf committed
		</dependency>
Christian Wulf's avatar
Christian Wulf committed
		<dependency>
			<groupId>com.puppycrawl.tools</groupId>
			<artifactId>checkstyle</artifactId>
			<version>6.5</version>
		</dependency>

		<dependency>
			<groupId>com.carrotsearch</groupId>
			<artifactId>hppc</artifactId>
			<version>0.6.0</version>
		</dependency>
	</dependencies>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<formats>
						<format>html</format>
						<format>xml</format>
					</formats>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
					<instrumentation>
						<excludes>
							<exclude>src/performancetest/**/*</exclude>
						</excludes>
					</instrumentation>
				</configuration>
			</plugin>
			<!-- we want JDK 1.6 source and binary compatibility -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<source>${java.version}</source>
					<target>${java.version}</target>
				</configuration>
			</plugin>
			<!-- goals to check for plugin updates: versions:display-plugin-updates -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>versions-maven-plugin</artifactId>
				<version>2.1</version>
			</plugin>

			<!-- goals to build a jar with binaries: jar:jar, jar:test-jar -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.5</version>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.2.1</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9.1</version>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<plugin>
				<groupId>org.sonatype.plugins</groupId>
				<artifactId>nexus-staging-maven-plugin</artifactId>
				<version>1.6.5</version>
				<extensions>true</extensions>
				<configuration>
					<serverId>teetime-deployment</serverId>
					<nexusUrl>https://oss.sonatype.org/</nexusUrl>
					<autoReleaseAfterClose>false</autoReleaseAfterClose>
Christian Wulf's avatar
Christian Wulf committed
			<!-- Checkstyle -->
<!-- 			<plugin> -->
<!-- 				<groupId>org.apache.maven.plugins</groupId> -->
<!-- 				<artifactId>maven-checkstyle-plugin</artifactId> -->
<!-- 				<version>2.15</version> -->
<!-- 				<executions> -->
<!-- 					<execution> -->
<!-- 						<phase>test</phase> -->
<!-- 						<goals> -->
<!-- 							<goal>check</goal> -->
<!-- 						</goals> -->
<!-- 						<configuration> -->
<!-- 							<configLocation>${project.basedir}/conf/quality-config/cs-conf.xml</configLocation> -->
<!-- 							<includeTestSourceDirectory>true</includeTestSourceDirectory> -->
<!-- 							<encoding>UTF-8</encoding> -->
<!-- 							<consoleOutput>true</consoleOutput> -->
<!-- 							<failsOnError>false</failsOnError> -->
<!-- 							<failOnViolation>false</failOnViolation> -->
<!-- 							<linkXRef>false</linkXRef> -->
<!-- 						</configuration> -->
<!-- 					</execution> -->
<!-- 				</executions> -->
<!-- 			</plugin> -->

			<!-- Findbugs -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>findbugs-maven-plugin</artifactId>
				<version>3.0.0</version>
				<configuration>
					<effort>Max</effort>
					<threshold>Low</threshold>
					<includeTests>true</includeTests>
					<failOnError>false</failOnError>
					<excludeFilterFile>${project.basedir}/conf/quality-config/fb-filter.xml</excludeFilterFile>
				</configuration>
				<executions>
					<execution>
						<phase>test</phase>
						<goals>
							<goal>findbugs</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

			<!-- PMD -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-pmd-plugin</artifactId>
				<version>3.2</version>

				<configuration>
					<rulesets>
						<ruleset>${project.basedir}/conf/quality-config/pmd-ruleset.xml</ruleset>
					</rulesets>
					<includeTests>true</includeTests>
					<targetJdk>${java.version}</targetJdk>
					<failOnError>false</failOnError>
				</configuration>
				<executions>
					<execution>
						<phase>test</phase>
						<goals>
							<goal>pmd</goal>
							<goal>cpd</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<version>3.3</version>
				<dependencies>
					<!-- for using markdown syntax gitlab@build.se.informatik.uni-kiel.de:nts/doxia-module-markdown-teetime.git -->
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
					<dependency>
						<groupId>org.apache.maven.doxia</groupId>
						<artifactId>doxia-module-markdown-teetime</artifactId>
						<version>1.6</version>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
					</dependency>
					<!-- add support for ssh/scp -->
					<dependency>
						<groupId>org.apache.maven.wagon</groupId>
						<artifactId>wagon-ssh</artifactId>
						<version>1.0</version>
					</dependency>
					<!-- skin -->
					<dependency>
						<groupId>lt.velykis.maven.skins</groupId>
						<artifactId>reflow-velocity-tools</artifactId>
						<version>1.1.1</version>
					</dependency>
					<!-- Reflow skin requires Velocity >= 1.7 -->
					<dependency>
						<groupId>org.apache.velocity</groupId>
						<artifactId>velocity</artifactId>
						<version>1.7</version>
					</dependency>
				</dependencies>
			</plugin>

			<!-- Copyright Header -->
			<plugin>
				<groupId>com.mycila</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<version>2.7</version>
				<configuration>
					<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
					<properties>
						<owner>Christian Wulf, Nelson Tavares de Sousa</owner>
						<email>http://teetime.sourceforge.net</email>
					<includes>
						<include>**/*.java</include>
					</includes>
		</plugins>
	</build>
	<reporting>
		<plugins>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-changes-plugin</artifactId>
				<version>2.11</version>
				<configuration>
					<issueLinkTemplatePerSystem>
						<Gitlab>%URL%/%ISSUE%</Gitlab>
					</issueLinkTemplatePerSystem>
				</configuration>
				<reportSets>
					<reportSet>
						<reports>
							<report>changes-report</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
			<!-- Checkstyle -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<version>2.13</version>
				<reportSets>
					<reportSet>
						<reports>
							<report>checkstyle</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9.1</version>
				<configuration>
					<destDir>${javadocOutputDir}</destDir>
				</configuration>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>findbugs-maven-plugin</artifactId>
				<version>3.0.0</version>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-pmd-plugin</artifactId>
				<version>3.2</version>
			</plugin>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<version>2.6</version>
			</plugin>
		</plugins>
	</reporting>

		<profile>
			<id>signing</id>
			<activation>
				<property>
					<name>sign-jars</name>
					<value>true</value>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.5</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
</project>