pom.xml 10.1 KB
Newer Older
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 3
	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>
4

5
	<groupId>net.sourceforge.teetime-stages</groupId>
6
	<artifactId>teetime-stages</artifactId>
7
	<version>3.0-SNAPSHOT</version>
8
	<packaging>jar</packaging>
9

10
	<name>TeeTime-Stages</name>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
11 12 13
	<inceptionYear>2015</inceptionYear>
	<url>http://teetime-framework.github.io</url>
	<description>Kieker specific stages for the TeeTime framework</description>
14 15 16 17

	<licenses>
		<license>
			<name>Apache License, Version 2.0</name>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
18
			<url>http://christianwulf.github.io/teetime/LICENSE.txt</url>
19 20
		</license>
	</licenses>
21

22 23
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24
		<java.version>1.6</java.version>
25
	</properties>
26

27

28 29 30 31 32 33 34 35
	<repositories>
		<repository>
			<!-- for SNAPSHOT versions -->
			<id>sonatype.oss.snapshots</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
		</repository>
	</repositories>

36 37 38 39 40
	<distributionManagement>
		<snapshotRepository>
			<id>teetime-deployment</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
41
		<repository>
42 43
			<id>teetime-deployment</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
44
		</repository>
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
	</distributionManagement>

	<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>http://www.se.uni-kiel.de/en</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>
		<url>https://build.se.informatik.uni-kiel.de/gitlab/chw/teetime/</url>
	</scm>
69 70

	<dependencies>
71 72 73
		<dependency>
			<groupId>net.sourceforge.teetime</groupId>
			<artifactId>teetime</artifactId>
74
			<version>3.0-SNAPSHOT</version>
75
		</dependency>
76 77 78
		<dependency>
			<groupId>net.kieker-monitoring</groupId>
			<artifactId>kieker</artifactId>
79
			<version>1.12</version>
80
		</dependency>
81 82 83
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
84
			<version>4.12</version>
85
			<scope>test</scope>
86 87 88 89 90
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-library</artifactId>
			<version>1.3</version>
91
			<scope>test</scope>
92
		</dependency>
93 94 95
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
96
			<version>1.7.21</version>
97 98 99 100
		</dependency>
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
101
			<version>1.1.7</version>
102
			<scope>runtime</scope>
103
		</dependency>
104 105 106
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
107
			<version>19.0</version>
108 109
		</dependency>
	</dependencies>
110 111 112

	<build>
		<plugins>
113 114 115 116 117 118 119 120
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.19.1</version>
				<configuration>
					<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
				</configuration>
			</plugin>
121
			<!-- we want JDK 1.6 source and binary compatibility -->
122 123 124
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
125
				<version>3.5.1</version>
126

127
				<configuration>
128 129
					<source>${java.version}</source>
					<target>${java.version}</target>
130 131
				</configuration>
			</plugin>
132

133
			<!-- goals to check for plugin updates: versions:display-plugin-updates -->
134 135 136
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>versions-maven-plugin</artifactId>
137
				<version>2.2</version>
138 139
			</plugin>

140
			<!-- goals to build a jar with binaries: jar:jar, jar:test-jar -->
141 142 143 144 145 146 147 148 149 150 151 152
			<!-- <plugin> -->
			<!-- <groupId>org.apache.maven.plugins</groupId> -->
			<!-- <artifactId>maven-jar-plugin</artifactId> -->
			<!-- <version>2.5</version> -->
			<!-- <executions> -->
			<!-- <execution> -->
			<!-- <goals> -->
			<!-- <goal>test-jar</goal> -->
			<!-- </goals> -->
			<!-- </execution> -->
			<!-- </executions> -->
			<!-- </plugin> -->
153 154

			<!-- copies all dependencies as separate jars into the target folder -->
