Skip to content

Commit 87398ab

Browse files
committed
9: Add Energy API
Task-Url: #9
1 parent ffbaf0e commit 87398ab

File tree

8 files changed

+205
-67
lines changed

8 files changed

+205
-67
lines changed

cloud/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>tech.uom.domain</groupId>
55
<artifactId>uom-domain</artifactId>
6-
<version>2.0-SNAPSHOT</version>
6+
<version>2.0</version>
77
</parent>
88
<artifactId>uom-cloud</artifactId>
99
<packaging>pom</packaging>

energy/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>tech.uom.domain</groupId>
77
<artifactId>uom-domain</artifactId>
8-
<version>2.0-SNAPSHOT</version>
8+
<version>2.0</version>
99
</parent>
1010
<artifactId>uom-energy-quantity</artifactId>
1111
<name>Units of Measurement Energy Quantities</name>

health/health-api/pom.xml

Lines changed: 56 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,73 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45
<parent>
56
<groupId>tech.uom.domain</groupId>
67
<artifactId>uom-health-parent</artifactId>
7-
<version>2.0-SNAPSHOT</version>
8+
<version>2.0</version>
89
</parent>
910
<artifactId>uom-health-api</artifactId>
1011
<name>Units of Measurement Health API</name>
12+
<licenses>
13+
<license>
14+
<name>BSD 3-Clause</name>
15+
<url>LICENSE</url>
16+
</license>
17+
</licenses>
18+
<scm>
19+
<connection>scm:git:https://github.com/unitsofmeasurement/uom-domain.git</connection>
20+
<developerConnection>scm:git:https://github.com/unitsofmeasurement/uom-domain.git</developerConnection>
21+
<url>https://github.com/unitsofmeasurement/uom-domain.git</url>
22+
</scm>
23+
<developers>
24+
<developer>
25+
<id>keilw</id>
26+
<name>Werner Keil</name>
27+
<email>werner@catmedia.us</email>
28+
<organization>Creative Arts &amp; Technologies</organization>
29+
<organizationUrl>http://www.catmedia.us</organizationUrl>
30+
<timezone>+1</timezone>
31+
<roles>
32+
<role>Architect</role>
33+
<role>Java Developer</role>
34+
<role>Spec Lead</role>
35+
</roles>
36+
</developer>
37+
</developers>
38+
1139
<dependencies>
1240
<dependency>
1341
<groupId>javax.measure</groupId>
1442
<artifactId>unit-api</artifactId>
1543
</dependency>
1644
</dependencies>
17-
<build>
18-
<plugins>
19-
<plugin>
20-
<artifactId>maven-compiler-plugin</artifactId>
21-
<configuration>
22-
<source>${jdkVersion}</source>
23-
<target>${jdkVersion}</target>
24-
</configuration>
25-
</plugin>
45+
<build>
46+
<plugins>
47+
<plugin>
48+
<artifactId>maven-compiler-plugin</artifactId>
49+
<configuration>
50+
<source>${jdkVersion}</source>
51+
<target>${jdkVersion}</target>
52+
</configuration>
53+
</plugin>
2654

27-
<!-- ======================================================= -->
28-
<!-- Source Attachment -->
29-
<!-- ======================================================= -->
30-
<plugin>
31-
<groupId>org.apache.maven.plugins</groupId>
32-
<artifactId>maven-source-plugin</artifactId>
33-
</plugin>
55+
<!-- ======================================================= -->
56+
<!-- Source Attachment -->
57+
<!-- ======================================================= -->
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-source-plugin</artifactId>
61+
</plugin>
3462

35-
<!-- ======================================================= -->
36-
<!-- JavaDoc Attachment -->
37-
<!-- ======================================================= -->
38-
<plugin>
39-
<groupId>org.apache.maven.plugins</groupId>
40-
<artifactId>maven-javadoc-plugin</artifactId>
41-
</plugin>
42-
</plugins>
43-
</build>
63+
<!-- ======================================================= -->
64+
<!-- JavaDoc Attachment -->
65+
<!-- ======================================================= -->
66+
<plugin>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-javadoc-plugin</artifactId>
69+
</plugin>
70+
</plugins>
71+
</build>
72+
<url>https://github.com/unitsofmeasurement/uom-domain/tree/master/health</url>
4473
</project>

