pom.xml 9.7 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
	<groupId>eu.stratosphere</groupId>
S
StephanEwen 已提交
9
	<artifactId>ozone</artifactId>
10
	<version>0.2</version>
11

S
StephanEwen 已提交
12
	<name>ozone</name>
S
sewen 已提交
13
	<packaging>pom</packaging>
S
StephanEwen 已提交
14 15
	<url>http://github.com/dimalabs/ozone</url>
	<inceptionYear>2013</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
	<developers>
	</developers>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
S
StephanEwen 已提交
30
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
S
sewen 已提交
31
	</properties>
32

S
sewen 已提交
33 34
	<pluginRepositories>
	</pluginRepositories>
35

S
sewen 已提交
36
	<dependencies>
S
sewen 已提交
37
	
38 39 40 41 42 43 44
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>1.1.1</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
S
sewen 已提交
45
		
S
sewen 已提交
46
		<dependency>
47 48 49 50
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.16</version>
			<type>jar</type>
S
sewen 已提交
51
			<scope>compile</scope>
52
		</dependency>
S
sewen 已提交
53
		
S
sewen 已提交
54 55 56 57 58 59 60
		<dependency>
			<groupId>commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<version>1.3</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
S
sewen 已提交
61 62 63 64 65
		
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<version>r09</version>
S
StephanEwen 已提交
66
			<type>jar</type>
S
sewen 已提交
67 68 69
			<scope>compile</scope>
		</dependency>
		
S
sewen 已提交
70 71 72 73 74 75 76
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.7</version>
			<type>jar</type>
			<scope>test</scope>
		</dependency>
S
sewen 已提交
77
		
78 79 80 81 82
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>1.8.5</version>
			<type>jar</type>
A
arvid 已提交
83
			<scope>test</scope>
84
		</dependency>
S
sewen 已提交
85
		
86 87 88
		<dependency>
			<groupId>org.powermock</groupId>
			<artifactId>powermock-module-junit4</artifactId>
A
Arvid Heise 已提交
89
			<version>1.4.9</version>
90 91 92
			<type>jar</type>
			<scope>test</scope>
		</dependency>
S
sewen 已提交
93
		
94 95 96
		<dependency>
			<groupId>org.powermock</groupId>
			<artifactId>powermock-api-mockito</artifactId>
A
Arvid Heise 已提交
97
			<version>1.4.9</version>
98 99 100
			<type>jar</type>
			<scope>test</scope>
		</dependency>
S
sewen 已提交
101
		
102 103 104 105
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-all</artifactId>
			<version>1.1</version>
106 107
			<type>jar</type>
			<scope>test</scope>
108
		</dependency>
S
sewen 已提交
109
		
110 111
	</dependencies>

S
sewen 已提交
112
	<dependencyManagement>
S
sewen 已提交
113
		<!-- this section defines the module versions that are used if nothing else is specified. -->
114 115 116 117
		<dependencies>
			<dependency>
				<groupId>org.apache.hadoop</groupId>
				<artifactId>hadoop-core</artifactId>
A
arvid 已提交
118
				<version>0.20.203.0</version>
119 120 121 122 123 124
				<type>jar</type>
				<scope>compile</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

S
sewen 已提交
125 126
	<reporting>
		<plugins>
127

S
sewen 已提交
128
			<plugin>
129
				<!-- just define the Java version to be used for compiling and plugins -->
S
StephanEwen 已提交
130
				<groupId>org.apache.maven.plugins</groupId>
S
sewen 已提交
131
				<artifactId>maven-compiler-plugin</artifactId>
S
StephanEwen 已提交
132
				<version>3.1</version>
S
sewen 已提交
133 134 135 136 137
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
138

S
sewen 已提交
139 140
			<!-- measure and report source code complexity -->
<!--			<plugin>
S
sewen 已提交
141 142 143
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>javancss-maven-plugin</artifactId>
				<version>2.0</version>
S
sewen 已提交
144
			</plugin> -->
145

S
sewen 已提交
146 147
			<!-- analyze dependencies in source code -->
<!--			<plugin>
S
sewen 已提交
148 149
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jdepend-maven-plugin</artifactId>
S
sewen 已提交
150 151
				<version></version>
			</plugin> -->
152

153 154 155
			<!-- 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> -->
156

S
sewen 已提交
157 158
			<!-- report occurrences of various todo markers in code -->
<!--			<plugin>
S
sewen 已提交
159 160
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>taglist-maven-plugin</artifactId>
S
sewen 已提交
161
				<version>2.3</version>
S
sewen 已提交
162 163 164 165 166 167 168 169
				<configuration>
					<tags>
						<tag>TODO</tag>
						<tag>FIXME</tag>
						<tag>@todo</tag>
						<tag>@deprecated</tag>
					</tags>
				</configuration>
S
sewen 已提交
170
			</plugin> -->
171

172 173 174 175 176
			<!-- todo: reenable when SCM is available <plugin> <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> 
				<filter>.*</filter> </configuration> </plugin> -->
177

S
sewen 已提交
178 179
			<!-- generates cross references in code so that you can click in the reports and jump to the respective lines -->
<!--			<plugin>
S
sewen 已提交
180 181 182 183 184
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jxr-maven-plugin</artifactId>
				<configuration>
					<linkJavadoc>true</linkJavadoc>
				</configuration>
S
sewen 已提交
185
			</plugin> -->
186

S
sewen 已提交
187 188
			<!-- discovers frequent bugs in programs -->
