pom.xml 13.3 KB
Newer Older
S
sewen 已提交
1
<?xml version="1.0" encoding="UTF-8"?>
2 3 4
<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
S
sewen 已提交
5 6

	<modelVersion>4.0.0</modelVersion>
7

S
sewen 已提交
8 9 10
	<groupId>eu.stratosphere</groupId>
	<artifactId>stratosphere</artifactId>
	<version>0.1</version>
11

S
sewen 已提交
12 13 14 15
	<name>stratosphere</name>
	<packaging>pom</packaging>
	<url>http://www.stratosphere.eu</url>
	<inceptionYear>2009</inceptionYear>
16

S
sewen 已提交
17 18 19 20 21 22 23
	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>stratosphere</distribution>
		</license>
	</licenses>
24

S
sewen 已提交
25 26 27 28 29 30 31 32 33 34 35
	<developers>
		<developer>
			<id>warneke</id>
			<name>Daniel Warneke</name>
			<email>daniel.warneke@tu-berlin.de</email>
			<organization>TU-Berlin, CIT</organization>
			<organizationUrl>http://www.cit.tu-berlin.de</organizationUrl>
			<roles>
				<role>Lead Developer</role>
			</roles>
		</developer>
36

S
sewen 已提交
37 38 39 40 41 42 43 44 45 46
		<developer>
			<id>sewen</id>
			<name>Stephan Ewen</name>
			<email>stephan.ewen@tu-berlin.de</email>
			<organization>TU-Berlin, DIMA</organization>
			<organizationUrl>http://www.dima.tu-berlin.de</organizationUrl>
			<roles>
				<role>Lead Developer</role>
			</roles>
		</developer>
47

S
sewen 已提交
48 49 50 51 52 53 54 55 56 57 58 59 60 61
		<developer>
			<id>fhueske</id>
			<name>Fabian Hueske</name>
			<email>fabian.hueske@tu-berlin.de</email>
			<organization>TU-Berlin, DIMA</organization>
			<organizationUrl>http://www.dima.tu-berlin.de</organizationUrl>
			<roles>
				<role>Lead Developer</role>
			</roles>
		</developer>
	</developers>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
62 63
		<project.reporting.outputEncoding>UTF-8
		</project.reporting.outputEncoding>
S
sewen 已提交
64
	</properties>
65

S
sewen 已提交
66
	<pluginRepositories>
67
		<!-- <pluginRepository>
S
sewen 已提交
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
			<id>mc-release</id>
			<name>Local Maven repository of releases</name>
			<url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
			<releases>
				<enabled>true</enabled>
			</releases>
		</pluginRepository>
		<pluginRepository>
			<id>Codehaus repository</id>
			<url>http://repository.codehaus.org/</url>
		</pluginRepository>
		<pluginRepository>
			<id>apache.snapshots</id>
			<url>http://repository.apache.org/snapshots/</url>
85
		</pluginRepository> -->
S
sewen 已提交
86
	</pluginRepositories>
87

S
sewen 已提交
88 89 90 91 92 93 94 95
	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.7</version>
			<type>jar</type>
			<scope>test</scope>
		</dependency>
96 97 98 99 100 101 102
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.1.1</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
S
sewen 已提交
103
		<dependency>
104 105 106 107
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.16</version>
			<type>jar</type>
S
sewen 已提交
108
			<scope>compile</scope>
109 110 111 112 113 114
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>1.8.5</version>
			<type>jar</type>
A
arvid 已提交
115
			<scope>test</scope>
116
		</dependency>
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
		<dependency>
			<groupId>org.powermock</groupId>
			<artifactId>powermock-module-junit4</artifactId>
			<version>1.4.7</version>
			<type>jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.powermock</groupId>
			<artifactId>powermock-api-mockito</artifactId>
			<version>1.4.7</version>
			<type>jar</type>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-all</artifactId>
			<version>1.1</version>
135 136
			<type>jar</type>
			<scope>test</scope>
137 138 139
		</dependency>
	</dependencies>

S
sewen 已提交
140
	<dependencyManagement>
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
		<!--
			this section defines the module versions that are used if nothing
			else is specified.
		-->
		<dependencies>
			<dependency>
				<groupId>org.apache.hadoop</groupId>
				<artifactId>hadoop-core</artifactId>
				<version>0.20.2</version>
				<type>jar</type>
				<scope>compile</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

S
sewen 已提交
156 157
	<reporting>
		<plugins>
158

S
sewen 已提交
159 160 161 162 163 164 165 166 167
			<plugin>
				<!--
					just define the Java version to be used for compiling and plugins
				-->
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.0</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
168 169 170 171
					<!--
						High optimization, no debugging <compilerArgument>-g:none
						-O</compilerArgument>
					-->
S
sewen 已提交
172
					<compilerArgument></compilerArgument>
S
sewen 已提交
173 174
				</configuration>
			</plugin>
175

