Skip to content

Commit 545b53c

Browse files
Project library version configuration by properties
1 parent 97e195e commit 545b53c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pom.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2323
<maven.compiler.target>1.7</maven.compiler.target>
2424
<maven.compiler.source>1.7</maven.compiler.source>
25+
<!-- libraries versions -->
26+
<fj-version>0.4.6</fj-version>
27+
<opencsv-version>4.6</opencsv-version>
28+
<poi-version>3.16</poi-version>
2529
</properties>
2630

2731
<licenses>
@@ -47,8 +51,6 @@
4751
</developer>
4852
</developers>
4953

50-
51-
5254
<distributionManagement>
5355
<snapshotRepository>
5456
<id>ossrh</id>
@@ -80,20 +82,20 @@
8082
<dependency>
8183
<groupId>com.opencsv</groupId>
8284
<artifactId>opencsv</artifactId>
83-
<version>4.6</version>
85+
<version>${opencsv-version}</version>
8486
</dependency>
8587

8688
<dependency>
8789
<groupId>org.apache.poi</groupId>
8890
<artifactId>poi</artifactId>
89-
<version>3.16</version>
91+
<version>${poi-version}</version>
9092
</dependency>
9193

9294
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
9395
<dependency>
9496
<groupId>org.apache.poi</groupId>
9597
<artifactId>poi-ooxml</artifactId>
96-
<version>3.16</version>
98+
<version>${poi-version}</version>
9799
</dependency>
98100

99101
<dependency>

0 commit comments

Comments
 (0)