<!--			<plugin>
S
sewen 已提交
189 190
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>findbugs-maven-plugin</artifactId>
S
sewen 已提交
191
				<version>2.0.1</version>
S
sewen 已提交
192 193 194 195 196 197
				<configuration>
					<effort>Max</effort>
					<threshold>Medium</threshold>
					<findbugsXmlOutput>true</findbugsXmlOutput>
					<xmlOutput>true</xmlOutput>
				</configuration>
S
sewen 已提交
198
			</plugin> -->
199

S
sewen 已提交
200 201
			<!-- maven source code analysis for frequent bugs -->
<!--			<plugin>
S
sewen 已提交
202
				<artifactId>maven-pmd-plugin</artifactId>
S
sewen 已提交
203
				<version>2.5</version>
S
sewen 已提交
204 205 206 207 208 209 210 211 212 213 214
				<configuration>
					<targetJdk>1.6</targetJdk>
				</configuration>
				<reportSets>
					<reportSet>
						<reports>
							<report>pmd</report>
							<report>cpd</report>
						</reports>
					</reportSet>
				</reportSets>
S
sewen 已提交
215
			</plugin> -->
216

S
sewen 已提交
217
			<!-- generation of JavaDoc -->
218
			<plugin>
S
sewen 已提交
219
				<groupId>org.apache.maven.plugins</groupId>
220 221
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.5</version>
222
			</plugin>
223

S
sewen 已提交
224
			<!-- style checker -->
S
sewen 已提交
225 226 227
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
228
				<version>2.6</version>
S
sewen 已提交
229
				<configuration>
230
					<configLocation>stratosphere/checkstyle.xml</configLocation>
S
sewen 已提交
231 232
				</configuration>
			</plugin>
233

S
sewen 已提交
234
			<!-- execution of Unit Tests -->
S
sewen 已提交
235 236 237
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
238
				<version>2.7</version>
S
sewen 已提交
239
			</plugin>
240

S
sewen 已提交
241 242
			<!-- check coverage of tests -->
<!--			<plugin>
S
sewen 已提交
243 244 245 246 247 248 249 250
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<configuration>
					<formats>
						<format>html</format>
						<format>xml</format>
					</formats>
				</configuration>
S
sewen 已提交
251
			</plugin> -->
252

253 254 255 256 257 258
			<!-- 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> -->
259

S
sewen 已提交
260
<!--			<plugin>
S
sewen 已提交
261 262
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>dashboard-maven-plugin</artifactId>
S
sewen 已提交
263
			</plugin> -->
264

S
sewen 已提交
265 266 267 268 269 270
		</plugins>
	</reporting>

	<build>
		<plugins>
			<plugin>
271
				<!-- just define the Java version to be used for compiling and plugins -->
S
sewen 已提交
272 273
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
S
StephanEwen 已提交
274
				<version>3.1</version>
S
sewen 已提交
275 276 277
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
S
StephanEwen 已提交
278
					<!-- High optimization, no debugging <compilerArgument>-g:none -O</compilerArgument> -->
S
sewen 已提交
279 280 281 282
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
D
Daniel Warneke 已提交
283 284 285 286 287 288 289 290
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.7</version>
				<executions>
					<execution>
						<id>javadoc:aggregate-jar</id>
						<goals>
							<goal>aggregate-jar</goal>
						</goals>
291
						<!-- use "package" phase to include JavaDocs in build -->
D
Daniel Warneke 已提交
292 293 294 295 296 297
						<phase>site</phase>
						<configuration>
							<quiet>true</quiet>
						</configuration>
					</execution>
				</executions>
298 299 300
				<configuration>
					<!-- exclude example classes from JavaDoc -->
					<excludePackageNames>eu.stratosphere.nephele.example.*:eu.stratosphere.pact.example.*</excludePackageNames>
301
				</configuration>
S
sewen 已提交
302 303
			</plugin>
			<plugin>
304 305 306 307 308 309 310 311 312 313
				<artifactId>maven-failsafe-plugin</artifactId>
				<version>2.6</version>
				<executions>
					<execution>
						<goals>
							<goal>integration-test</goal>
							<goal>verify</goal>
						</goals>
					</execution>
				</executions>
S
sewen 已提交
314
				<configuration>
315
					<argLine>-Xms512m -Xmx512m</argLine>
S
sewen 已提交
316 317 318
				</configuration>
			</plugin>
			<plugin>
319 320 321
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.7</version>
S
sewen 已提交
322
				<configuration>
323
					<argLine>-Xms512m -Xmx512m</argLine>
S
sewen 已提交
324 325
				</configuration>
			</plugin>
326
			<plugin>
327
				<!-- plugin that tests whether the code style is appropriate -->
328
				<groupId>org.apache.maven.plugins</groupId>
S
sewen 已提交
329
				<artifactId>maven-checkstyle-plugin</artifactId>
330
				<version>2.6</version>
331
			</plugin>
S
sewen 已提交
332 333 334
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
335
				<version>2.8</version>
S
sewen 已提交
336 337 338 339
				<configuration>
					<classpathContainers>
						<classpathContainer>
							org.eclipse.jdt.launching.JRE_CONTAINER
340
						</classpathContainer>
S
sewen 已提交
341 342 343 344 345 346
					</classpathContainers>
				</configuration>
			</plugin>
		</plugins>
	</build>

347
	<profiles>
348
	</profiles>
349

S
sewen 已提交
350 351 352
	<modules>
		<module>nephele</module>
		<module>pact</module>
353
		<module>stratosphere-dist</module>
S
sewen 已提交
354 355
	</modules>
</project>