forked from unitsofmeasurement/uom-demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
90 lines (86 loc) · 3 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>uom-web-demos</artifactId>
<name>Units of Measurement Web Demos</name>
<packaging>pom</packaging>
<parent>
<groupId>tech.uom.demo</groupId>
<artifactId>uom-demos</artifactId>
<version>2.0-SNAPSHOT</version>
</parent>
<description>Web-based Demos for Units of Measurement</description>
<modules>
<module>temperature-converter</module>
<module>sparkdemo</module>
<module>vaadindemo</module>
<module>springbootdemo</module>
</modules>
<dependencies>
<dependency>
<groupId>javax.measure</groupId>
<artifactId>unit-api</artifactId>
</dependency>
<dependency>
<groupId>tech.units</groupId>
<artifactId>indriya</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- ======================================================= -->
<!-- Compilation -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${project.build.javaVersion}</source>
<target>${project.build.javaVersion}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<!-- ======================================================= -->
<!-- JAR packaging -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Specification-Title>Units of Measurement Demos</Specification-Title>
<Specification-Version>${project.version}</Specification-Version>
<Specification-Vendor>${project.organization.name}</Specification-Vendor>
<Implementation-Vendor>Unit-API contributors</Implementation-Vendor>
<Implementation-URL>${project.organization.url}</Implementation-URL>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!-- ======================================================= -->
<!-- Packaging (OSGi bundle) -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>tech.uom.demo.health.*</Export-Package>
<Private-Package>!*</Private-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<groupId>tech.uom.demo.web</groupId>
</project>