108a0c20eSJorgen Austvik<?xml version="1.0" encoding="UTF-8"?> 2*18446c8aSKnut Anders Hatlen<!-- 3*18446c8aSKnut Anders Hatlen 4*18446c8aSKnut Anders HatlenCDDL HEADER START 5*18446c8aSKnut Anders Hatlen 6*18446c8aSKnut Anders HatlenThe contents of this file are subject to the terms of the 7*18446c8aSKnut Anders HatlenCommon Development and Distribution License (the "License"). 8*18446c8aSKnut Anders HatlenYou may not use this file except in compliance with the License. 9*18446c8aSKnut Anders Hatlen 10*18446c8aSKnut Anders HatlenSee LICENSE.txt included in this distribution for the specific 11*18446c8aSKnut Anders Hatlenlanguage governing permissions and limitations under the License. 12*18446c8aSKnut Anders Hatlen 13*18446c8aSKnut Anders HatlenWhen distributing Covered Code, include this CDDL HEADER in each 14*18446c8aSKnut Anders Hatlenfile and include the License file at LICENSE.txt. 15*18446c8aSKnut Anders HatlenIf applicable, add the following below this CDDL HEADER, with the 16*18446c8aSKnut Anders Hatlenfields enclosed by brackets "[]" replaced with your own identifying 17*18446c8aSKnut Anders Hatleninformation: Portions Copyright [yyyy] [name of copyright owner] 18*18446c8aSKnut Anders Hatlen 19*18446c8aSKnut Anders HatlenCDDL HEADER END 20*18446c8aSKnut Anders Hatlen 21*18446c8aSKnut Anders HatlenCopyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. 22*18446c8aSKnut Anders Hatlen 23*18446c8aSKnut Anders Hatlen--> 2408a0c20eSJorgen Austvik<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2508a0c20eSJorgen Austvik xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 2608a0c20eSJorgen Austvik <modelVersion>4.0.0</modelVersion> 2708a0c20eSJorgen Austvik <groupId>org.opensolaris.opengrok</groupId> 2808a0c20eSJorgen Austvik <artifactId>opengrok-indexer</artifactId> 2908a0c20eSJorgen Austvik <packaging>jar</packaging> 3008a0c20eSJorgen Austvik <version>0.10-SNAPSHOT</version> 3108a0c20eSJorgen Austvik <name>OpenGrok Indexer</name> 3208a0c20eSJorgen Austvik 3308a0c20eSJorgen Austvik <parent> 3408a0c20eSJorgen Austvik <groupId>org.opensolaris.opengrok</groupId> 3508a0c20eSJorgen Austvik <artifactId>opengrok</artifactId> 3608a0c20eSJorgen Austvik <version>0.10-SNAPSHOT</version> 3708a0c20eSJorgen Austvik </parent> 3808a0c20eSJorgen Austvik 3908a0c20eSJorgen Austvik <build> 4008a0c20eSJorgen Austvik <sourceDirectory>../src</sourceDirectory> 4108a0c20eSJorgen Austvik <testSourceDirectory>../test</testSourceDirectory> 4208a0c20eSJorgen Austvik 438a75af3fSLubos Kosco <resources> 448a75af3fSLubos Kosco <resource> 45aa4907e2SLubos Kosco <targetPath>org/opensolaris/opengrok/analysis/sql/</targetPath> 468a75af3fSLubos Kosco <directory>../src/org/opensolaris/opengrok/analysis/sql/</directory> 473ddd2069SKnut Anders Hatlen <includes> 483ddd2069SKnut Anders Hatlen <include>*.dat</include> 493ddd2069SKnut Anders Hatlen </includes> 508a75af3fSLubos Kosco </resource> 518a75af3fSLubos Kosco <resource> 52aa4907e2SLubos Kosco <targetPath>org/opensolaris/opengrok/index/</targetPath> 53aa4907e2SLubos Kosco <directory>../src/org/opensolaris/opengrok/index/</directory> 54aa4907e2SLubos Kosco <excludes><exclude>*.java</exclude></excludes> 558a75af3fSLubos Kosco </resource> 56aa4907e2SLubos Kosco <resource> 57aa4907e2SLubos Kosco <targetPath>org/opensolaris/opengrok/management/</targetPath> 58aa4907e2SLubos Kosco <directory>../src/org/opensolaris/opengrok/management/</directory> 5911b8ef37SKnut Anders Hatlen <includes> 6011b8ef37SKnut Anders Hatlen <include>*.properties</include> 6111b8ef37SKnut Anders Hatlen <include>**/*.gif</include> 6211b8ef37SKnut Anders Hatlen </includes> 63aa4907e2SLubos Kosco </resource> 64aa4907e2SLubos Kosco <resource> 65aa4907e2SLubos Kosco <targetPath>org/opensolaris/opengrok/history/</targetPath> 66aa4907e2SLubos Kosco <directory>../src/org/opensolaris/opengrok/history/</directory> 67aa4907e2SLubos Kosco <excludes> 68aa4907e2SLubos Kosco <exclude>*.java</exclude> 69aa4907e2SLubos Kosco <exclude>*.html</exclude> 70aa4907e2SLubos Kosco </excludes> 71aa4907e2SLubos Kosco </resource> 728a75af3fSLubos Kosco </resources> 738a75af3fSLubos Kosco 74aa4907e2SLubos Kosco <testResources> 75aa4907e2SLubos Kosco <testResource> 76aa4907e2SLubos Kosco <targetPath>org/opensolaris/opengrok/history/</targetPath> 77aa4907e2SLubos Kosco <directory>../test/org/opensolaris/opengrok/history/</directory> 78aa4907e2SLubos Kosco <excludes><exclude>*.java</exclude></excludes> 79aa4907e2SLubos Kosco </testResource> 80aa4907e2SLubos Kosco </testResources> 81aa4907e2SLubos Kosco 8208a0c20eSJorgen Austvik <plugins> 83e0f7ec00SKnut Anders Hatlen 84e0f7ec00SKnut Anders Hatlen <plugin> 85e0f7ec00SKnut Anders Hatlen <groupId>org.apache.maven.plugins</groupId> 86e0f7ec00SKnut Anders Hatlen <artifactId>maven-jar-plugin</artifactId> 87e0f7ec00SKnut Anders Hatlen <configuration> 88e0f7ec00SKnut Anders Hatlen <archive> 89e0f7ec00SKnut Anders Hatlen <manifest> 90e0f7ec00SKnut Anders Hatlen <mainClass>org.opensolaris.opengrok.index.Indexer</mainClass> 91e0f7ec00SKnut Anders Hatlen <addClasspath>true</addClasspath> 92e0f7ec00SKnut Anders Hatlen <classpathPrefix>lib/</classpathPrefix> 93e0f7ec00SKnut Anders Hatlen </manifest> 94e0f7ec00SKnut Anders Hatlen <manifestEntries> 95e0f7ec00SKnut Anders Hatlen <!-- 96e0f7ec00SKnut Anders Hatlen We don't include Derby yet, but set 97e0f7ec00SKnut Anders Hatlen up the classpath so that it's found 98e0f7ec00SKnut Anders Hatlen at runtime if it's installed. 99e0f7ec00SKnut Anders Hatlen --> 100e0f7ec00SKnut Anders Hatlen <Class-Path>lib/derbyclient.jar lib/derby.jar</Class-Path> 101e0f7ec00SKnut Anders Hatlen </manifestEntries> 102e0f7ec00SKnut Anders Hatlen </archive> 103e0f7ec00SKnut Anders Hatlen </configuration> 104e0f7ec00SKnut Anders Hatlen </plugin> 105e0f7ec00SKnut Anders Hatlen 10608a0c20eSJorgen Austvik <plugin> 10708a0c20eSJorgen Austvik <groupId>de.jflex</groupId> 10808a0c20eSJorgen Austvik <artifactId>maven-jflex-plugin</artifactId> 10908a0c20eSJorgen Austvik <version>1.4.3</version> 11008a0c20eSJorgen Austvik <executions> 11108a0c20eSJorgen Austvik <execution> 11208a0c20eSJorgen Austvik <goals> 11308a0c20eSJorgen Austvik <goal>generate</goal> 11408a0c20eSJorgen Austvik </goals> 11508a0c20eSJorgen Austvik <configuration> 11608a0c20eSJorgen Austvik <lexDefinitions> 117ddbda309SKnut Anders Hatlen <lexDefinition>../src</lexDefinition> 11808a0c20eSJorgen Austvik </lexDefinitions> 11908a0c20eSJorgen Austvik </configuration> 12008a0c20eSJorgen Austvik </execution> 12108a0c20eSJorgen Austvik </executions> 12208a0c20eSJorgen Austvik </plugin> 1232e3d7e6eSJorgen Austvik 1242e3d7e6eSJorgen Austvik <plugin> 1252e3d7e6eSJorgen Austvik <artifactId>maven-antrun-plugin</artifactId> 126*18446c8aSKnut Anders Hatlen <version>1.6</version> 1272e3d7e6eSJorgen Austvik <executions> 1282e3d7e6eSJorgen Austvik <execution> 129*18446c8aSKnut Anders Hatlen <phase>generate-resources</phase> 130*18446c8aSKnut Anders Hatlen <configuration> 131*18446c8aSKnut Anders Hatlen <target> 132*18446c8aSKnut Anders Hatlen <property name="version" value="${version}"/> 133*18446c8aSKnut Anders Hatlen <ant target="-update-build-info"/> 134*18446c8aSKnut Anders Hatlen </target> 135*18446c8aSKnut Anders Hatlen </configuration> 136*18446c8aSKnut Anders Hatlen <goals> 137*18446c8aSKnut Anders Hatlen <goal>run</goal> 138*18446c8aSKnut Anders Hatlen </goals> 139*18446c8aSKnut Anders Hatlen </execution> 140*18446c8aSKnut Anders Hatlen <execution> 1412e3d7e6eSJorgen Austvik <id>build-config-files</id> 1422e3d7e6eSJorgen Austvik <phase>process-test-classes</phase> 1432e3d7e6eSJorgen Austvik <goals> 1442e3d7e6eSJorgen Austvik <goal>run</goal> 1452e3d7e6eSJorgen Austvik </goals> 1462e3d7e6eSJorgen Austvik <configuration> 147*18446c8aSKnut Anders Hatlen <target unless="maven.test.skip"> 148*18446c8aSKnut Anders Hatlen <ant target="-post-compile-test"/> 149*18446c8aSKnut Anders Hatlen </target> 1502e3d7e6eSJorgen Austvik </configuration> 1512e3d7e6eSJorgen Austvik </execution> 1522e3d7e6eSJorgen Austvik </executions> 1532e3d7e6eSJorgen Austvik </plugin> 1542e3d7e6eSJorgen Austvik 155aa4907e2SLubos Kosco <plugin> 156aa4907e2SLubos Kosco <groupId>org.apache.maven.plugins</groupId> 157aa4907e2SLubos Kosco <artifactId>maven-surefire-plugin</artifactId> 158aa4907e2SLubos Kosco <configuration> 159aa4907e2SLubos Kosco <excludes> 160aa4907e2SLubos Kosco <!-- Test helper class with name that confuses surefire --> 161aa4907e2SLubos Kosco <exclude>**/TestRepository.java</exclude> 162aa4907e2SLubos Kosco </excludes> 163aa4907e2SLubos Kosco </configuration> 164aa4907e2SLubos Kosco </plugin> 165aa4907e2SLubos Kosco 166aa4907e2SLubos Kosco 16708a0c20eSJorgen Austvik </plugins> 16808a0c20eSJorgen Austvik </build> 16908a0c20eSJorgen Austvik 17008a0c20eSJorgen Austvik <dependencies> 17108a0c20eSJorgen Austvik <dependency> 17208a0c20eSJorgen Austvik <groupId>org.apache.bcel</groupId> 17308a0c20eSJorgen Austvik <artifactId>bcel</artifactId> 17408a0c20eSJorgen Austvik </dependency> 17508a0c20eSJorgen Austvik <dependency> 17608a0c20eSJorgen Austvik <groupId>org.apache.lucene</groupId> 17708a0c20eSJorgen Austvik <artifactId>lucene-core</artifactId> 17808a0c20eSJorgen Austvik </dependency> 17908a0c20eSJorgen Austvik <dependency> 18008a0c20eSJorgen Austvik <groupId>org.apache.lucene</groupId> 18108a0c20eSJorgen Austvik <artifactId>lucene-spellchecker</artifactId> 18208a0c20eSJorgen Austvik </dependency> 18308a0c20eSJorgen Austvik <dependency> 18408a0c20eSJorgen Austvik <groupId>javax.servlet</groupId> 18508a0c20eSJorgen Austvik <artifactId>servlet-api</artifactId> 18608a0c20eSJorgen Austvik </dependency> 18708a0c20eSJorgen Austvik <dependency> 188381a9b85SJorgen Austvik <groupId>org.opensolaris.opengrok</groupId> 189381a9b85SJorgen Austvik <artifactId>jrcs</artifactId> 190381a9b85SJorgen Austvik <version>${project.version}</version> 19108a0c20eSJorgen Austvik </dependency> 19208a0c20eSJorgen Austvik <dependency> 19308a0c20eSJorgen Austvik <groupId>org.apache.ant</groupId> 19408a0c20eSJorgen Austvik <artifactId>ant</artifactId> 19508a0c20eSJorgen Austvik </dependency> 19608a0c20eSJorgen Austvik <dependency> 19708a0c20eSJorgen Austvik <groupId>junit</groupId> 19808a0c20eSJorgen Austvik <artifactId>junit</artifactId> 19908a0c20eSJorgen Austvik <scope>test</scope> 20008a0c20eSJorgen Austvik </dependency> 201aa4907e2SLubos Kosco <dependency> 202aa4907e2SLubos Kosco <groupId>org.apache.derby</groupId> 203aa4907e2SLubos Kosco <artifactId>derby</artifactId> 204aa4907e2SLubos Kosco <scope>test</scope> 205aa4907e2SLubos Kosco </dependency> 206aa4907e2SLubos Kosco<!-- <dependency> 207aa4907e2SLubos Kosco <groupId>org.apache.derby</groupId> 208aa4907e2SLubos Kosco <artifactId>derbyclient</artifactId> 209aa4907e2SLubos Kosco <scope>run</scope> 210aa4907e2SLubos Kosco </dependency> 211aa4907e2SLubos Kosco--> 212aa4907e2SLubos Kosco 21308a0c20eSJorgen Austvik </dependencies> 21408a0c20eSJorgen Austvik 21508a0c20eSJorgen Austvik</project> 216