-
Notifications
You must be signed in to change notification settings - Fork 19
/
module-pom-template.xml
69 lines (64 loc) · 2.76 KB
/
module-pom-template.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
<?xml version="1.0" encoding="UTF-8"?>
<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">
<parent>
<artifactId>idesktop.cross</artifactId>
<groupId>com.supermap.idesktop.cross</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<!--
***************************************************************
********在此处填写你的模块名称,由 IDE 新建的 Maven 工程会自动填写。********
***************************************************************
-->
<artifactId>Your Module Name</artifactId>
<packaging>jar</packaging>
<!--
Core、Control 为 SuperMap iDesktop Cross 的核心库,为必填依赖。
iDesktop 为 OSGI 框架核心库提供者,为必填依赖。这三个依赖必须保留,禁止修改。
-->
<dependencies>
<dependency>
<groupId>com.supermap.idesktop.cross</groupId>
<artifactId>iDesktop</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.supermap.idesktop.cross</groupId>
<artifactId>Core</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.supermap.idesktop.cross</groupId>
<artifactId>Controls</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<!--
***************************************************
********在此处填写 OSGI 插件工程必须的 Activator 类。********
***************************************************
-->
<Bundle-Activator>yourPackage.yourActivator</Bundle-Activator>
<!--
此处配置的是 OSGI bundle 间的运行时依赖,Core、Control 为 SuperMap iDesktop Cross 的核心库,为必填依赖。
-->
<Require-Bundle>${project.groupId}.Core,${project.groupId}.Controls</Require-Bundle>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>