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

	<modelVersion>4.0.0</modelVersion>
6

S
sewen 已提交
7
	<groupId>eu.stratosphere</groupId>
S
StephanEwen 已提交
8
	<artifactId>ozone</artifactId>
9
	<version>0.2-ozone</version>
10

S
StephanEwen 已提交
11
	<name>ozone</name>
S
sewen 已提交
12
	<packaging>pom</packaging>
S
StephanEwen 已提交
13 14
	<url>http://github.com/dimalabs/ozone</url>
	<inceptionYear>2013</inceptionYear>
15

S
sewen 已提交
16 17 18 19 20 21 22
	<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>
23

S
sewen 已提交
24 25 26 27 28
	<developers>
	</developers>

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

S
sewen 已提交
32 33
	<pluginRepositories>
	</pluginRepositories>
34 35 36 37 38 39 40 41 42 43 44 45 46
	
	<repositories>
      <repository>
        <id>cloudera-releases</id>
        <url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots>
          <enabled>false</enabled>
        </snapshots>
      </repository>
    </repositories>
47

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

S
sewen 已提交
124
	<dependencyManagement>
S
sewen 已提交
125
		<!-- this section defines the module versions that are used if nothing else is specified. -->
126
		<dependencies>
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
			
		<!-- Cloudera Hadoop -->
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-common</artifactId>
			<version>2.0.0-cdh4.2.1</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-hdfs</artifactId>
			<version>2.0.0-cdh4.2.1</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
		
		
		<!-- Ye'Olde Hadoop 
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-core</artifactId>
			<version>0.20.203.0</version>
			<type>jar</type>
			<scope>compile</scope>
		</dependency>
		-->
			
155 156 157
		</dependencies>
	</dependencyManagement>

S
sewen 已提交
158 159
	<reporting>
		<plugins>
160

S
sewen 已提交
161
			<plugin>
162
				<!-- just define the Java version to be used for compiling and plugins -->
S
StephanEwen 已提交
163
				<groupId>org.apache.maven.plugins</groupId>
S
sewen 已提交
164
				<artifactId>maven-compiler-plugin</artifactId>
S
StephanEwen 已提交
165
				<version>3.1</version>
S
sewen 已提交
166 167 168 169 170
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
171

S
sewen 已提交
172 173
			<!-- measure and report source code complexity -->
<!--			<plugin>
S
sewen 已提交
174 175 176
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>javancss-maven-plugin</artifactId>
				<version>2.0</version>
S
sewen 已提交
177
			</plugin> -->
178

S
sewen 已提交
179 180
			<!-- analyze dependencies in source code -->
<!--			<plugin>
S
sewen 已提交
181 182
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jdepend-maven-plugin</artifactId>
S
sewen 已提交
183 184
				<version></version>
			</plugin> -->
185

186 187 188
			<!-- 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> -->
189

S
sewen 已提交
190 191
			<!-- report occurrences of various todo markers in code -->
<!--			<plugin>
S
sewen 已提交
192 193
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>taglist-maven-plugin</artifactId>
S
sewen 已提交
194
				<version>2.3</version>
S
sewen 已提交
195 196 197 198 199 200 201 202
				<configuration>
					<tags>
						<tag>TODO</tag>
						<tag>FIXME</tag>
						<tag>@todo</tag>
						<tag>@deprecated</tag>
					</tags>
				</configuration>
S
sewen 已提交
203
			</plugin> -->
204

205 206 207 208 209
			<!-- 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> -->
210

S
sewen 已提交
211 212
			<!-- generates cross references in code so that you can click in the reports and jump to the respective lines -->
<!--			<plugin>
S
sewen 已提交
213 214 215 216 217
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jxr-maven-plugin</artifactId>
				<configuration>
					<linkJavadoc>true</linkJavadoc>
				</configuration>
S
sewen 已提交
218
			</plugin> -->
219

S
sewen 已提交
220 221
			<!-- discovers frequent bugs in programs -->
<!--			<plugin>
S
sewen 已提交
222 223
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>findbugs-maven-plugin</artifactId>
S
sewen 已提交
224
				<version>2.0.1</version>
S
sewen 已提交
225 226 227 228 229 230
				<configuration>
					<effort>Max</effort>
					<threshold>Medium</threshold>
					<findbugsXmlOutput>true</findbugsXmlOutput>
					<xmlOutput>true</xmlOutput>
				</configuration>
S
sewen 已提交
231
			</plugin> -->
232

S
sewen 已提交
233 234
			<!-- maven source code analysis for frequent bugs -->
<!--			<plugin>
S
sewen 已提交
235
				<artifactId>maven-pmd-plugin</artifactId>
S
sewen 已提交
236
				<version>2.5</version>
