| 945 |
nkef |
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
3 |
|
|
|
4 |
<!-- =========================================================== -->
|
|
|
5 |
<!-- Basics -->
|
|
|
6 |
<!-- =========================================================== -->
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
<modelVersion>4.0.0</modelVersion>
|
|
|
10 |
<groupId>org.ow2.aspirerfid</groupId>
|
|
|
11 |
<artifactId>ale.core</artifactId>
|
|
|
12 |
<version>0.0.1</version>
|
|
|
13 |
<packaging>bundle</packaging>
|
|
|
14 |
<name>ALE-Core</name>
|
|
|
15 |
<description>AspireRFID ALE Core module</description>
|
|
|
16 |
<url>http://wiki.aspire.ow2.org/</url>
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
<!-- =========================================================== -->
|
|
|
20 |
<!-- Properties -->
|
|
|
21 |
<!-- =========================================================== -->
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
<properties>
|
|
|
25 |
<fosstrakTDT.version>0.9.0</fosstrakTDT.version>
|
| 969 |
nkef |
26 |
<bundle.import.package>org.osgi.framework, org.ow2.aspirerfid.commons.*, javax.ws.*, *;resolution:=optional</bundle.import.package><!-- org.osgi.framework,
|
| 945 |
nkef |
27 |
*;resolution:=optional,org.ow2.aspirerfid.commons.* -->
|
|
|
28 |
<bundle.private.package>org.ow2.aspirerfid.ale.core.impl</bundle.private.package>
|
| 969 |
nkef |
29 |
<bundle.export.package>org.ow2.aspirerfid.commons.ale.wsdl.ale</bundle.export.package> <!-- It is required to export the package where the Web Service I/F resides (,org.ow2.aspirerfid.commons.ale.wsdl.ale)-->
|
| 963 |
nkef |
30 |
<aspirerfid.utils.commons.version>0.0.6</aspirerfid.utils.commons.version>
|
| 968 |
nkef |
31 |
<aspirerfid.ale.bundle.activator>org.ow2.aspirerfid.ale.core.Activator</aspirerfid.ale.bundle.activator>
|
| 945 |
nkef |
32 |
</properties>
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
<!-- =========================================================== -->
|
|
|
37 |
<!-- Parent -->
|
|
|
38 |
<!-- =========================================================== -->
|
|
|
39 |
|
|
|
40 |
<parent>
|
|
|
41 |
<artifactId>ale</artifactId>
|
|
|
42 |
<groupId>org.ow2.aspirerfid</groupId>
|
|
|
43 |
<version>0.0.1</version>
|
|
|
44 |
</parent>
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
<!-- =========================================================== -->
|
|
|
48 |
<!-- Dependencies -->
|
|
|
49 |
<!-- =========================================================== -->
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
<dependencies>
|
|
|
53 |
<!-- (Not required so far)
|
|
|
54 |
<dependency>
|
|
|
55 |
<groupId>org.apache.felix</groupId>
|
|
|
56 |
<artifactId>org.apache.felix.framework</artifactId>
|
|
|
57 |
<version>2.0.4</version>
|
|
|
58 |
</dependency>
|
|
|
59 |
-->
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
<!-- ======== CXF (single bundle distribution) Distributed OSGi Dependencies (currently used)========== -->
|
|
|
63 |
<!--
|
|
|
64 |
<dependency>
|
|
|
65 |
<groupId>org.apache.cxf.dosgi</groupId>
|
|
|
66 |
<artifactId>cxf-dosgi-ri-singlebundle-distribution</artifactId>
|
| 957 |
nkef |
67 |
<version>1.4-SNAPSHOT</version>
|
| 945 |
nkef |
68 |
</dependency>
|
|
|
69 |
-->
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
<!-- ======== CXF (multi bundle distribution) Distributed OSGi Dependencies (for future use)========== -->
|
|
|
74 |
<!--
|
|
|
75 |
<dependency>
|
|
|
76 |
<groupId>org.apache.cxf</groupId>
|
|
|
77 |
<artifactId>cxf-bundle-minimal</artifactId>
|
|
|
78 |
<version>2.5.2</version>
|
|
|
79 |
<type>bundle</type>
|
|
|
80 |
</dependency>
|
|
|
81 |
|
|
|
82 |
<dependency>
|
|
|
83 |
<groupId>org.apache.cxf.dosgi</groupId>
|
|
|
84 |
<artifactId>cxf-dosgi-ri-discovery-local</artifactId>
|
|
|
85 |
<version>1.3</version>
|
|
|
86 |
<type>bundle</type>
|
|
|
87 |
<scope>compile</scope>
|
|
|
88 |
</dependency>
|
|
|
89 |
<dependency>
|
|
|
90 |
<groupId>org.apache.cxf.dosgi</groupId>
|
|
|
91 |
<artifactId>cxf-dosgi-ri-dsw-cxf</artifactId>
|
|
|
92 |
<version>1.3</version>
|
|
|
93 |
<type>bundle</type>
|
|
|
94 |
<scope>compile</scope>
|
|
|
95 |
</dependency>
|
|
|
96 |
-->
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
<!-- ======== Fosstrak Dependencies ========== -->
|
| 968 |
nkef |
101 |
|
| 945 |
nkef |
102 |
<dependency>
|
|
|
103 |
<groupId>org.fosstrak.tdt</groupId>
|
|
|
104 |
<artifactId>tdt</artifactId>
|
|
|
105 |
<version>${fosstrakTDT.version}</version>
|
|
|
106 |
</dependency>
|
| 968 |
nkef |
107 |
|
| 945 |
nkef |
108 |
<!-- ======== ASPIRE Dependencies ========== -->
|
|
|
109 |
|
|
|
110 |
<dependency>
|
|
|
111 |
<groupId>org.ow2.aspirerfid</groupId>
|
|
|
112 |
<artifactId>utils.commons</artifactId>
|
| 963 |
nkef |
113 |
<version>${aspirerfid.utils.commons.version}</version>
|
| 945 |
nkef |
114 |
<type>bundle</type>
|
|
|
115 |
</dependency>
|
|
|
116 |
|
|
|
117 |
<!-- ======== Felix Dependencies ========== -->
|
|
|
118 |
<dependency>
|
|
|
119 |
<groupId>org.apache.felix</groupId>
|
|
|
120 |
<artifactId>org.apache.felix.framework</artifactId>
|
|
|
121 |
<version>${felix.version}</version>
|
|
|
122 |
<exclusions>
|
|
|
123 |
<exclusion>
|
|
|
124 |
<groupId>org.apache.felix</groupId>
|
|
|
125 |
<artifactId>org.osgi.foundation</artifactId>
|
|
|
126 |
</exclusion>
|
|
|
127 |
</exclusions>
|
|
|
128 |
</dependency>
|
|
|
129 |
|
|
|
130 |
|
|
|
131 |
<!--
|
|
|
132 |
<dependency>
|
|
|
133 |
<groupId>org.apache.felix</groupId>
|
|
|
134 |
<artifactId>org.apache.felix.eventadmin</artifactId>
|
|
|
135 |
<version>1.2.8</version>
|
|
|
136 |
<type>bundle</type>
|
|
|
137 |
</dependency>
|
|
|
138 |
-->
|
|
|
139 |
|
|
|
140 |
<!-- ================ Other =============== -->
|
|
|
141 |
|
| 968 |
nkef |
142 |
|
| 945 |
nkef |
143 |
<dependency>
|
|
|
144 |
<groupId>org.osgi</groupId>
|
|
|
145 |
<artifactId>org.osgi.compendium</artifactId>
|
|
|
146 |
<version>4.2.0</version>
|
|
|
147 |
<scope>test</scope>
|
|
|
148 |
</dependency>
|
|
|
149 |
|
| 968 |
nkef |
150 |
|
| 963 |
nkef |
151 |
<!--
|
| 945 |
nkef |
152 |
<dependency>
|
|
|
153 |
<groupId>org.apache.felix</groupId>
|
|
|
154 |
<artifactId>org.osgi.compendium</artifactId>
|
|
|
155 |
<version>1.2.0</version>
|
|
|
156 |
<type>bundle</type>
|
|
|
157 |
</dependency>
|
|
|
158 |
|
| 963 |
nkef |
159 |
-->
|
| 945 |
nkef |
160 |
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
<!--
|
|
|
164 |
<dependency>
|
|
|
165 |
<groupId>org.slf4j</groupId>
|
|
|
166 |
<artifactId>slf4j-api</artifactId>
|
|
|
167 |
<version>[1.5.10,1.5.9]</version>
|
|
|
168 |
</dependency>
|
|
|
169 |
|
|
|
170 |
<dependency>
|
|
|
171 |
<groupId>org.slf4j</groupId>
|
|
|
172 |
<artifactId>com.springsource.slf4j.api</artifactId>
|
|
|
173 |
<version>1.6.1</version>
|
|
|
174 |
</dependency>
|
|
|
175 |
|
|
|
176 |
<dependency>
|
|
|
177 |
<groupId>org.slf4j</groupId>
|
|
|
178 |
<artifactId>com.springsource.slf4j.nop</artifactId>
|
|
|
179 |
<version>1.6.1</version>
|
|
|
180 |
</dependency>
|
|
|
181 |
-->
|
| 963 |
nkef |
182 |
|
|
|
183 |
|
| 945 |
nkef |
184 |
<dependency>
|
|
|
185 |
<groupId>ch.qos.logback</groupId>
|
|
|
186 |
<artifactId>com.springsource.ch.qos.logback.classic</artifactId>
|
|
|
187 |
<version>0.9.24</version>
|
|
|
188 |
</dependency>
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
<!--
|
|
|
192 |
<dependency>
|
|
|
193 |
<groupId>ch.qos.logback</groupId>
|
|
|
194 |
<artifactId>logback-classic</artifactId>
|
|
|
195 |
<version>0.9.27</version>
|
|
|
196 |
</dependency>
|
|
|
197 |
-->
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
</dependencies>
|
|
|
201 |
|
|
|
202 |
|
|
|
203 |
|
|
|
204 |
<!-- =========================================================== -->
|
|
|
205 |
<!-- Plugins -->
|
|
|
206 |
<!-- =========================================================== -->
|
|
|
207 |
|
|
|
208 |
<build>
|
|
|
209 |
<plugins>
|
|
|
210 |
<plugin>
|
|
|
211 |
<groupId>org.apache.felix</groupId>
|
|
|
212 |
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
213 |
<version>${felix.plugin.version}</version>
|
|
|
214 |
<extensions>true</extensions>
|
|
|
215 |
<configuration>
|
|
|
216 |
<instructions>
|
|
|
217 |
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
|
|
|
218 |
<Bundle-Name>${project.artifactId}</Bundle-Name>
|
|
|
219 |
<Bundle-Description>${project.description}</Bundle-Description>
|
|
|
220 |
<Bundle-Version>${project.version}</Bundle-Version>
|
| 968 |
nkef |
221 |
<Bundle-Activator>${aspirerfid.ale.bundle.activator}</Bundle-Activator>
|
| 969 |
nkef |
222 |
<!--
|
| 945 |
nkef |
223 |
<Private-Package>${bundle.private.package}</Private-Package>
|
| 969 |
nkef |
224 |
-->
|
| 945 |
nkef |
225 |
<Import-Package>${bundle.import.package}</Import-Package>
|
|
|
226 |
<Export-Package>${bundle.export.package}</Export-Package>
|
| 963 |
nkef |
227 |
|
| 969 |
nkef |
228 |
<DynamicImport-Package>org.apache.cxf</DynamicImport-Package> <!-- optional packages (equivalent to *;resolution:=optional) -->
|
| 945 |
nkef |
229 |
|
|
|
230 |
<!-- embed all compile and runtime scope dependencies -->
|
| 969 |
nkef |
231 |
<!--
|
| 945 |
nkef |
232 |
<Embed-Dependency>tdt;scope=compile|runtime;inline=false;artifactId=!org.osgi.core|maven-bundle-plugin|maven-junit4osgi-plugin|commons|org.apache.felix.framework</Embed-Dependency>
|
| 969 |
nkef |
233 |
-->
|
| 968 |
nkef |
234 |
|
| 945 |
nkef |
235 |
<!-- (for future use embed the CXF single bundle distribution) cxf-bundle-minimal|cxf-dosgi-ri-discovery-local|cxf-dosgi-ri-dsw-cxf -->
|
| 969 |
nkef |
236 |
<Embed-Dependency>*;scope=compile|runtime;inline=false;artifactId=!org.osgi.core|maven-bundle-plugin|maven-junit4osgi-plugin|commons|org.apache.felix.framework|com.springsource.ch.qos.logback.classic|utils.commons</Embed-Dependency>
|
|
|
237 |
|
| 963 |
nkef |
238 |
<!--<Embed-Dependency>utils.commons;scope=compile|runtime</Embed-Dependency> -->
|
|
|
239 |
|
|
|
240 |
<!--<Include-Resource>utils.commons-${aspirerfid.utils.commons.version}.jar!epcglobal/ale/**</Include-Resource>-->
|
| 945 |
nkef |
241 |
<!-- <Include-Resource> @tdt-${fosstrakTDT.version}.jar!/auxiliary/**,@tdt-${fosstrakTDT.version}.jar!/schemes/**
|
|
|
242 |
</Include-Resource> -->
|
|
|
243 |
|
|
|
244 |
<!-- Package definition examples
|
|
|
245 |
org.wso2.mbp.echo org.wso2.mbp.echo.*
|
|
|
246 |
!org.wso2.mbp.echo.string,org.wso2.mbp.echo.* (correct)
|
|
|
247 |
org.wso2.mbp.echo.*,!org.wso2.mbp.echo.string (wrong)
|
|
|
248 |
======================================================
|
|
|
249 |
<Private-Package>org.wso2.mbp.exportsample.internal.*</Private-Package>
|
|
|
250 |
<Export-Package> !org.wso2.mbp.exportsample.internal, org.wso2.mbp.exportsample.*
|
|
|
251 |
</Export-Package>
|
|
|
252 |
======================================================
|
|
|
253 |
<Import-Package> org.osgi.framework, *;resolution:=optional </Import-Package>
|
|
|
254 |
======================Versioning Packages==================
|
|
|
255 |
<Export-Package>org.wso2.mbp.exportsample;version="1.0.0"</Export-Package>
|
|
|
256 |
<Import-Package>org.wso2.mbp.exportsample.*;version="[1.0.0, 2.0.0)"</Import-Package>
|
|
|
257 |
==========================================================
|
|
|
258 |
<Include-Resource>@ode-bpel-schemas-3.5.4.jar!/schemaorg_apache_xmlbeans/**,
|
|
|
259 |
</Include-Resource>
|
|
|
260 |
=============================================================
|
|
|
261 |
<Include-Resource>src/main/resources/**</Include-Resource>
|
|
|
262 |
=======================================================
|
|
|
263 |
embed all compile and runtime scope dependencies
|
|
|
264 |
<Embed-Dependency>*;scope=compile|runtime;inline=false</Embed-Dependency> -->
|
|
|
265 |
|
|
|
266 |
|
|
|
267 |
</instructions>
|
|
|
268 |
</configuration>
|
|
|
269 |
</plugin>
|
|
|
270 |
|
| 968 |
nkef |
271 |
|
| 945 |
nkef |
272 |
<plugin>
|
|
|
273 |
<groupId>org.apache.maven.plugins</groupId>
|
|
|
274 |
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
275 |
<executions>
|
|
|
276 |
<execution>
|
|
|
277 |
<id>copy-dependencies</id>
|
|
|
278 |
<phase>package</phase>
|
|
|
279 |
<goals>
|
|
|
280 |
<goal>copy-dependencies</goal>
|
|
|
281 |
</goals>
|
|
|
282 |
<configuration>
|
|
|
283 |
<artifactItems>
|
|
|
284 |
<artifactItem>
|
|
|
285 |
<groupId>org.apache.felix</groupId>
|
|
|
286 |
<artifactId>org.osgi.compendium</artifactId>
|
|
|
287 |
<version>1.2.0</version>
|
|
|
288 |
<type>jar</type>
|
|
|
289 |
<outputDirectory>target/deps</outputDirectory>
|
|
|
290 |
</artifactItem>
|
|
|
291 |
</artifactItems>
|
|
|
292 |
</configuration>
|
|
|
293 |
</execution>
|
|
|
294 |
</executions>
|
|
|
295 |
</plugin>
|
| 968 |
nkef |
296 |
|
| 945 |
nkef |
297 |
<!--
|
|
|
298 |
<plugin>
|
|
|
299 |
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
300 |
<executions>
|
|
|
301 |
<execution>
|
|
|
302 |
<id>copy-dependencies</id>
|
|
|
303 |
<phase>package</phase>
|
|
|
304 |
<goals>
|
|
|
305 |
<goal>copy-dependencies</goal>
|
|
|
306 |
</goals>
|
|
|
307 |
</execution>
|
|
|
308 |
</executions>
|
|
|
309 |
</plugin>
|
|
|
310 |
-->
|
|
|
311 |
|
|
|
312 |
<!--
|
|
|
313 |
<plugin>
|
|
|
314 |
<groupId>org.apache.maven.plugins</groupId>
|
|
|
315 |
<artifactId>maven-resources-plugin</artifactId>
|
|
|
316 |
<version>2.4.2</version>
|
|
|
317 |
</plugin>
|
|
|
318 |
-->
|
|
|
319 |
|
|
|
320 |
|
|
|
321 |
|
|
|
322 |
</plugins>
|
|
|
323 |
|
|
|
324 |
<!-- ===== M2E plugin execution not covered (http://wiki.eclipse.org/M2E_plugin_execution_not_covered)
|
|
|
325 |
Ignore the "maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported
|
|
|
326 |
by m2e" Error ====== -->
|
|
|
327 |
<pluginManagement>
|
|
|
328 |
<plugins>
|
|
|
329 |
<plugin>
|
|
|
330 |
<groupId>org.eclipse.m2e</groupId>
|
|
|
331 |
<artifactId>lifecycle-mapping</artifactId>
|
|
|
332 |
<version>1.0.0</version>
|
|
|
333 |
<configuration>
|
|
|
334 |
<lifecycleMappingMetadata>
|
|
|
335 |
<pluginExecutions>
|
|
|
336 |
<pluginExecution>
|
|
|
337 |
<pluginExecutionFilter>
|
|
|
338 |
<groupId>org.apache.maven.plugins</groupId>
|
|
|
339 |
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
340 |
<versionRange>[2.0,)</versionRange>
|
|
|
341 |
<goals>
|
|
|
342 |
<goal>copy-dependencies</goal>
|
|
|
343 |
</goals>
|
|
|
344 |
</pluginExecutionFilter>
|
|
|
345 |
<action>
|
|
|
346 |
<ignore />
|
|
|
347 |
</action>
|
|
|
348 |
</pluginExecution>
|
|
|
349 |
</pluginExecutions>
|
|
|
350 |
</lifecycleMappingMetadata>
|
|
|
351 |
</configuration>
|
|
|
352 |
</plugin>
|
|
|
353 |
</plugins>
|
|
|
354 |
</pluginManagement>
|
| 968 |
nkef |
355 |
|
| 945 |
nkef |
356 |
</build>
|
|
|
357 |
|
|
|
358 |
|
|
|
359 |
</project>
|