-
Notifications
You must be signed in to change notification settings - Fork 563
/
pom.xml
96 lines (94 loc) · 3.41 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
<?xml version="1.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/maven-v4_0_0.xsd">
<parent>
<groupId>org.opennms</groupId>
<artifactId>org.opennms.core</artifactId>
<version>1.13.3-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.opennms.core</groupId>
<artifactId>org.opennms.core.soa</artifactId>
<packaging>bundle</packaging>
<name>OpenNMS Core Service Registry</name>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.opennms.dependencies</groupId>
<artifactId>spring-dependencies</artifactId>
<scope>provided</scope>
<optional>true</optional>
<type>pom</type>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.opennms.dependencies</groupId>
<artifactId>spring-test-dependencies</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<!--
We need to use DynamicImport-Package because we will be exposing service interfaces
that we have no compile-time knowledge of.
@see http://wiki.osgi.org/wiki/DynamicImport-Package
-->
<DynamicImport-Package>*</DynamicImport-Package>
<Export-Package>org.opennms.core.soa.*;version="${project.version}"</Export-Package>
<!-- Launch the Spring context when this bundle is loaded in OSGi -->
<Spring-Context>
META-INF/opennms/applicationContext-soa.xml,
META-INF/opennms/applicationContext-soa-osgi.xml
</Spring-Context>
<!-- Launch a BundleActivator that will synchronize services between OSGi and the OnmSGi registry -->
<Bundle-Activator>org.opennms.core.soa.support.OnmsOSGiBridgeActivator</Bundle-Activator>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<descriptors>
<descriptor>src/assembly/xsds.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>