S
sewen 已提交
237 238 239 240 241 242 243 244 245 246 247
				<configuration>
					<targetJdk>1.6</targetJdk>
				</configuration>
				<reportSets>
					<reportSet>
						<reports>
							<report>pmd</report>
							<report>cpd</report>
						</reports>
					</reportSet>
				</reportSets>
S
sewen 已提交
248
			</plugin> -->
249

S
sewen 已提交
250
			<!-- generation of JavaDoc -->
251
			<plugin>
S
sewen 已提交
252
				<groupId>org.apache.maven.plugins</groupId>
253 254
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.5</version>
255
			</plugin>
256

S
sewen 已提交
257
			<!-- style checker -->
S
sewen 已提交
258 259 260
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
261
				<version>2.6</version>
S
sewen 已提交
262
				<configuration>
263
					<configLocation>stratosphere/checkstyle.xml</configLocation>
S
sewen 已提交
264 265
				</configuration>
			</plugin>
266

S
sewen 已提交
267
			<!-- execution of Unit Tests -->
S
sewen 已提交
268 269 270
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
271
				<version>2.7</version>
S
sewen 已提交
272
			</plugin>
273

S
sewen 已提交
274 275
			<!-- check coverage of tests -->
<!--			<plugin>
S
sewen 已提交
276 277 278 279 280 281 282 283
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<configuration>
					<formats>
						<format>html</format>
						<format>xml</format>
					</formats>
				</configuration>
S
sewen 已提交
284
			</plugin> -->
285

286 287 288 289 290 291
			<!-- 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> -->
292

S
sewen 已提交
293
<!--			<plugin>
S
sewen 已提交
294 295
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>dashboard-maven-plugin</artifactId>
S
sewen 已提交
296
			</plugin> -->
297

S
sewen 已提交
298 299 300 301 302 303
		</plugins>
	</reporting>

	<build>
		<plugins>
			<plugin>
304
				<!-- just define the Java version to be used for compiling and plugins -->
S
sewen 已提交
305 306
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
S
StephanEwen 已提交
307
				<version>3.1</version>
S
sewen 已提交
308 309 310
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
S
StephanEwen 已提交
311
					<!-- High optimization, no debugging <compilerArgument>-g:none -O</compilerArgument> -->
S
sewen 已提交
312 313 314 315
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
D
Daniel Warneke 已提交
316 317 318 319 320 321 322 323
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.7</version>
				<executions>
					<execution>
						<id>javadoc:aggregate-jar</id>
						<goals>
							<goal>aggregate-jar</goal>
						</goals>
324
						<!-- use "package" phase to include JavaDocs in build -->
D
Daniel Warneke 已提交
325 326 327 328 329 330
						<phase>site</phase>
						<configuration>
							<quiet>true</quiet>
						</configuration>
					</execution>
				</executions>
331 332 333
				<configuration>
					<!-- exclude example classes from JavaDoc -->
					<excludePackageNames>eu.stratosphere.nephele.example.*:eu.stratosphere.pact.example.*</excludePackageNames>
334
				</configuration>
S
sewen 已提交
335 336
			</plugin>
			<plugin>
337 338 339 340 341 342 343 344 345 346
				<artifactId>maven-failsafe-plugin</artifactId>
				<version>2.6</version>
				<executions>
					<execution>
						<goals>
							<goal>integration-test</goal>
							<goal>verify</goal>
						</goals>
					</execution>
				</executions>
S
sewen 已提交
347
				<configuration>
348
					<argLine>-Xms512m -Xmx512m</argLine>
S
sewen 已提交
349 350 351
				</configuration>
			</plugin>
			<plugin>
352 353 354
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.7</version>
S
sewen 已提交
355
				<configuration>
356
					<argLine>-Xms512m -Xmx512m</argLine>
S
sewen 已提交
357 358
				</configuration>
			</plugin>
359
			<plugin>
360
				<!-- plugin that tests whether the code style is appropriate -->
361
				<groupId>org.apache.maven.plugins</groupId>
S
sewen 已提交
362
				<artifactId>maven-checkstyle-plugin</artifactId>
363
				<version>2.6</version>
364
			</plugin>
S
sewen 已提交
365 366 367
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-eclipse-plugin</artifactId>
368
				<version>2.8</version>
S
sewen 已提交
369 370 371 372
				<configuration>
					<classpathContainers>
						<classpathContainer>
							org.eclipse.jdt.launching.JRE_CONTAINER
373
						</classpathContainer>
S
sewen 已提交
374 375 376 377 378 379
					</classpathContainers>
				</configuration>
			</plugin>
		</plugins>
	</build>

380
	<profiles>
381
	</profiles>
382

S
sewen 已提交
383 384 385
	<modules>
		<module>nephele</module>
		<module>pact</module>
386
		<module>stratosphere-dist</module>
S
sewen 已提交
387 388
	</modules>
</project>