-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
120 lines (100 loc) · 3.92 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of JEMMA - http://jemma.energy-home.org
(C) Copyright 2013 Telecom Italia (http://www.telecomitalia.it)
JEMMA is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License (LGPL) version 3
or later as published by the Free Software Foundation, which accompanies
this distribution and is available at http://www.gnu.org/licenses/lgpl.html
JEMMA is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License (LGPL) for more details.
-->
<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>
<groupId>org.energy-home</groupId>
<artifactId>jemma.osgi.ah.webui.base</artifactId>
<packaging>bundle</packaging>
<version>2.0.14</version>
<name>Web UI Base</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Internal dependencies version properties -->
<!-- External dependencies version properties -->
<org.osgi.compendium.version>4.2.0</org.osgi.compendium.version>
<org.osgi.core.version>4.2.0</org.osgi.core.version>
<!-- Maven plugin version properties -->
<felix.bundle.plugin.version>2.5.3</felix.bundle.plugin.version>
</properties>
<build>
<resources>
<resource>
<directory>.</directory>
<includes>
<include>OSGI-INF/**</include>
</includes>
</resource>
<resource>
<directory>./src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${felix.bundle.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<supportedProjectTypes>
<supportedProjectType>jar</supportedProjectType>
<supportedProjectType>bundle</supportedProjectType>
<supportedProjectType>war</supportedProjectType>
</supportedProjectTypes>
<manifestLocation>META-INF</manifestLocation>
<instructions>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-Name>${project.name}</Bundle-Name>
<Bundle-SymbolicName>${project.artifactId};singleton:=true</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Import-Package>org.osgi.service.http,*
</Import-Package>
<Export-Package>!*
</Export-Package>
<Service-Component>OSGI-INF/*.xml</Service-Component>
<Bundle-Vendor>Telecom Italia</Bundle-Vendor>
<Bundle-Category>JEMMA Automation@home, GUI</Bundle-Category>
<Bundle-RequiredExecutionEnvironment>OSGi/Minimum-1.2, J2SE-1.3, CDC-1.1/Foundation-1.1</Bundle-RequiredExecutionEnvironment>
<Bundle-Classpath>.</Bundle-Classpath>
</instructions>
</configuration>
</plugin>
<!-- to launch: mvn java-formatter:format -->
<plugin>
<groupId>com.googlecode.maven-java-formatter-plugin</groupId>
<artifactId>maven-java-formatter-plugin</artifactId>
<version>0.4</version>
<configuration>
<configFile>${project.basedir}/src/main/resources/formatter.xml</configFile>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<version>${org.osgi.compendium.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>${org.osgi.core.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>