S
sewen 已提交
176 177 178 179 180 181
			<plugin>
				<!-- measure and report source code complexity -->
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>javancss-maven-plugin</artifactId>
				<version>2.0</version>
			</plugin>
182

S
sewen 已提交
183 184 185 186 187
			<plugin>
				<!-- analyze dependencies in source code -->
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jdepend-maven-plugin</artifactId>
			</plugin>
188

S
sewen 已提交
189 190 191 192 193 194
			<!--
				disabled because currently no SCM defined generates changelog
				<plugin> <groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-changelog-plugin</artifactId>
				<version>2.2-SNAPSHOT</version> </plugin>
			-->
195

S
sewen 已提交
196 197 198 199 200 201 202 203 204 205 206 207 208 209
			<plugin>
				<!-- report occurrences of various todo markers in code -->
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>taglist-maven-plugin</artifactId>
				<!-- <version>2.3</version> -->
				<configuration>
					<tags>
						<tag>TODO</tag>
						<tag>FIXME</tag>
						<tag>@todo</tag>
						<tag>@deprecated</tag>
					</tags>
				</configuration>
			</plugin>
210

S
sewen 已提交
211
			<!--
212
				todo: reenable when SCM is available <plugin>
S
sewen 已提交
213 214 215 216 217
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>scmchangelog-maven-plugin</artifactId>
				<version>1.2</version> <configuration>
				<connectionUrl>scm:svn:https://projekte.itmc.tu-dortmund.de/svn/sla4dgrid/trunk</connectionUrl>
				<tagBase>https://projekte.itmc.tu-dortmund.de/svn/sla4dgrid/tags/</tagBase>
218
				<filter>.*</filter> </configuration> </plugin>
S
sewen 已提交
219
			-->
220

S
sewen 已提交
221 222 223 224 225 226 227 228 229 230 231
			<plugin>
				<!--
					generates cross references in code so that you can click in the
					reports and jump to the respective lines
				-->
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jxr-maven-plugin</artifactId>
				<configuration>
					<linkJavadoc>true</linkJavadoc>
				</configuration>
			</plugin>
232

S
sewen 已提交
233 234 235 236 237 238 239 240 241 242 243 244
			<plugin>
				<!-- discovers frequent bugs in programs -->
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>findbugs-maven-plugin</artifactId>
				<!-- <version>2.0.1</version> -->
				<configuration>
					<effort>Max</effort>
					<threshold>Medium</threshold>
					<findbugsXmlOutput>true</findbugsXmlOutput>
					<xmlOutput>true</xmlOutput>
				</configuration>
			</plugin>
245

S
sewen 已提交
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
			<plugin>
				<!-- maven source code analysis for frequent bugs-->
				<artifactId>maven-pmd-plugin</artifactId>
				<!-- <version>2.5</version> -->
				<configuration>
					<targetJdk>1.6</targetJdk>
				</configuration>
				<reportSets>
					<reportSet>
						<reports>
							<report>pmd</report>
							<report>cpd</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
262

263
			<!--
264
				<plugin> generation of JavaDoc
S
sewen 已提交
265
				<groupId>org.apache.maven.plugins</groupId>
266 267
				<artifactId>maven-javadoc-plugin</artifactId> <version>2.5</version>
				</plugin>
268
			-->
269

S
sewen 已提交
270 271 272 273
			<plugin>
				<!-- style checker -->
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
274
				<version>2.6</version>
S
sewen 已提交
275
				<configuration>
276
					<configLocation>stratosphere/checkstyle.xml</configLocation>
S
sewen 已提交
277 278
				</configuration>
			</plugin>
279

S
sewen 已提交
280 281 282 283
			<plugin>
				<!-- execution of Unit Tests -->
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
284
				<version>2.7</version>
S
sewen 已提交
285
			</plugin>
286

S
sewen 已提交
287 288 289 290 291 292 293 294 295 296 297
			<plugin>
				<!-- check coverage of tests -->
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<configuration>
					<formats>
						<format>html</format>
						<format>xml</format>
					</formats>
				</configuration>
			</plugin>
298

S
sewen 已提交
299 300 301 302 303 304 305 306 307 308
			<!--
				Generator for QA reports, summarizes various inputs and draws
				diagrams indicating improvements/deterioration <plugin>
				<groupId>net.objectlab</groupId>
				<artifactId>mvn-qalab-plugin</artifactId> <version>2.2</version>
				<reportSets> <reportSet> <reports> <report>chart</report>
				<report>report-merge-chart</report>
				<report>report-movers-all</report> </reports> </reportSet>
				</reportSets> </plugin>
			-->
309

S
sewen 已提交
310 311 312 313
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>dashboard-maven-plugin</artifactId>
			</plugin>
314

