Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

Commit de16262

Browse files
committed
4: Update Jackson-Module
Updated POM Task-Url: https://github.com/unitsofmeasurement/unit-demos/issues/issue/4
1 parent 179a3f2 commit de16262

1 file changed

Lines changed: 23 additions & 7 deletions

File tree

pom.xml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
55

66
<modelVersion>4.0.0</modelVersion>
7-
7+
<parent>
8+
<version>0.5-SNAPSHOT</version>
9+
<artifactId>unitsofmeasurement-parent</artifactId>
10+
<groupId>org.unitsofmeasurement</groupId>
11+
</parent>
812
<groupId>com.opower.unitsofmeasure</groupId>
913
<artifactId>jackson-module-unitsofmeasure</artifactId>
1014
<packaging>jar</packaging>
11-
<version>1.1.0</version>
15+
<version>1.2-SNAPSHOT</version>
1216

1317
<name>Jackson Unit of Measure Module</name>
1418
<description>Contains custom serializers and deserializers for org.unitsofmeasurement classes.</description>
@@ -20,6 +24,19 @@
2024
<url>https://github.com/opower/jackson-module-unitsofmeasure/raw/master/repo</url>
2125
</repository>
2226
</repositories>
27+
28+
<!-- ======================================================= -->
29+
<!-- Build Settings -->
30+
<!-- ======================================================= -->
31+
<properties>
32+
<project.build.javaVersion>1.7</project.build.javaVersion>
33+
<jdkVersion>1.7</jdkVersion>
34+
<maven.compile.targetLevel>${jdkVersion}</maven.compile.targetLevel>
35+
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
36+
<ri.version>0.2-SNAPSHOT</ri.version>
37+
<lib.version>0.1-SNAPSHOT</lib.version>
38+
<jackson.version>2.2.2</jackson.version>
39+
</properties>
2340

2441
<dependencies>
2542
<!-- =========================================================================================================== -->
@@ -43,18 +60,17 @@
4360
<dependency>
4461
<groupId>com.fasterxml.jackson.core</groupId>
4562
<artifactId>jackson-core</artifactId>
46-
<version>2.2.2</version>
63+
<version>${jackson.version}</version>
4764
</dependency>
4865
<dependency>
4966
<groupId>com.fasterxml.jackson.core</groupId>
5067
<artifactId>jackson-databind</artifactId>
51-
<version>2.2.2</version>
68+
<version>${jackson.version}</version>
5269
</dependency>
5370

5471
<dependency>
5572
<groupId>junit</groupId>
5673
<artifactId>junit</artifactId>
57-
<version>4.10</version>
5874
<scope>test</scope>
5975
</dependency>
6076
</dependencies>
@@ -65,8 +81,8 @@
6581
<groupId>org.apache.maven.plugins</groupId>
6682
<artifactId>maven-compiler-plugin</artifactId>
6783
<configuration>
68-
<source>1.6</source>
69-
<target>1.6</target>
84+
<source>${jdkVersion}</source>
85+
<target>${jdkVersion}</target>
7086
</configuration>
7187
</plugin>
7288
</plugins>

0 commit comments

Comments
 (0)