forked from unitsofmeasurement/uom-demos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
76 lines (73 loc) · 2.69 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
<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-console-demos</artifactId>
<packaging>pom</packaging>
<name>Units of Measurement Console Demos</name>
<description>Unit Standard Console based Demos.</description>
<groupId>tech.uom.demo.console</groupId>
<parent>
<groupId>tech.uom.demo</groupId>
<artifactId>uom-demos</artifactId>
<version>2.0-SNAPSHOT</version>
</parent>
<build>
<pluginManagement>
<plugins>
<!-- ======================================================= -->
<!-- Compilation -->
<!-- ======================================================= -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${maven.compile.sourceLevel}</source>
<target>${maven.compile.targetLevel}</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>${project.name}</Specification-Title>
<Specification-Version>${project.version}</Specification-Version>
<Specification-Vendor>${project.organization.name}</Specification-Vendor>
<Implementation-Vendor>Units of Measurement 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.*</Export-Package>
<Private-Package>!*</Private-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<modules>
<module>basic</module>
<module>java8</module>
<module>java10</module>
<module>systems</module>
</modules>
</project>