health/health/pom.xml

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>tech.uom.domain</groupId>
66
<artifactId>uom-health-parent</artifactId>
7-
<version>2.0-SNAPSHOT</version>
7+
<version>2.0</version>
88
</parent>
99
<artifactId>uom-health</artifactId>
1010
<name>Units of Measurement Health Module</name>
11-
<description>Units of Measurement Health Module for RI</description>
11+
<description>Units of Measurement Health Module</description>
1212

1313
<!-- ======================================================= -->
1414
<!-- Build Settings -->
@@ -20,6 +20,33 @@
2020
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
2121
</properties>
2222

23+
<licenses>
24+
<license>
25+
<name>BSD 3-Clause</name>
26+
<url>LICENSE</url>
27+
</license>
28+
</licenses>
29+
<scm>
30+
<connection>scm:git:https://github.com/unitsofmeasurement/uom-domain.git</connection>
31+
<developerConnection>scm:git:https://github.com/unitsofmeasurement/uom-domain.git</developerConnection>
32+
<url>https://github.com/unitsofmeasurement/uom-domain.git</url>
33+
</scm>
34+
<developers>
35+
<developer>
36+
<id>keilw</id>
37+
<name>Werner Keil</name>
38+
<email>werner@catmedia.us</email>
39+
<organization>Creative Arts &amp; Technologies</organization>
40+
<organizationUrl>http://www.catmedia.us</organizationUrl>
41+
<timezone>+1</timezone>
42+
<roles>
43+
<role>Architect</role>
44+
<role>Java Developer</role>
45+
<role>Spec Lead</role>
46+
</roles>
47+
</developer>
48+
</developers>
49+
2350
<dependencies>
2451
<dependency>
2552
<groupId>javax.measure</groupId>
@@ -68,4 +95,31 @@
6895
</plugin>
6996
</plugins>
7097
</build>
98+
99+
<!-- Additional repositories -->
100+
<!-- Helps to resolve Parent POM and Snapshot artifacts -->
101+
<repositories>
102+
<repository>
103+
<snapshots>
104+
<enabled>false</enabled>
105+
</snapshots>
106+
<id>bintray-release</id>
107+
<name>libs-release</name>
108+
<url>https://oss.jfrog.org/artifactory/libs-release</url>
109+
</repository>
110+
<repository>
111+
<snapshots>
112+
<enabled>true</enabled>
113+
</snapshots>
114+
<id>bintray-snapshot</id>
115+
<name>libs-snapshot</name>
116+
<url>https://oss.jfrog.org/artifactory/libs-snapshot</url>
117+
</repository>
118+
<repository>
119+
<id>jcenter</id>
120+
<name>JCenter</name>
121+
<url>https://jcenter.bintray.com</url>
122+
</repository>
123+
</repositories>
124+
<url>https://github.com/unitsofmeasurement/uom-domain/tree/master/health</url>
71125
</project>

health/pom.xml

Lines changed: 62 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,63 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
4-
<parent>
5-
<groupId>tech.uom.domain</groupId>
6-
<artifactId>uom-domain</artifactId>
7-
<version>2.0-SNAPSHOT</version>
8-
</parent>
9-
<artifactId>uom-health-parent</artifactId>
10-
<packaging>pom</packaging>
11-
<name>Units of Measurement Health Specific Modules</name>
12-
<modules>
13-
<module>health-api</module>
14-
<module>health</module>
15-
</modules>
16-
17-
<dependencyManagement>
18-
<dependencies>
19-
<dependency>
20-
<groupId>tech.units</groupId>
21-
<artifactId>indriya</artifactId>
22-
<version>${ri.version}</version>
23-
</dependency>
24-
<dependency>
25-
<groupId>tech.uom.domain</groupId>
26-
<artifactId>uom-health-api</artifactId>
27-
<version>${health.version}</version>
28-
</dependency>
29-
</dependencies>
30-
</dependencyManagement>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<artifactId>uom-health-parent</artifactId>
8+
<packaging>pom</packaging>
9+
10+
<name>Units of Measurement Health Parent</name>
11+
<description>A parent for Units of Measurement Health</description>
12+
<url>https://github.com/unitsofmeasurement/uom-domain/tree/master/health</url>
13+
14+
<licenses>
15+
<license>
16+
<name>BSD 3-Clause</name>
17+
<url>LICENSE</url>
18+
</license>
19+
</licenses>
20+
21+
<developers>
22+
<developer>
23+
<id>keilw</id>
24+
<name>Werner Keil</name>
25+
<email>werner@catmedia.us</email>
26+
<organization>Creative Arts &amp; Technologies</organization>
27+
<organizationUrl>http://www.catmedia.us</organizationUrl>
28+
<timezone>+1</timezone>
29+
<roles>
30+
<role>Architect</role>
31+
<role>Java Developer</role>
32+
<role>Spec Lead</role>
33+
</roles>
34+
</developer>
35+
</developers>
36+
37+
<scm>
38+
<connection>scm:git:git://https://github.com/unitsofmeasurement/uom-domain.git</connection>
39+
<developerConnection>scm:git:ssh://github.com/unitsofmeasurement/uom-domain.git</developerConnection>
40+
<url>http://github.com/unitsofmeasurement/uom-domain/tree/master</url>
41+
</scm>
42+
43+
<modules>
44+
<module>health-api</module>
45+
<module>health</module>
46+
</modules>
47+
48+
<parent>
49+
<version>2.0</version>
50+
<groupId>tech.uom.domain</groupId>
51+
<artifactId>uom-domain</artifactId>
52+
</parent>
53+
54+
<dependencyManagement>
55+
<dependencies>
56+
<dependency>
57+
<groupId>tech.uom.domain</groupId>
58+
<artifactId>uom-health-api</artifactId>
59+
<version>2.0</version>
60+
</dependency>
61+
</dependencies>
62+
</dependencyManagement>
3163
</project>

imaging/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>tech.uom.domain</groupId>
77
<artifactId>uom-domain</artifactId>
8-
<version>2.0-SNAPSHOT</version>
8+
<version>2.0</version>
99
</parent>
1010
<artifactId>uom-imaging</artifactId>
1111
<name>Units of Measurement for Imaging</name>
@@ -38,12 +38,12 @@
3838
<dependency>
3939
<groupId>systems.uom</groupId>
4040
<artifactId>systems-quantity</artifactId>
41-
<version>2.0.1</version>
41+
<version>2.0.2</version>
4242
</dependency>
4343
<dependency>
4444
<groupId>systems.uom</groupId>
4545
<artifactId>systems-unicode</artifactId>
46-
<version>2.0.1</version>
46+
<version>2.0.2</version>
4747
</dependency>
4848

4949
<dependency>

pom.xml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<artifactId>uom-domain</artifactId>
1212
<packaging>pom</packaging>
1313
<name>Units of Measurement Domain Specific Modules</name>
14-
<version>2.0-SNAPSHOT</version>
14+
<version>2.0</version>
1515
<modules>
1616
<module>energy</module>
1717
<module>health</module>
@@ -28,13 +28,36 @@
2828
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
2929
<ri.version>2.0.3</ri.version>
3030
<lib.version>2.0</lib.version>
31-
<health.version>2.0-SNAPSHOT</health.version>
31+
<health.version>2.0</health.version>
3232

3333
<!-- Test settings -->
3434
<hamcrest.version>2.2</hamcrest.version>
3535
<junit.platform.version>1.2.0</junit.platform.version>
3636
</properties>
3737

38+
<!-- Developers and Contributors -->
39+
<developers>
40+
<developer>
41+
<id>keilw</id>
42+
<name>Werner Keil</name>
43+
<email>werner@catmedia.us</email>
44+
<organization>Creative Arts &amp; Technologies</organization>
45+
<organizationUrl>http://www.catmedia.us</organizationUrl>
46+
<timezone>+1</timezone>
47+
<roles>
48+
<role>Architect</role>
49+
<role>Java Developer</role>
50+
<role>Spec Lead</role>
51+
</roles>
52+
</developer>
53+
</developers>
54+
55+
<scm>
56+
<connection>scm:git:git://https://github.com/unitsofmeasurement/uom-domain.git</connection>
57+
<developerConnection>scm:git:ssh://github.com/unitsofmeasurement/uom-domain.git</developerConnection>
58+
<url>http://github.com/unitsofmeasurement/uom-domain/tree/master</url>
59+
</scm>
60+
3861
<dependencyManagement>
3962
<dependencies>
4063
<dependency>

retail/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>tech.uom.domain</groupId>
77
<artifactId>uom-domain</artifactId>
8-
<version>2.0-SNAPSHOT</version>
8+
<version>2.0</version>
99
</parent>
1010
<artifactId>uom-retail-quantity</artifactId>
1111
<name>Units of Measurement Retail Quantities</name>

0 commit comments

Comments
 (0)