-
Notifications
You must be signed in to change notification settings - Fork 143
/
pom.xml
130 lines (116 loc) · 6.05 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2022 Contributors to Eclipse Foundation.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<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>
<parent>
<groupId>org.glassfish.main.microprofile</groupId>
<artifactId>microprofile-parent</artifactId>
<version>7.0.13-SNAPSHOT</version>
</parent>
<artifactId>microprofile-config</artifactId>
<packaging>glassfish-jar</packaging>
<name>GlassFish MicroProfile Config</name>
<dependencies>
<!-- APIs -->
<dependency>
<groupId>io.helidon.microprofile.config</groupId>
<artifactId>helidon-microprofile-config</artifactId>
</dependency>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
</dependency>
<!-- Internal Dependencies -->
<dependency>
<groupId>org.glassfish.main.common</groupId>
<artifactId>glassfish-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.main.common</groupId>
<artifactId>internal-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.main.web</groupId>
<artifactId>weld-integration</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<supportedProjectTypes>
<supportedProjectType>glassfish-jar</supportedProjectType>
</supportedProjectTypes>
<instructions>
<!-- A list of packages that are exposed to classes outside the bundle -->
<Export-Package>
org.glassfish.microprofile.config,
io.helidon.config.mp,
io.helidon.config,
</Export-Package>
<!-- A list of dependencies to include in the bundle (as they're not native OSGI bundles) -->
<Embed-Dependency>
<!--
The helidon MP config dependency tree, illustrating what we actually output to the GF bundle
-->
groupId=io.helidon.microprofile.config,
groupId=io.helidon.config;artifactId=helidon-config-mp,
groupId=io.helidon.common;artifactId=helidon-common,
groupId=io.helidon.common;artifactId=helidon-common-service-loader,
groupId=io.helidon.config;artifactId=helidon-config-yaml-mp,
groupId=io.helidon.config;artifactId=helidon-config,
<!--
groupId=io.helidon.common;artifactId=helidon-common-reactive,
groupId=io.helidon.common;artifactId=helidon-common-mapper, -->
groupId=io.helidon.common;artifactId=helidon-common-media-type,
groupId=io.helidon.config;artifactId=helidon-config-yaml,
artifactId=snakeyaml,
<!--
groupId=io.helidon.config;artifactId=helidon-config-encryption,
groupId=io.helidon.common;artifactId=helidon-common-key-util,
groupId=io.helidon.common;artifactId=helidon-common-configurable,
groupId=io.helidon.common;artifactId=helidon-common-context,
groupId=io.helidon.common;artifactId=helidon-common-crypto,
groupId=io.helidon.config;artifactId=helidon-config-object-mapping, -->
</Embed-Dependency>
<!--
Include transitive dependencies (note that this only include compile scoped dependencies,
other scoped dependencies still need explicit inclusion)
-->
<Embed-Transitive>true</Embed-Transitive>
<Multi-Release>true</Multi-Release>
<Include-Resource>
{maven-resources},
META-INF/hk2-locator/=target/classes/META-INF/hk2-locator/,
</Include-Resource>
</instructions>
</configuration>
<executions>
<execution>
<id>osgi-bundle</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>