| <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.4.14-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>optiq-core</artifactId> |
| <packaging>jar</packaging> |
| <version>0.4.14-SNAPSHOT</version> |
| <name>optiq-core</name> |
| <description>Core Optiq APIs and engine.</description> |
| |
| <build> |
| <plugins> |
| <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> |
| |
| <!-- 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> |
| |
| </project> |