| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <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/maven-v4_0_0.xsd "> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <!-- ====================================================================== --> |
| <!-- P R O J E C T D E S C R I P T I O N --> |
| <!-- ====================================================================== --> |
| <parent> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit</artifactId> |
| <version>1.3.4</version> |
| <relativePath>..</relativePath> |
| </parent> |
| <artifactId>jackrabbit-core</artifactId> |
| <name>Jackrabbit Core</name> |
| <description>Jackrabbit content repository implementation</description> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/main/java</directory> |
| <includes> |
| <include>**/*.xml</include> |
| <include>**/*.properties</include> |
| <include>**/*.ddl</include> |
| <include>META-INF/services/*</include> |
| <include>**/*.cnd</include> |
| <include>**/*.dtd</include> |
| </includes> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>${basedir}/applications/test</directory> |
| <includes> |
| <include>*.properties</include> |
| <include>*.xml</include> |
| </includes> |
| </testResource> |
| <testResource> |
| <directory>${basedir}/src/test/java</directory> |
| <includes> |
| <include>**/*.cnd</include> |
| <include>**/*.xml</include> |
| <include>**/*.txt</include> |
| </includes> |
| </testResource> |
| </testResources> |
| <plugins> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>delete-sources</id> |
| <phase>process-sources</phase> |
| <configuration> |
| <tasks> |
| <ant |
| antfile="${basedir}/build.xml" |
| inheritRefs="true"> |
| <target name="deleteSources" /> |
| </ant> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>process-test-resources</id> |
| <phase>process-test-resources</phase> |
| <configuration> |
| <tasks> |
| <ant |
| antfile="${basedir}/build.xml" |
| inheritRefs="true"> |
| <target name="prepareTestRepository" /> |
| </ant> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>clean</id> |
| <phase>clean</phase> |
| <configuration> |
| <tasks> |
| <ant |
| antfile="${basedir}/build.xml" |
| inheritRefs="true"> |
| <target name="cleanTestData" /> |
| </ant> |
| </tasks> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>ant</groupId> |
| <artifactId>ant-optional</artifactId> |
| <version>1.5.3-1</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>javacc-maven-plugin</artifactId> |
| <version>2.1</version> |
| <executions> |
| <execution> |
| <id>fulltext-jjtree</id> |
| <configuration> |
| <sourceDirectory>${basedir}/src/main/javacc/fulltext</sourceDirectory> |
| <outputDirectory>${project.build.directory}/generated-src/main/java/org/apache/jackrabbit/core/query/lucene/fulltext</outputDirectory> |
| <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory> |
| <packageName>org.apache.jackrabbit.core.query.lucene.fulltext</packageName> |
| </configuration> |
| <goals> |
| <goal>jjtree</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>fulltext-javacc</id> |
| <configuration> |
| <sourceDirectory>${project.build.directory}/generated-src/main/java/org/apache/jackrabbit/core/query/lucene/fulltext</sourceDirectory> |
| <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory> |
| <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory> |
| <packageName>org.apache.jackrabbit.core.query.lucene.fulltext</packageName> |
| </configuration> |
| <goals> |
| <goal>javacc</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>sql-jjtree</id> |
| <configuration> |
| <sourceDirectory>${basedir}/src/main/javacc/sql</sourceDirectory> |
| <outputDirectory>${project.build.directory}/generated-src/main/java/org/apache/jackrabbit/core/query/sql</outputDirectory> |
| <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory> |
| <packageName>org.apache.jackrabbit.core.query.sql</packageName> |
| </configuration> |
| <goals> |
| <goal>jjtree</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>sql-javacc</id> |
| <configuration> |
| <sourceDirectory>${project.build.directory}/generated-src/main/java/org/apache/jackrabbit/core/query/sql</sourceDirectory> |
| <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory> |
| <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory> |
| <packageName>org.apache.jackrabbit.core.query.sql</packageName> |
| </configuration> |
| <goals> |
| <goal>javacc</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>xpath-jjtree</id> |
| <configuration> |
| <sourceDirectory>${basedir}/src/main/javacc/xpath</sourceDirectory> |
| <outputDirectory>${project.build.directory}/generated-src/main/java/org/apache/jackrabbit/core/query/xpath</outputDirectory> |
| <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory> |
| <packageName>org.apache.jackrabbit.core.query.xpath</packageName> |
| </configuration> |
| <goals> |
| <goal>jjtree</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>xpath-javacc</id> |
| <configuration> |
| <sourceDirectory>${project.build.directory}/generated-src/main/java/org/apache/jackrabbit/core/query/xpath</sourceDirectory> |
| <outputDirectory>${project.build.directory}/generated-src/main/java</outputDirectory> |
| <timestampDirectory>${project.build.directory}/generated-src/javacc-timestamp</timestampDirectory> |
| <packageName>org.apache.jackrabbit.core.query.xpath</packageName> |
| </configuration> |
| <goals> |
| <goal>javacc</goal> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>net.java.dev.javacc</groupId> |
| <artifactId>javacc</artifactId> |
| <version>3.2</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**</exclude> |
| </excludes> |
| <forkMode>once</forkMode> |
| <argLine>-Xmx128m -enableassertions</argLine> |
| <systemProperties> |
| <property> |
| <name>derby.system.durability</name> |
| <value>test</value> |
| </property> |
| <property> |
| <name>known.issues</name> |
| <value> |
| org.apache.jackrabbit.core.xml.DocumentViewTest#testMultiValue |
| org.apache.jackrabbit.value.BinaryValueTest#testBinaryValueEquals |
| </value> |
| </property> |
| </systemProperties> |
| </configuration> |
| <executions> |
| <execution> |
| <id>do_init</id> |
| <configuration> |
| <includes> |
| <include>**/init/*</include> |
| </includes> |
| <excludes> |
| <exclude>**/*TestAll.java</exclude> |
| </excludes> |
| </configuration> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>do_test</id> |
| <configuration> |
| <excludes> |
| <exclude>**/init/*</exclude> |
| </excludes> |
| <includes> |
| <include>**/*TestAll.java</include> |
| </includes> |
| </configuration> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>concurrent</groupId> |
| <artifactId>concurrent</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jta_1.0.1B_spec</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-jcr-commons</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-text-extractors</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-jcr-tests</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derbynet</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derbyclient</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |