Skip to content

Commit 1045e7a

Browse files
committed
9: Java 8 problems in javamoney-calc
Made Parent POM JDK agnostic Task-Url: http://github.com/JavaMoney/javamoney-lib/issues/issue/9
1 parent 852fde3 commit 1045e7a

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

bundles/pom.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@
44
<parent>
55
<groupId>org.javamoney.lib</groupId>
66
<artifactId>javamoney-lib</artifactId>
7-
<version>0.6</version>
7+
<version>0.8-SNAPSHOT</version>
88
</parent>
99

1010
<groupId>org.javamoney.bundles</groupId>
1111
<artifactId>javamoney-bundles</artifactId>
1212
<name>Money and Currency - JavaMoney Bundles</name>
1313
<packaging>pom</packaging>
14-
14+
<properties>
15+
<jdkVersion>1.8</jdkVersion>
16+
<maven.compile.targetLevel>${jdkVersion}</maven.compile.targetLevel>
17+
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
18+
</properties>
19+
1520
<modules>
1621
<module>javamoney-all</module>
1722
</modules>

calc/pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@
55
<parent>
66
<groupId>org.javamoney.lib</groupId>
77
<artifactId>javamoney-lib</artifactId>
8-
<version>0.7</version>
8+
<version>0.8-SNAPSHOT</version>
99
</parent>
1010

1111
<artifactId>javamoney-calc</artifactId>
1212
<name>Money and Currency - JavaMoney Calculations</name>
1313
<packaging>bundle</packaging>
14-
<!-- Try to find workaround for problem attaching sources to bundle, as of now manually switching to "jar" works -->
14+
<!-- Try to find workaround for problem attaching sources to bundle, as
15+
of now manually switching to "jar" works -->
16+
<properties>
17+
<jdkVersion>1.8</jdkVersion>
18+
<maven.compile.targetLevel>${jdkVersion}</maven.compile.targetLevel>
19+
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
20+
</properties>
1521
<build>
1622
<plugins>
1723
<plugin>

pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@
1010
<groupId>org.javamoney.lib</groupId>
1111
<name>Money and Currency - JavaMoney Libraries (parent)</name>
1212
<packaging>pom</packaging>
13-
<version>0.7</version>
13+
<version>0.8-SNAPSHOT</version>
1414
<properties>
1515
<jsr.version>1.0</jsr.version>
16-
<jdkVersion>1.8</jdkVersion>
17-
<maven.compile.targetLevel>${jdkVersion}</maven.compile.targetLevel>
18-
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
1916
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2017
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2118
<slf4j.version>1.7.10</slf4j.version>

0 commit comments

Comments
 (0)