| <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> |
| <parent> |
| <groupId>net.hydromatic</groupId> |
| <artifactId>optiq-parent</artifactId> |
| <version>0.5</version> |
| </parent> |
| |
| <artifactId>optiq-spark</artifactId> |
| <packaging>jar</packaging> |
| <version>0.5</version> |
| <name>optiq-spark</name> |
| |
| <properties> |
| <top.dir>${project.basedir}/..</top.dir> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>net.hydromatic</groupId> |
| <artifactId>optiq-core</artifactId> |
| <version>0.5</version> |
| </dependency> |
| <dependency> |
| <groupId>net.hydromatic</groupId> |
| <artifactId>optiq-core</artifactId> |
| <version>0.5</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-core_2.10</artifactId> |
| <version>0.9.0-incubating</version> |
| </dependency> |
| <!-- Use explicit xerces and xalan. Without them, Hadoop gives |
| "Failed to set setXIncludeAware(true)" error. --> |
| <dependency> |
| <groupId>xerces</groupId> |
| <artifactId>xercesImpl</artifactId> |
| <version>2.9.1</version> |
| </dependency> |
| <dependency> |
| <groupId>xalan</groupId> |
| <artifactId>xalan</artifactId> |
| <version>2.7.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <!--<version>9.0.5.v20130815</version>--> |
| <version>7.6.8.v20121106</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <source>1.5</source> |
| <target>1.5</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.15</version> |
| <configuration> |
| <excludes> |
| <exclude>net/hydromatic/**/*.java</exclude> |
| <exclude>org/eigenbase/**/*.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>javacc-maven-plugin</artifactId> |
| <version>2.4</version> |
| <executions> |
| <execution> |
| <id>javacc</id> |
| <goals> |
| <goal>javacc</goal> |
| </goals> |
| <configuration> |
| <includes> |
| <include>**/CombinedParser.jj</include> |
| </includes> |
| <lookAhead>2</lookAhead> |
| <isStatic>false</isStatic> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.2</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.4.1</version> |
| </plugin> |
| |
| <!-- Parent module has the same plugin and does the work of |
| generating -sources.jar for each project. But without the |
| plugin declared here, IDEs don't know the sources are |
| available. --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.2.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| <goal>test-jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| <resource> |
| <directory>src/main/resources/version</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| </build> |
| |
| <repositories> |
| <repository> |
| <id>central</id> |
| <name>Maven Repository Switchboard</name> |
| <layout>default</layout> |
| <url>http://repo1.maven.org/maven2</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| </project> |