-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpom.xml
191 lines (191 loc) · 8.52 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<?xml version="1.0" encoding="utf-8"?>
<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>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene</artifactId>
<version>3.6.1</version>
<name>Apache Lucene</name>
<packaging>pom</packaging>
<properties>
<lucene.version>3.6.1</lucene.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
<meminitial>256m</meminitial>
<maxmem>1024m</maxmem>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<manifest>
<mainClass>org.apache.lucene.LucenePackage</mainClass>
<packageName>org.apache.lucene</packageName>
<addClasspath>true</addClasspath>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<configuration>
<skip>false</skip>
<forkMode>once</forkMode>
<childDelegation>false</childDelegation>
<reportFormat>plain</reportFormat>
<disableXmlReport>true</disableXmlReport>
<excludes>
<exclude>**/*$*</exclude>
</excludes>
<systemPropertyVariables>
<java.util.logging.config.file>src/test/resources/logging.properties</java.util.logging.config.file>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
<lucene.version>${lucene.version}</lucene.version>
<file.encoding>UTF-8</file.encoding>
<tempDir>${project.build.directory}</tempDir>
<testmethod></testmethod>
<jetty.testMode>1</jetty.testMode>
<tests.verbose>false</tests.verbose>
<tests.locale>random</tests.locale>
<tests.timezone>random</tests.timezone>
<tests.directory>random</tests.directory>
<tests.linedocsfile>src/test/resources/org/apache/lucene/util/europarl.lines.txt.gz</tests.linedocsfile>
<tests.iter>1</tests.iter>
<tests.iter.min>1</tests.iter.min>
<tests.seed>random</tests.seed>
<tests.luceneMatchVersion>${lucene.version}</tests.luceneMatchVersion>
<tests.cleanthreads>perMethod</tests.cleanthreads>
<tests.nightly>false</tests.nightly>
<tests.multiplier>1</tests.multiplier>
</systemPropertyVariables>
<argLine>-Xmx512m -Xms256m -XX:PermSize=512m -XX:MaxPermSize=512m</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5</version>
<configuration>
<formats>
<format>xml</format>
</formats>
<instrumentation>
<excludes>
<exclude>**/*$*</exclude>
</excludes>
</instrumentation>
<check>
<haltOnFailure>false</haltOnFailure>
</check>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>cobertura</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>2.0-beta-2</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
</plugins>
</build>
<modules>
<module>lucene-core</module>
<module>lucene-test-framework</module>
<module>lucene-core-test</module>
<module>lucene-analyzers-common</module>
<module>lucene-analyzers-smartcn</module>
<module>lucene-analyzers-stempel</module>
<module>lucene-analyzers-phonetic</module>
<module>lucene-analyzers-kuromoji</module>
<module>lucene-facet</module>
<module>lucene-grouping</module>
<module>lucene-highlighter</module>
<module>lucene-icu</module>
<module>lucene-instantiated</module>
<module>lucene-join</module>
<module>lucene-memory</module>
<module>lucene-misc</module>
<module>lucene-queries</module>
<module>lucene-queryparser</module>
<module>lucene-remote</module>
<module>lucene-spatial</module>
<module>lucene-spellchecker</module>
<module>lucene-tools</module>
<module>lucene-xml-query-parser</module>
</modules>
<profiles>
<profile>
<id>with-sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- beware - Lucene uses 4-byte UTF-8 in source, requires mysql-connector-java-5.1.16 -->
<sonar.jdbc.url>jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8mb4</sonar.jdbc.url>
<sonar.jdbc.driver>com.mysql.jdbc.Driver</sonar.jdbc.driver>
<sonar.jdbc.username>sonar</sonar.jdbc.username>
<sonar.jdbc.password>sonar</sonar.jdbc.password>
<sonar.host.url>http://demeter.hbz-nrw.de/sonar</sonar.host.url>
<sonar.profile>Sonar way with Findbugs</sonar.profile>
</properties>
</profile>
<profile>
<id>with-cobertura</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>