Skip to content

Commit 1f3fa87

Browse files
Lubos KoscoLubos Kosco
authored andcommitted
simplify lucene version in mvn build file
1 parent c41c086 commit 1f3fa87

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ webrev
3737
opengrok-web-nbproject/nbproject/private/
3838
opengrok-web-nbproject/nbproject/genfiles.properties
3939
run_my.bat
40+
*.xml~
41+
opengrok-web-nbproject/nbproject/build-impl.xml~

pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
</modules>
3636

3737
<properties>
38+
<lucene.version>4.7.0</lucene.version>
3839
<compileSource>1.7</compileSource>
3940
<compileTarget>1.7</compileTarget>
4041
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -55,22 +56,22 @@
5556
<dependency>
5657
<groupId>org.apache.lucene</groupId>
5758
<artifactId>lucene-core</artifactId>
58-
<version>4.7.0</version>
59+
<version>${lucene.version}</version>
5960
</dependency>
6061
<dependency>
6162
<groupId>org.apache.lucene</groupId>
6263
<artifactId>lucene-analyzers-common</artifactId>
63-
<version>4.7.0</version>
64+
<version>${lucene.version}</version>
6465
</dependency>
6566
<dependency>
6667
<groupId>org.apache.lucene</groupId>
6768
<artifactId>lucene-queryparser</artifactId>
68-
<version>4.7.0</version>
69+
<version>${lucene.version}</version>
6970
</dependency>
7071
<dependency>
7172
<groupId>org.apache.lucene</groupId>
7273
<artifactId>lucene-suggest</artifactId>
73-
<version>4.7.0</version>
74+
<version>${lucene.version}</version>
7475
</dependency>
7576
<dependency>
7677
<groupId>javax.servlet</groupId>

0 commit comments

Comments
 (0)