xref: /OpenGrok/opengrok-indexer/src/test/resources/analysis/xml/sample.xml (revision 8909fd3f1c05609ff16db0c19cadc22f863aceb6)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4CDDL HEADER START
5
6The contents of this file are subject to the terms of the
7Common Development and Distribution License (the "License").
8You may not use this file except in compliance with the License.
9
10See LICENSE.txt included in this distribution for the specific
11language governing permissions and limitations under the License.
12
13When distributing Covered Code, include this CDDL HEADER in each
14file and include the License file at LICENSE.txt.
15If applicable, add the following below this CDDL HEADER, with the
16fields enclosed by brackets "[]" replaced with your own identifying
17information: Portions Copyright [yyyy] [name of copyright owner]
18
19CDDL HEADER END
20
21Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
22
23-->
24<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
26    <modelVersion>4.0.0</modelVersion>
27    <groupId>org.opensolaris.opengrok</groupId>
28    <artifactId>opengrok</artifactId>
29    <packaging>pom</packaging>
30    <version>1.1-SNAPSHOT</version>
31    <name>OpenGrok</name>
32    <url>http://opengrok.github.com/OpenGrok/</url>
33
34    <scm>
35        <connection>scm:git:ssh://git@github.com:OpenGrok/OpenGrok.git</connection>
36        <developerConnection>scm:git:ssh://git@github.com:OpenGrok/OpenGrok.git</developerConnection>
37        <url>ssh://git@github.com:OpenGrok/OpenGrok.git</url>
38    </scm>
39
40    <licenses>
41        <license>
42            <name>CDDL 1</name>
43            <url>http://opensource.org/licenses/CDDL-1.0</url>
44            <distribution>repo</distribution>
45        </license>
46    </licenses>
47
48    <organization>
49        <name>Oracle</name>
50        <url>http://www.oracle.com</url>
51    </organization>
52
53    <modules>
54        <module>jrcs</module>
55        <module>plugins</module>
56        <module>opengrok-indexer</module>
57        <module>opengrok-web</module>
58    </modules>
59
60    <properties>
61	<lucene.version>6.6.0</lucene.version>
62	<mavenjavadocplugin.version>2.10.4</mavenjavadocplugin.version>
63        <compileSource>1.8</compileSource>
64        <compileTarget>1.8</compileTarget>
65        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
66    </properties>
67
68    <dependencyManagement>
69        <dependencies>
70            <dependency>
71                <groupId>junit</groupId>
72                <artifactId>junit</artifactId>
73                <version>4.12</version>
74            </dependency>
75            <dependency>
76                <groupId>org.apache.bcel</groupId>
77                <artifactId>bcel</artifactId>
78                <version>6.0</version>
79            </dependency>
80            <dependency>
81                <groupId>org.apache.lucene</groupId>
82                <artifactId>lucene-core</artifactId>
83                <version>${lucene.version}</version>
84            </dependency>
85            <dependency>
86                <groupId>org.apache.lucene</groupId>
87                <artifactId>lucene-analyzers-common</artifactId>
88                <version>${lucene.version}</version>
89            </dependency>
90            <dependency>
91                <groupId>org.apache.lucene</groupId>
92                <artifactId>lucene-queryparser</artifactId>
93                <version>${lucene.version}</version>
94            </dependency>
95            <dependency>
96                <groupId>org.apache.lucene</groupId>
97                <artifactId>lucene-suggest</artifactId>
98                <version>${lucene.version}</version>
99            </dependency>
100            <dependency>
101                <groupId>javax.servlet</groupId>
102                <artifactId>servlet-api</artifactId>
103                <version>2.5</version>
104            </dependency>
105            <dependency>
106                    <groupId>com.googlecode.json-simple</groupId>
107                    <artifactId>json-simple</artifactId>
108                    <version>1.1.1</version>
109            </dependency>
110            <dependency>
111                <groupId>org.apache.ant</groupId>
112                <artifactId>ant</artifactId>
113                <version>1.10.1</version>
114            </dependency>
115        </dependencies>
116    </dependencyManagement>
117
118    <build>
119        <plugins>
120            <plugin>
121                <groupId>org.apache.maven.plugins</groupId>
122                <artifactId>maven-compiler-plugin</artifactId>
123                <configuration>
124                    <source>${compileSource}</source>
125                    <target>${compileTarget}</target>
126                    <encoding>${project.build.sourceEncoding}</encoding>
127                </configuration>
128                <version>3.6.1</version>
129            </plugin>
130            <plugin>
131                <groupId>org.apache.maven.plugins</groupId>
132                <artifactId>maven-surefire-plugin</artifactId>
133                <configuration>
134                        <forkCount>1</forkCount>
135                        <reuseForks>false</reuseForks>
136                </configuration>
137                <version>2.20</version>
138            </plugin>
139            <plugin>
140                <groupId>org.jacoco</groupId>
141                <artifactId>jacoco-maven-plugin</artifactId>
142                <version>0.7.9</version>
143            </plugin>
144	    <plugin>
145                <groupId>org.apache.maven.plugins</groupId>
146                <artifactId>maven-javadoc-plugin</artifactId>
147		<version>${mavenjavadocplugin.version}</version>
148            </plugin>
149           <plugin>
150            <artifactId>maven-project-info-reports-plugin</artifactId>
151            <version>2.9</version>
152           </plugin>
153        </plugins>
154    </build>
155
156    <reporting>
157        <plugins>
158            <plugin>
159                <groupId>org.codehaus.mojo</groupId>
160                <artifactId>findbugs-maven-plugin</artifactId>
161                <version>3.0.4</version>
162                <configuration>
163                    <xmlOutput>true</xmlOutput>
164                    <includeFilterFile>tools/findbugs_filter.xml</includeFilterFile>
165                    <xmlOutputDirectory>
166                        ${project.build.directory}/findbugs-reports
167                    </xmlOutputDirectory>
168                    <effort>max</effort>
169                    <onlyAnalyze>org.opensolaris.opengrok.*</onlyAnalyze>
170                </configuration>
171            </plugin>
172            <plugin>
173                <groupId>org.apache.maven.plugins</groupId>
174                <artifactId>maven-pmd-plugin</artifactId>
175                <version>3.8</version>
176                <reportSets>
177                    <reportSet>
178                        <reports>
179                            <report>pmd</report>
180                            <report>cpd</report>
181                        </reports>
182                    </reportSet>
183                </reportSets>
184                <configuration>
185                    <rulesets>
186                        <ruleset>tools/pmd_ruleset.xml</ruleset>
187                    </rulesets>
188                    <targetJdk>${compileSource}</targetJdk>
189                    <aggregate>true</aggregate>
190                </configuration>
191            </plugin>
192            <plugin>
193                <groupId>org.apache.maven.plugins</groupId>
194                <artifactId>maven-docck-plugin</artifactId>
195                <version>1.1</version>
196            </plugin>
197            <plugin>
198                <groupId>org.apache.maven.plugins</groupId>
199                <artifactId>maven-javadoc-plugin</artifactId>
200                <version>${mavenjavadocplugin.version}</version>
201                <reportSets>
202                    <reportSet>
203                        <id>non-aggregate</id>
204                        <reports>
205                            <report>javadoc</report>
206                        </reports>
207                    </reportSet>
208                    <reportSet>
209                        <id>aggregate</id>
210                        <reports>
211                            <report>aggregate</report>
212                        </reports>
213                    </reportSet>
214                </reportSets>
215            </plugin>
216            <plugin>
217                <groupId>org.apache.maven.plugins</groupId>
218                <artifactId>maven-surefire-report-plugin</artifactId>
219                <version>2.20</version>
220            </plugin>
221            <plugin>
222                <groupId>org.apache.maven.plugins</groupId>
223                <artifactId>maven-jxr-plugin</artifactId>
224                <version>2.5</version>
225                <configuration>
226                    <aggregate>true</aggregate>
227                </configuration>
228            </plugin>
229            <plugin>
230                <groupId>org.apache.maven.plugins</groupId>
231                <artifactId>maven-checkstyle-plugin</artifactId>
232                <version>2.17</version>
233                <configuration>
234                    <configLocation>checkstyle/style.xml</configLocation>
235                </configuration>
236            </plugin>
237        </plugins>
238    </reporting>
239
240    <repositories>
241        <repository>
242            <id>maven.org</id>
243            <name>maven.org</name>
244            <url>https://repo.maven.apache.org/maven2/</url>
245            <layout>default</layout>
246        </repository>
247        <repository>
248            <id>apache.snapshots</id>
249            <name>apache.snapshots</name>
250            <url>https://repository.apache.org/snapshots/</url>
251            <layout>default</layout>
252        </repository>
253    </repositories>
254
255    <pluginRepositories>
256        <pluginRepository>
257            <id>maven.org</id>
258            <url>https://repo.maven.apache.org/maven2/</url>
259        </pluginRepository>
260    </pluginRepositories>
261
262</project>
263