pom.xml 11.7 KB
Newer Older
S
sewen 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<?xml version="1.0" encoding="UTF-8"?>
<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">

	<modelVersion>4.0.0</modelVersion>
	
	<groupId>eu.stratosphere</groupId>
	<artifactId>stratosphere</artifactId>
	<version>0.1</version>
	
	<name>stratosphere</name>
	<packaging>pom</packaging>
	<url>http://www.stratosphere.eu</url>
	<inceptionYear>2009</inceptionYear>
	
	<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>
	
	<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>
35
		
S
sewen 已提交
36 37 38 39 40 41 42 43 44 45
		<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>
46
		
S
sewen 已提交
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
		<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>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
	</properties>
	
	<pluginRepositories>
		<pluginRepository>
			<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>
		</pluginRepository>
	</pluginRepositories>
	
	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.7</version>
			<type>jar</type>
			<scope>test</scope>
		</dependency>
		
		<dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.1.1</version>
            <type>jar</type>
			<scope>compile</scope>
        </dependency>
        
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.16</version>
            <type>jar</type>
			<scope>compile</scope>
        </dependency> 
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130
        <dependency>
        	<groupId>org.mockito</groupId>
        	<artifactId>mockito-all</artifactId>
        	<version>1.8.5</version>
        	<type>jar</type>
        	<scope>compile</scope>
        </dependency>
        <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>
131 132 133 134 135 136
        <dependency>
    		<groupId>org.hamcrest</groupId>
    		<artifactId>hamcrest-all</artifactId>
    		<version>1.1</version>
		</dependency>
    </dependencies>
S
sewen 已提交
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
	
	<dependencyManagement>
        <!--
        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>
	
	<reporting>
		<plugins>
156
		
S
sewen 已提交
157 158 159 160 161 162 163 164 165
			<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>
S
sewen 已提交
166 167
					<!--   High optimization, no debugging <compilerArgument>-g:none -O</compilerArgument> -->
					<compilerArgument></compilerArgument>
S
sewen 已提交
168 169
				</configuration>
			</plugin>
170
			
S
sewen 已提交
171 172 173 174 175 176
			<plugin>
				<!-- measure and report source code complexity -->
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>javancss-maven-plugin</artifactId>
				<version>2.0</version>
			</plugin>
177
			
S
sewen 已提交
178 179 180 181 182
			<plugin>
				<!-- analyze dependencies in source code -->
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jdepend-maven-plugin</artifactId>
			</plugin>
183
			
S
sewen 已提交
184 185 186 187 188 189
			<!--
				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>
			-->
190
			
S
sewen 已提交
191 192 193 194 195 196 197 198 199 200 201 202 203 204
			<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>
205
			
S
sewen 已提交
206
			<!--
207 208
				todo: reenable when SCM is available 
			<plugin>
S
sewen 已提交
209 210 211 212 213
				<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>
214 215
				<filter>.*</filter> </configuration> 
			</plugin>
S
sewen 已提交
216
			-->
217
			
S
sewen 已提交
218 219 220 221 222 223 224 225 226 227 228
			<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>
229
			
S
sewen 已提交
230 231 232 233 234 235 236 237 238 239 240 241
			<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>
242
			
S
sewen 已提交
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
			<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>
259 260
			
			<!--
S
sewen 已提交
261
			<plugin>
262
				generation of JavaDoc
S
sewen 已提交
263 264
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
265
				<version>2.5</version>
S
sewen 已提交
266
			</plugin>
267 268
			-->
			
S
sewen 已提交
269 270 271 272 273 274 275 276 277
			<plugin>
				<!-- style checker -->
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<version>2.3</version>
				<configuration>
					<configLocation>nephele/checkstyle.xml</configLocation>
				</configuration>
			</plugin>
278
			
S
sewen 已提交
279 280 281 282
			<plugin>
				<!-- execution of Unit Tests -->
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
283
				<version>2.7</version>
S
sewen 已提交
284
			</plugin>
285
			
S
sewen 已提交
286 287 288 289 290 291 292 293 294 295 296
			<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>
297
			
S
sewen 已提交
298 299 300 301 302 303 304 305 306 307
			<!--
				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>
			-->
308
			
S
sewen 已提交
309 310 311 312
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>dashboard-maven-plugin</artifactId>
			</plugin>
313
			
S
sewen 已提交
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330
		</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>
331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349

     		<plugin>
          	  <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-javadoc-plugin</artifactId>
              <version>2.7</version>
              <executions>
                <execution>
                  <id>javadoc:aggregate-jar</id>
                  <goals>
                    <goal>aggregate-jar</goal>
                  </goals>
                  <phase>compile</phase>
                  <configuration>
                    <quiet>true</quiet>
                  </configuration>
                </execution>
              </executions>
            </plugin>
	
S
sewen 已提交
350 351 352 353 354 355 356 357
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
				<version>2.9-SNAPSHOT</version>
				<configuration>
					<classpathContainers>
						<classpathContainer>
							org.eclipse.jdt.launching.JRE_CONTAINER
358
            			</classpathContainer>
S
sewen 已提交
359 360 361
					</classpathContainers>
				</configuration>
			</plugin>
362 363
			
			<!--
S
sewen 已提交
364
			<plugin>
365
			
S
sewen 已提交
366 367
					check whether license information is included in files, can be used
					to insert headers as well
368
					
S
sewen 已提交
369 370 371 372 373 374 375
				<groupId>com.google.code.maven-license-plugin</groupId>
				<artifactId>maven-license-plugin</artifactId>
				<version>1.4.0</version>
				<configuration>
					<header>src/main/etc/header.txt</header>
				</configuration>
			</plugin>
376 377
			-->
			<!--
S
sewen 已提交
378
			<plugin>
379
				
S
sewen 已提交
380 381
					plugin that tests which fraction of the source code is covered by
					JUnit tests
382

S
sewen 已提交
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
				<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>
405 406
			-->
			<!-- 
S
sewen 已提交
407
			<plugin>
408
			
S
sewen 已提交
409
					plugin that tests whether the code style is appropriate
410
					
S
sewen 已提交
411 412 413 414 415 416 417 418 419 420 421
				<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>
422
			 -->
S
sewen 已提交
423 424 425 426 427 428 429 430 431 432
		</plugins>
	</build>

	<modules>
		<module>nephele</module>
		<module>pact</module>
		<module>build-tools</module> 
		<module>stratosphere-dist</module> 
	</modules>
</project>