Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
429 lines (419 sloc) 14.3 KB
<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>
<name>Batch Application Template (change it.)</name>
<groupId>afw-wordcount</groupId>
<artifactId>afw-wordcount</artifactId>
<version>0.1</version>
<properties>
<asakusafw.version>0.2.1</asakusafw.version>
<cloudera.cdh.version>0.20.2-cdh3u0</cloudera.cdh.version>
<mysql.jdbc.version>5.1.16</mysql.jdbc.version>
<ashigeru.lang.version>0.1.0</ashigeru.lang.version>
<ashigeru.util.version>0.1.0</ashigeru.util.version>
<commons.io.version>2.0.1</commons.io.version>
<commons.lang.version>2.6</commons.lang.version>
<commons.logging.version>1.0.4</commons.logging.version>
<logback.version>0.9.28</logback.version>
<slf4j.version>1.6.1</slf4j.version>
<junit.version>4.8.2</junit.version>
<hamcrest.version>1.1</hamcrest.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<profiles>
<profile>
<id>asakusa-batchapp-defalut-profile</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<asakusa.compiler.options></asakusa.compiler.options>
</properties>
</profile>
</profiles>
<packaging>jar</packaging>
<repositories>
<repository>
<id>central</id>
<name>Maven Central repository</name>
<url>http://repo1.maven.org/maven2/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>repository.cloudera.com</id>
<name>Cloudera Maven Repository</name>
<url>https://repository.cloudera.com/content/repositories/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>com.asakusafw.releases</id>
<name>Asakusa Framework Repository</name>
<url>http://asakusafw.s3.amazonaws.com/maven/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>com.asakusafw.snapshots</id>
<name>Asakusa Framework Snapshot Repository</name>
<url>http://asakusafw.s3.amazonaws.com/maven/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<fork>true</fork>
<encoding>${project.build.sourceEncoding}</encoding>
<source>1.6</source>
<target>1.6</target>
<compilerArgument>-Xmaxerrs" "10000" "-XprintRounds</compilerArgument>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.8</version>
<configuration>
<argLine>-ea</argLine>
<includes>
<include>**/*Test.java</include>
</includes>
<forkMode>once</forkMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<configuration>
<useProjectReferences>false</useProjectReferences>
<downloadSources>true</downloadSources>
<downloadJavadocs>false</downloadJavadocs>
<classpathContainers>
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6</classpathContainer>
</classpathContainers>
<excludes>
<exclude>com.asakusafw:asakusa-distribution</exclude>
<exclude>com.asakusafw:asakusa-cleaner</exclude>
<exclude>com.asakusafw:asakusa-thundergate</exclude>
<exclude>com.asakusafw:ashigel-compiler-bootstrap</exclude>
<exclude>org.eclipse.jdt:core</exclude>
</excludes>
<additionalConfig>
<file>
<name>.settings/org.eclipse.jdt.core.prefs</name>
<content>
<![CDATA[
encoding//src/main/java=${project.build.sourceEncoding}
encoding//src/main/resources=${project.build.sourceEncoding}
encoding//src/test/java=${project.build.sourceEncoding}
encoding//src/test/resources=${project.build.sourceEncoding}
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.processAnnotations=enabled
org.eclipse.jdt.core.compiler.source=1.6
]]>
</content>
</file>
<file>
<name>.settings/org.eclipse.jdt.apt.core.prefs</name>
<content>
<![CDATA[
eclipse.preferences.version=1
org.eclipse.jdt.apt.aptEnabled=true
org.eclipse.jdt.apt.genSrcDir=target/generated-sources/annotations
org.eclipse.jdt.apt.reconcileEnabled=true
]]>
</content>
</file>
<file>
<name>.factorypath</name>
<content>
<![CDATA[
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/com/asakusafw/asakusa-runtime/${asakusafw.version}/asakusa-runtime-${asakusafw.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/asakusafw/asakusa-dsl-vocabulary/${asakusafw.version}/asakusa-dsl-vocabulary-${asakusafw.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/asakusafw/ashigel-compiler/${asakusafw.version}/ashigel-compiler-${asakusafw.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/ashigeru/lang/java/java-dom/${ashigeru.lang.version}/java-dom-${ashigeru.lang.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/ashigeru/lang/java/javadoc-parser/${ashigeru.lang.version}/javadoc-parser-${ashigeru.lang.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/ashigeru/lang/java/jsr269-bridge/${ashigeru.lang.version}/jsr269-bridge-${ashigeru.lang.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/ashigeru/util/collection/${ashigeru.util.version}/collection-${ashigeru.util.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/ashigeru/util/simple-graph/${ashigeru.util.version}/simple-graph-${ashigeru.util.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-io/commons-io/${commons.io.version}/commons-io-${commons.io.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-lang/commons-lang/${commons.lang.version}/commons-lang-${commons.lang.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/ch/qos/logback/logback-classic/${logback.version}/logback-classic-${logback.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/ch/qos/logback/logback-core/${logback.version}/logback-core-${logback.version}.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/slf4j-api/${slf4j.version}/slf4j-api-${slf4j.version}.jar" enabled="true" runInBatchMode="false"/>
</factorypath>
]]>
</content>
</file>
</additionalConfig>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>target/generated-sources/annotations</source>
<source>target/generated-sources/modelgen</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>modelgen</id>
<phase>generate-sources</phase>
<configuration>
<target>
<property name="compile_classpath" refid="maven.test.classpath" />
<ant antfile="${basedir}/src/main/scripts/asakusa-build.xml">
<target name="modelgen" />
</ant>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>batch:compile:all</id>
<phase>package</phase>
<configuration>
<target>
<property name="compile_classpath" refid="maven.test.classpath" />
<ant antfile="${basedir}/src/main/scripts/asakusa-build.xml">
<target name="batch:compile:all" />
</ant>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>default-cli</id>
<configuration>
<target>
<property name="compile_classpath" refid="maven.test.classpath" />
<ant antfile="${basedir}/src/main/scripts/asakusa-build.xml"
target="install:dev" />
</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-2</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>build.properties</file>
</files>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>default-cli</id>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/asakusa-install-dev.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<version>${cloudera.cdh.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-dsl-vocabulary</artifactId>
<version>${asakusafw.version}</version>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-runtime</artifactId>
<version>${asakusafw.version}</version>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>ashigel-compiler</artifactId>
<version>${asakusafw.version}</version>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-test-driver</artifactId>
<version>${asakusafw.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>ashigel-compiler-bootstrap</artifactId>
<version>${asakusafw.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-model-generator</artifactId>
<version>${asakusafw.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-thundergate-vocabulary</artifactId>
<version>${asakusafw.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-thundergate-plugin</artifactId>
<version>${asakusafw.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-distribution</artifactId>
<version>${asakusafw.version}</version>
<classifier>dev-exclude-lib</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-cleaner</artifactId>
<version>${asakusafw.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-thundergate</artifactId>
<version>${asakusafw.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-thundergate-test-moderator</artifactId>
<version>${asakusafw.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.asakusafw</groupId>
<artifactId>asakusa-test-data-generator</artifactId>
<version>${asakusafw.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.jdbc.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commons.logging.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Something went wrong with that request. Please try again.