S
sewen 已提交
315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
		</plugins>
	</reporting>

	<build>
		<plugins>
			<plugin>
				<!--
					just define the Java version to be used for compiling and plugins
				-->
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.0.2</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
D
Daniel Warneke 已提交
334 335 336 337 338 339 340 341 342 343 344 345 346 347
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.7</version>
				<executions>
					<execution>
						<id>javadoc:aggregate-jar</id>
						<goals>
							<goal>aggregate-jar</goal>
						</goals>
						<phase>site</phase>
						<configuration>
							<quiet>true</quiet>
						</configuration>
					</execution>
				</executions>
S
sewen 已提交
348 349
			</plugin>
			<plugin>
350 351 352 353 354 355 356 357 358 359
				<artifactId>maven-failsafe-plugin</artifactId>
				<version>2.6</version>
				<executions>
					<execution>
						<goals>
							<goal>integration-test</goal>
							<goal>verify</goal>
						</goals>
					</execution>
				</executions>
S
sewen 已提交
360
				<configuration>
361 362 363
					<systemPropertyVariables>
						<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
					</systemPropertyVariables>
364
					<argLine>-Xms512m -Xmx512m</argLine>
S
sewen 已提交
365 366 367
				</configuration>
			</plugin>
			<plugin>
368 369 370
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.7</version>
S
sewen 已提交
371
				<configuration>
372 373 374
					<systemPropertyVariables>
						<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
					</systemPropertyVariables>
375
					<argLine>-Xms512m -Xmx512m</argLine>
S
sewen 已提交
376 377
				</configuration>
			</plugin>
378
			<plugin>
379
				<!-- plugin that tests whether the code style is appropriate -->	
380
				<groupId>org.apache.maven.plugins</groupId>
S
sewen 已提交
381
				<artifactId>maven-checkstyle-plugin</artifactId>
382
				<version>2.6</version>
S
sewen 已提交
383 384 385 386 387 388 389
				<dependencies>
					<dependency>
						<groupId>eu.stratosphere</groupId>
						<artifactId>build-tools</artifactId>
						<version>0.1</version>
					</dependency>
				</dependencies>
390
			</plugin>
S
sewen 已提交
391 392 393
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
394
				<version>2.8</version>
S
sewen 已提交
395 396 397 398
				<configuration>
					<classpathContainers>
						<classpathContainer>
							org.eclipse.jdt.launching.JRE_CONTAINER
399
						</classpathContainer>
S
sewen 已提交
400 401 402
					</classpathContainers>
				</configuration>
			</plugin>
403

404

405
			<!--
406 407 408
				<plugin> check whether license information is included in files, can
				be used to insert headers as well

S
sewen 已提交
409 410
				<groupId>com.google.code.maven-license-plugin</groupId>
				<artifactId>maven-license-plugin</artifactId>
411 412
				<version>1.4.0</version> <configuration>
				<header>src/main/etc/header.txt</header> </configuration> </plugin>
413 414
			-->
			<!--
415 416 417 418 419 420 421 422 423 424 425 426 427
				<plugin> plugin that tests which fraction of the source code is
				covered by JUnit tests <groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId> <configuration>
				<instrumentation> <ignores>
				<ignore>com.example.boringcode.*</ignore> </ignores> <excludes>
				<exclude>com/example/dullcode/**/*.class</exclude>
				<exclude>com/example/**/*Test.class</exclude> </excludes>
				</instrumentation> </configuration> <version>2.4</version>
				<executions> <execution> <goals> <goal>clean</goal> </goals>
				</execution> </executions> </plugin>
			-->
			<!--
				<plugin> plugin that tests whether the code style is appropriate
428

429 430 431 432 433 434 435
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<version>2.3</version> <dependencies> <dependency>
				<groupId>eu.stratosphere</groupId>
				<artifactId>build-tools</artifactId> <version>0.1</version>
				</dependency> </dependencies> </plugin>
			-->
S
sewen 已提交
436 437 438
		</plugins>
	</build>

439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469
	<profiles>
		<!--
			Hudson by default defines a property BUILD_NUMBER which is used to
			enable the profile.
		-->
		<profile>
			<id>hudson</id>
			<activation>
				<property>
					<name>BUILD_NUMBER</name>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-compiler-plugin</artifactId>
						<version>2.0.2</version>
						<configuration>
							<source>1.6</source>
							<target>1.6</target>
							<compilerArgument>-g</compilerArgument>
						</configuration>
					</plugin>
					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>cobertura-maven-plugin</artifactId>
						<version>2.4</version>
						<configuration>
							<formats>
								<format>xml</format>
M
Mathias Peters 已提交
470
								<format>html</format>
471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487
							</formats>
						</configuration>
						<executions>
							<execution>
								<phase>cobertura</phase>
								<goals>
									<goal>cobertura</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>


S
sewen 已提交
488 489 490
	<modules>
		<module>nephele</module>
		<module>pact</module>
491 492
		<module>build-tools</module>
		<module>stratosphere-dist</module>
S
sewen 已提交
493 494
	</modules>
</project>