archetype-resources.pom.xml Maven / Gradle / Ivy
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <packaging>jar</packaging> <name>Your Job's Name</name> <url>http://www.myorganization.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <!-- These two requirements are the minimum to use and develop Stratosphere. You can add others like <artifactId>pact-scala-core</artifactId> for Scala! --> <dependencies> <dependency> <groupId>eu.stratosphere</groupId> <artifactId>stratosphere-java</artifactId> <version>0.5-rc2</version> </dependency> <dependency> <groupId>eu.stratosphere</groupId> <artifactId>stratosphere-clients</artifactId> <version>0.5-rc2</version> </dependency> </dependencies> <!-- We use the maven-jar-plugin to generate a runnable jar that you can submit to your Stratosphere cluster. --> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifestEntries> <program-class>${package}.Job</program-class> </manifestEntries> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins> </build> </project>