pom.xml 10.9 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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
		<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> 
	</dependencies>
	
	<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>
130
		
S
sewen 已提交
131 132 133 134 135 136 137 138 139
			<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 已提交
140 141
					<!--   High optimization, no debugging <compilerArgument>-g:none -O</compilerArgument> -->
					<compilerArgument></compilerArgument>
S
sewen 已提交
142 143
				</configuration>
			</plugin>
144
			
S
sewen 已提交
145 146 147 148 149 150
			<plugin>
				<!-- measure and report source code complexity -->
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>javancss-maven-plugin</artifactId>
				<version>2.0</version>
			</plugin>
151
			
S
sewen 已提交
152 153 154 155 156
			<plugin>
				<!-- analyze dependencies in source code -->
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jdepend-maven-plugin</artifactId>
			</plugin>
157
			
S
sewen 已提交
158 159 160 161 162 163
			<!--
				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>
			-->
164
			
S
sewen 已提交
165 166 167 168 169 170 171 172 173 174 175 176 177 178
			<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>
179
			
S
sewen 已提交
180
			<!--
181 182
				todo: reenable when SCM is available 
			<plugin>
S
sewen 已提交
183 184 185 186 187
				<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>
188 189
				<filter>.*</filter> </configuration> 
			</plugin>
S
sewen 已提交
190
			-->
191
			
S
sewen 已提交
192 193 194 195 196 197 198 199 200 201 202
			<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>
203
			
S
sewen 已提交
204 205 206 207 208 209 210 211 212 213 214 215
			<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>
216
			
S
sewen 已提交
217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
			<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>
233 234
			
			<!--
S
sewen 已提交
235
			<plugin>
236
				generation of JavaDoc
S
sewen 已提交
237 238
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
239
				<version>2.5</version>
S
sewen 已提交
240
			</plugin>
241 242
			-->
			
S
sewen 已提交
243 244 245 246 247 248 249 250 251
			<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>
252
			
S
sewen 已提交
253 254 255 256
			<plugin>
				<!-- execution of Unit Tests -->
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
257
				<version>2.7</version>
S
sewen 已提交
258
			</plugin>
259
			
S
sewen 已提交
260 261 262 263 264 265 266 267 268 269 270
			<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>
271
			
S
sewen 已提交
272 273 274 275 276 277 278 279 280 281
			<!--
				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>
			-->
282
			
S
sewen 已提交
283 284 285 286
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>dashboard-maven-plugin</artifactId>
			</plugin>
287
			
S
sewen 已提交
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
		</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>
305

306
     		<plugin>
307 308 309 310 311 312 313 314 315
          	  <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>
316
                  <phase>site</phase>
317 318 319 320 321
                  <configuration>
                    <quiet>true</quiet>
                  </configuration>
                </execution>
              </executions>
322
            </plugin>
323
	
S
sewen 已提交
324 325 326 327 328 329 330 331
			<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
332
            			</classpathContainer>
S
sewen 已提交
333 334 335
					</classpathContainers>
				</configuration>
			</plugin>
336 337
			
			<!--
S
sewen 已提交
338
			<plugin>
339
			
S
sewen 已提交
340 341
					check whether license information is included in files, can be used
					to insert headers as well
342
					
S
sewen 已提交
343 344 345 346 347 348 349
				<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>
350 351
			-->
			<!--
S
sewen 已提交
352
			<plugin>
353
				
S
sewen 已提交
354 355
					plugin that tests which fraction of the source code is covered by
					JUnit tests
356

S
sewen 已提交
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378
				<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>
379 380
			-->
			<!-- 
S
sewen 已提交
381
			<plugin>
382
			
S
sewen 已提交
383
					plugin that tests whether the code style is appropriate
384
					
S
sewen 已提交
385 386 387 388 389 390 391 392 393 394 395
				<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>
396
			 -->
S
sewen 已提交
397 398 399 400 401 402 403 404 405 406
		</plugins>
	</build>

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