155 156 157 158 159 160 161 162 163 164 165 166 167 168
			<!-- <plugin> -->
			<!-- <groupId>org.apache.maven.plugins</groupId> -->
			<!-- <artifactId>maven-dependency-plugin</artifactId> -->
			<!-- <version>2.10</version> -->
			<!-- <executions> -->
			<!-- <execution> -->
			<!-- <id>copy-dependencies</id> -->
			<!-- <phase>package</phase> -->
			<!-- <goals> -->
			<!-- <goal>copy-dependencies</goal> -->
			<!-- </goals> -->
			<!-- </execution> -->
			<!-- </executions> -->
			<!-- </plugin> -->
169

170 171 172
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
Nelson Tavares de Sousa's avatar
Nelson Tavares de Sousa committed
173
				<version>3.0.0</version>
174 175 176 177 178 179 180 181 182
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar-no-fork</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
183

184 185 186
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
187
				<version>2.10.3</version>
188 189 190
				<configuration>
					<failOnError>false</failOnError>
				</configuration>
191 192 193 194 195 196 197 198 199 200
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

201 202 203
			<plugin>
				<groupId>org.sonatype.plugins</groupId>
				<artifactId>nexus-staging-maven-plugin</artifactId>
204
				<version>1.6.7</version>
205 206
				<extensions>true</extensions>
				<configuration>
207
					<serverId>teetime-deployment</serverId>
208
					<nexusUrl>https://oss.sonatype.org/</nexusUrl>
209
					<autoReleaseAfterClose>false</autoReleaseAfterClose>
210 211
				</configuration>
			</plugin>
212

213
			<!-- Checkstyle -->
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
			<!-- <plugin> -->
			<!-- <groupId>org.apache.maven.plugins</groupId> -->
			<!-- <artifactId>maven-checkstyle-plugin</artifactId> -->
			<!-- <version>2.12</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> -->
236 237 238 239 240

			<!-- Findbugs -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>findbugs-maven-plugin</artifactId>
241
				<version>3.0.3</version>
242 243 244 245 246
				<configuration>
					<effort>Max</effort>
					<threshold>Low</threshold>
					<includeTests>true</includeTests>
					<failOnError>false</failOnError>
247
					<excludeFilterFile>${project.basedir}/conf/quality-config/fb-filter.xml</excludeFilterFile>
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262
				</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>
263
				<version>3.6</version>
264 265
				<configuration>
					<rulesets>
266
						<ruleset>${project.basedir}/conf/quality-config/pmd-ruleset.xml</ruleset>
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
					</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>
282 283


284 285 286 287
			<!-- Copyright Header -->
			<plugin>
				<groupId>com.mycila</groupId>
				<artifactId>license-maven-plugin</artifactId>
288
				<version>2.11</version>
289 290 291 292
				<configuration>
					<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
					<properties>
						<owner>Christian Wulf, Nelson Tavares de Sousa</owner>
293
						<email>http://teetime-framework.github.io</email>
294 295 296 297 298 299 300 301 302 303 304 305 306 307
					</properties>
					<includes>
						<include>**/*.java</include>
					</includes>
				</configuration>
				<executions>
					<execution>
						<phase>test</phase>
						<goals>
							<goal>format</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
308 309
		</plugins>
	</build>
310

311

312

313 314 315 316 317 318 319 320
	<profiles>
		<profile>
			<id>performancetest</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>build-helper-maven-plugin</artifactId>
321
						<version>1.10</version>
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341
						<executions>
							<execution>
								<id>add-test-source</id>
								<phase>generate-test-sources</phase>
								<goals>
									<goal>add-test-source</goal>
								</goals>
								<configuration>
									<sources>
										<source>src/performancetest/java</source>
									</sources>
								</configuration>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
			<activation>
			</activation>
		</profile>
342 343 344 345 346 347 348 349 350 351 352 353 354
		<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>
355
						<version>1.6</version>
356 357 358 359 360 361 362 363 364 365 366 367 368
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
369 370
	</profiles>

371
</project>