]> gerrit.simantics Code Review - simantics/platform.git/blob - releng/org.simantics.sdk.build.p2.site/pom.xml
Still try to fix grpc to work with OSGI via ARIES serviceloader
[simantics/platform.git] / releng / org.simantics.sdk.build.p2.site / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001 XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4         <modelVersion>4.0.0</modelVersion>
5
6     <groupId>org.simantics</groupId>
7     <artifactId>org.simantics.sdk.build.p2.site</artifactId>
8     <packaging>pom</packaging>
9     <version>1.30.0</version>
10
11     <properties>
12         <itext.version.actual>2.1.7.b1</itext.version.actual>
13         <antlr.version>3.5.2</antlr.version>
14         <lucene.version>4.9.0</lucene.version>
15         <lucene.version.actual>4.9.0.b0003</lucene.version.actual>
16         <lucene.prefix>org.apache.lucene4</lucene.prefix>
17         <jaxen.version>1.1.6</jaxen.version>
18         <jdom.version>2.0.6</jdom.version>
19         <jdom.version.actual>2.0.6.b0001</jdom.version.actual>
20         <jackson.version>2.8.8</jackson.version>
21         <javax.version>3.1.0</javax.version>
22         <jersey.version>2.25.1</jersey.version>
23         <slf4j.version>1.7.25</slf4j.version>
24         <slf4j.version.actual>1.7.25.b001</slf4j.version.actual>
25         <grpc.version>1.14.0</grpc.version>
26         <grpc.version.actual>1.14.0.b004</grpc.version.actual>
27         <protobuf.version>3.5.1</protobuf.version>
28     </properties>
29
30
31     <repositories>
32         <!--
33         <repository>
34             <id>project-specific-deps</id>
35             <name>project-specific-deps</name>
36             <url>file:///${basedir}/repo</url>
37         </repository>
38         --> 
39     </repositories>
40
41     <build>
42         <plugins>
43             <plugin>
44                 <groupId>org.eclipse.tycho.extras</groupId>
45                 <artifactId>tycho-p2-extras-plugin</artifactId>
46                 <version>1.0.0</version>
47             </plugin>
48             <plugin>
49                 <groupId>org.reficio</groupId>
50                 <artifactId>p2-maven-plugin</artifactId>
51                 <version>1.2.0</version>
52                 <executions>
53                     <execution>
54                         <id>default-cli</id>
55                         <!-- QUICK-START EXAMPLE -->
56                         <!--
57                         This is the default quick-start configuration.
58
59                         Expected behavior:
60                           - specified dependencies will be fetched
61                           - transitive dependencies will be fetched (no default exclusions)
62                           - jars containing source source code will NOT be fetched
63                           - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
64                             if you specify instructions for these jars they will be APPLIED
65                           - jars that are OSGi bundles will be simply included
66                             if you specify instructions for these jars they will be IGNORED (see <override> option)
67                           - p2 site will be generated
68
69                         How the instructions works:
70                           - instructions are applied only to the root artifact that you specify!
71                           - instructions are not applied to the TRANSITIVE dependencies!
72                           - transitive dependencies are never overridden (see <override> option)
73                           - transitive dependencies are bundled using the default instructions:
74                               <instructions>
75                                   <Import-Package>*;resolution:=optional</Import-Package>
76                                   <Export-Package>*</Export-Package>
77                               </instructions>
78                           - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
79                             are calculated according to the following rules:
80                             http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
81                           - if you specify any instructions they will be applied only if
82                             the jar is not already an OSGi bundle - otherwise you have to use the override
83                             option - please see the /examples/override/pom.xml example
84
85                         The following definition of an artifact:
86                             <artifact>
87                                 <id>commons-io:commons-io:2.1</id>
88                             </artifact>
89
90                         is an equivalent of the following definition:
91                             <artifact>
92                                 <id>commons-io:commons-io:2.1</id>
93                                 <transitive>true</transitive>
94                                 <source>false</source>
95                                 <override>false</override>
96                                 <instructions>
97                                     <Import-Package>*;resolution:=optional</Import-Package>
98                                     <Export-Package>*</Export-Package>
99                                 </instructions>
100                                 <excludes/>
101                             </artifact>
102
103                         To run the example please invoke: mvn p2:site
104                         -->
105                         <configuration>
106                             <artifacts>
107                                 <artifact>
108                                     <id>org.antlr:antlr-runtime:${antlr.version}</id>
109                                     <source>true</source>
110                                     <instructions>
111                                         <Bundle-SymbolicName>org.antlr.runtime</Bundle-SymbolicName>
112                                         <Bundle-Version>${antlr.version}</Bundle-Version>
113                                         <Export-Package>*;version="${antlr.version}"</Export-Package>
114                                     </instructions>                                    
115                                 </artifact>
116                                 <artifact>
117                                     <id>org.apache.lucene:lucene-core:${lucene.version}</id>
118                                     <source>true</source>
119                                     <instructions>
120                                         <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
121                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
122                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
123                                     </instructions>
124                                 </artifact>
125                                 <artifact>
126                                     <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
127                                     <source>true</source>
128                                     <instructions>
129                                         <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
130                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
131                                         <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
132                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
133                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
134                                     </instructions>
135                                 </artifact>
136                                 <artifact>
137                                     <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
138                                     <source>true</source>
139                                     <instructions>
140                                         <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
141                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
142                                         <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
143                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
144                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
145                                     </instructions>
146                                 </artifact>
147                                 <artifact>
148                                     <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
149                                     <source>true</source>
150                                     <instructions>
151                                         <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
152                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
153                                         <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
154                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
155                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
156                                     </instructions>
157                                 </artifact>
158                                 <artifact>
159                                     <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
160                                     <source>true</source>
161                                     <instructions>
162                                         <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
163                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
164                                         <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}",${lucene.prefix}.queries;bundle-version="${lucene.version}",${lucene.prefix}.sandbox;bundle-version="${lucene.version}"</Require-Bundle>
165                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
166                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
167                                     </instructions>
168                                 </artifact>
169                                 <artifact>
170                                     <id>jaxen:jaxen:${jaxen.version}</id>
171                                     <source>true</source>
172                                 </artifact>
173                                 <artifact>
174                                     <id>org.jdom:jdom2:${jdom.version}</id>
175                                     <source>true</source>
176                                     <instructions>
177                                         <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
178                                         <Bundle-Version>${jdom.version.actual}</Bundle-Version>
179                                         <Export-Package>*;version="${jdom.version}"</Export-Package>
180                                     </instructions>
181                                 </artifact>
182                                 <artifact>
183                                     <id>org.jfree:jfreechart:1.0.19</id>
184                                     <source>true</source>
185                                     <instructions>
186                                         <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
187                                     </instructions>
188                                 </artifact>
189                                 <!--
190                                 <artifact>
191                                     <id>org.ow2.asm:asm:5.0.4</id>
192                                     <source>true</source>
193                                     <override>true</override>
194                                     <instructions>
195                                         <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
196                                     </instructions>
197                                 </artifact>
198                                 -->
199                                 <artifact>
200                                     <id>net.sf.supercsv:super-csv:2.4.0</id>
201                                     <source>true</source>
202                                     <override>true</override>
203                                     <instructions>
204                                         <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
205                                     </instructions>
206                                 </artifact>
207                                 <artifact>
208                                     <id>org.ini4j:ini4j:0.5.4</id>
209                                     <source>true</source>
210                                 </artifact>
211                                 <artifact>
212                                     <!-- Needed by Apache POI 3.15 -->
213                                     <id>commons-codec:commons-codec:1.10</id>
214                                     <source>true</source>
215                                 </artifact>
216                                 <artifact>
217                                     <id>commons-collections:commons-collections:3.2.2</id>
218                                     <source>true</source>
219                                 </artifact>
220                                 <artifact>
221                                     <!-- Needed by Apache POI 3.15 -->
222                                     <id>org.apache.commons:commons-collections4:4.1</id>
223                                     <source>true</source>
224                                 </artifact>
225                                 <artifact>
226                                     <id>org.apache.commons:commons-compress:1.12</id>
227                                     <source>true</source>
228                                 </artifact>
229                                 <artifact>
230                                     <id>commons-lang:commons-lang:2.6</id>
231                                     <source>true</source>
232                                 </artifact>
233                                 <artifact>
234                                     <!-- Needed by Apache POI 3.15 -->
235                                     <id>commons-logging:commons-logging:1.2</id>
236                                     <source>true</source>
237                                 </artifact>
238                                 <artifact>
239                                     <id>commons-io:commons-io:1.4</id>
240                                     <source>true</source>
241                                 </artifact>
242                                 <artifact>
243                                     <id>org.apache.commons:commons-math3:3.6.1</id>
244                                     <source>true</source>
245                                 </artifact>
246
247                                 <artifact>
248                                     <id>org.apache.pdfbox:pdfbox:2.0.3</id>
249                                     <source>true</source>
250                                 </artifact>
251                                 <artifact>
252                                     <id>org.apache.pdfbox:fontbox:2.0.3</id>
253                                     <source>true</source>
254                                 </artifact>
255                                 <artifact>
256                                     <id>org.apache.pdfbox:xmpbox:2.0.3</id>
257                                     <source>true</source>
258                                 </artifact>
259                                 <artifact>
260                                     <!-- Needed by Apache POI 3.15 -->
261                                     <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
262                                     <source>true</source>
263                                 </artifact>
264                                 <artifact>
265                                     <!-- Needed by Apache POI 3.15 -->
266                                     <id>com.github.virtuald:curvesapi:1.04</id>
267                                     <source>true</source>
268                                 </artifact>
269                                 <artifact>
270                                     <id>log4j:log4j:1.2.17</id>
271                                     <source>true</source>
272                                     <override>true</override>
273                                     <instructions>
274                                         <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
275                                     </instructions>
276                                 </artifact>
277                                 <artifact>
278                                     <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
279                                     <source>true</source>
280                                     <instructions>
281                                         <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
282                                     </instructions>
283                                 </artifact>
284                                 <artifact>
285                                     <id>it.unimi.dsi:fastutil:7.2.1</id>
286                                     <source>true</source>
287                                 </artifact>
288                                 <artifact>
289                                     <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
290                                     <override>true</override>
291                                     <source>true</source>
292                                     <instructions>
293                                         <Export-Package>org.eclipse.collections.*</Export-Package>
294                                     </instructions>
295                                 </artifact>
296                                 <artifact>
297                                     <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
298                                     <source>true</source>
299                                 </artifact>
300                                 <artifact>
301                                     <id>net.sf.trove4j:trove4j:3.0.3</id>
302                                     <source>true</source>
303                                     <instructions>
304                                         <Bundle-Name>GNU Trove 3</Bundle-Name>
305                                         <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
306                                     </instructions>
307                                 </artifact>
308                                 <artifact>
309                                     <id>org.freemarker:freemarker:2.3.23</id>
310                                     <source>true</source>
311                                     <override>true</override>
312                                     <instructions>
313                                         <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
314                                     </instructions>
315                                 </artifact>
316                                 <artifact>
317                                     <id>com.lowagie:itext:2.1.7</id>
318                                     <source>true</source>
319                                     <instructions>
320                                         <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
321                                         <Bundle-Version>${itext.version.actual}</Bundle-Version>
322                                     </instructions>
323                                 </artifact>
324                                 <artifact>
325                                     <id>org.mozilla:rhino:1.7.7.1</id>
326                                     <source>true</source>
327                                 </artifact>
328                                 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
329                                 <artifact>
330                                     <id>net.java.dev.jna:jna:4.1.0</id>
331                                     <source>true</source>
332                                 </artifact>
333                                  <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
334                                 <artifact>
335                                     <id>net.java.dev.jna:jna-platform:4.1.0</id>
336                                     <source>true</source>
337                                 </artifact>
338                                 <artifact>
339                                     <id>net.java.dev.jna:jna:4.3.0</id>
340                                     <source>true</source>
341                                 </artifact>
342                                 <artifact>
343                                     <id>net.java.dev.jna:jna-platform:4.3.0</id>
344                                     <source>true</source>
345                                 </artifact>
346                                 <artifact>
347                                     <id>javax.servlet:javax.servlet-api:${javax.version}</id>
348                                     <source>true</source>
349                                 </artifact>
350                                 <artifact>
351                                     <id>com.fasterxml.jackson.core:jackson-core:${jackson.version}</id>
352                                     <source>true</source>
353                                 </artifact>
354                                 <artifact>
355                                     <id>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}</id>
356                                     <source>true</source>
357                                 </artifact>
358                                 <artifact>
359                                     <id>com.fasterxml.jackson.core:jackson-databind:${jackson.version}</id>
360                                     <source>true</source>
361                                     <excludes>
362                                         <exclude>com.fasterxml.jackson.*</exclude>
363                                     </excludes>
364                                 </artifact>
365                                 <artifact>
366                                     <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson.version}</id>
367                                     <source>true</source>
368                                     <excludes>
369                                         <exclude>com.fasterxml.jackson.*</exclude>
370                                     </excludes>
371                                 </artifact>
372                                 <artifact>
373                                     <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}</id>
374                                     <source>true</source>
375                                     <excludes>
376                                         <exclude>com.fasterxml.jackson.*</exclude>
377                                     </excludes>
378                                 </artifact>
379                                 <artifact>
380                                     <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jackson.version}</id>
381                                     <source>true</source>
382                                     <excludes>
383                                         <exclude>com.fasterxml.jackson.*</exclude>
384                                     </excludes>
385                                 </artifact>
386                                 <artifact>
387                                     <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:${jackson.version}</id>
388                                     <source>true</source>
389                                     <excludes>
390                                         <exclude>com.fasterxml.jackson.*</exclude>
391                                     </excludes>
392                                 </artifact>
393                                 <artifact>
394                                     <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${jackson.version}</id>
395                                     <source>true</source>
396                                     <excludes>
397                                         <exclude>com.fasterxml.jackson.*</exclude>
398                                     </excludes>
399                                 </artifact>
400                                 <artifact>
401                                     <id>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}</id>
402                                     <source>true</source>
403                                     <excludes>
404                                         <exclude>com.fasterxml.jackson.*</exclude>
405                                     </excludes>
406                                 </artifact>
407                                 <artifact>
408                                     <id>org.slf4j:slf4j-api:${slf4j.version}</id>
409                                     <source>true</source>
410                                     <override>true</override>
411                                     <instructions>
412                                         <Bundle-Name>SLF4J API Module</Bundle-Name>
413                                         <Bundle-Version>${slf4j.version.actual}</Bundle-Version>
414                                         <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
415                                         <Export-Package>*;version=${slf4j.version}</Export-Package>
416                                     </instructions>
417                                 </artifact>
418                                 <artifact>
419                                     <id>ch.qos.logback:logback-classic:1.2.3</id>
420                                     <source>true</source>
421                                     <override>true</override>
422                                 </artifact>
423                                 <artifact>
424                                     <id>com.koloboke:koloboke-compile:0.5.1</id>
425                                     <source>true</source>
426                                 </artifact>
427                                 <artifact>
428                                     <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
429                                     <source>true</source>
430                                 </artifact>
431                                 <artifact>
432                                     <id>com.esotericsoftware:kryo:4.0.0</id>
433                                     <source>true</source>
434                                 </artifact>
435                                  <artifact>
436                                      <id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.14</id>
437                                      <source>true</source>
438                                  </artifact>
439                                 <artifact>
440                                     <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
441                                     <source>true</source>
442                                 </artifact>
443                                 <artifact>
444                                     <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
445                                     <source>true</source>
446                                 </artifact>
447                                 <artifact>
448                                     <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
449                                     <source>true</source>
450                                 </artifact>
451                                 <artifact>
452                                     <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
453                                     <source>true</source>
454                                     <excludes>
455                                         <exclude>com.fasterxml.jackson.*</exclude>
456                                     </excludes>
457                                 </artifact>
458                                 <artifact>
459                                     <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
460                                     <source>true</source>
461                                 </artifact>
462                                 <artifact>
463                                     <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
464                                     <source>true</source>
465                                 </artifact>
466                                 <artifact>
467                                     <id>org.jsoup:jsoup:1.8.3</id>
468                                     <source>true</source>
469                                 </artifact>
470                                 <artifact>
471                                     <id>org.eclipse.jetty:jetty-servlets:9.4.5.v20170502</id>
472                                     <source>true</source>
473                                 </artifact>
474                                 <artifact>
475                                     <id>io.grpc:grpc-core:${grpc.version}</id>
476                                     <source>true</source>
477                                     <override></override>
478                                     <instructions>
479                                         <Export-Package>
480                                             io.grpc;version="${grpc.version}",
481                                             io.grpc.inprocess;version="${grpc.version}",
482                                             io.grpc.internal;version="${grpc.version}",
483                                             io.grpc.util;version="${grpc.version}"
484                                         </Export-Package>
485                                         <Import-Package>!com.google.errorprone.annotations,*</Import-Package>
486                                         <Require-Capability>
487                                             osgi.extender;
488                                                 filter:="(osgi.extender=osgi.serviceloader.processor)",
489                                             osgi.serviceloader;
490                                                 filter:="(osgi.serviceloader=io.grpc.ServerProvider)";
491                                                 cardinality:=multiple,
492                                             osgi.serviceloader;
493                                                 filter:="(osgi.serviceloader=io.grpc.ManagedChannelProvider)";
494                                                 cardinality:=multiple
495                                         </Require-Capability>
496                                         <Bundle-Version>${grpc.version.actual}</Bundle-Version>
497                                     </instructions>
498                                 </artifact>
499                                 <artifact>
500                                     <id>io.grpc:grpc-context:${grpc.version}</id>
501                                     <source>true</source>
502                                     <override></override>
503                                     <instructions>
504                                         <Bundle-Version>${grpc.version.actual}</Bundle-Version>
505                                         <Fragment-Host>io.grpc.core</Fragment-Host>
506                                     </instructions>
507                                 </artifact>
508                                 <artifact>
509                                     <id>io.grpc:grpc-stub:${grpc.version}</id>
510                                     <source>true</source>
511                                 </artifact>
512                                 <artifact>
513                                     <id>io.grpc:grpc-protobuf:${grpc.version}</id>
514                                     <source>true</source>
515                                 </artifact>
516                                 <artifact>
517                                     <id>io.grpc:grpc-netty:${grpc.version}</id>
518                                     <source>true</source>
519                                     <override>true</override>
520                                     <instructions>
521                                         <Require-Bundle>
522                                              io.netty.buffer;bundle-version="4.1.27",
523                                              io.netty.codec;bundle-version="4.1.27",
524                                              io.netty.codec-http;bundle-version="4.1.27",
525                                              io.netty.codec-http2;bundle-version="4.1.27",
526                                              io.netty.codec-socks;bundle-version="4.1.27",
527                                              io.netty.common;bundle-version="4.1.27",
528                                              io.netty.handler;bundle-version="4.1.27",
529                                              io.netty.handler-proxy;bundle-version="4.1.27",
530                                              io.netty.resolver;bundle-version="4.1.27",
531                                              io.netty.transport;bundle-version="4.1.27"
532                                         </Require-Bundle>
533                                         <Import-Package>!io.netty.*,*;resolution:=optional</Import-Package>
534                                         <Require-Capability>
535                                             osgi.extender;
536                                                 filter:="(osgi.extender=osgi.serviceloader.registrar)"
537                                         </Require-Capability>
538                                         <Provide-Capability>
539                                             osgi.serviceloader;
540                                                 osgi.serviceloader=io.grpc.ServerProvider,
541                                             osgi.serviceloader;
542                                                 osgi.serviceloader=io.grpc.ManagedChannelProvider
543                                         </Provide-Capability>
544                                         <Bundle-Version>${grpc.version.actual}</Bundle-Version>
545                                     </instructions>
546                                 </artifact>
547                                 <artifact>
548                                     <id>com.google.protobuf:protobuf-java:${protobuf.version}</id>
549                                     <source>true</source>
550                                     <override>true</override>
551                                     <instructions>
552                                         <Import-Package>!sun.misc.*,*;resolution:=optional</Import-Package>
553                                     </instructions>
554                                 </artifact>
555                             </artifacts>
556                         </configuration>
557                     </execution>
558                 </executions>
559             </plugin>
560
561             <plugin>
562                 <groupId>org.mortbay.jetty</groupId>
563                 <artifactId>jetty-maven-plugin</artifactId>
564                 <version>8.1.5.v20120716</version>
565                 <configuration>
566                     <scanIntervalSeconds>10</scanIntervalSeconds>
567                     <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
568                     <webApp>
569                         <contextPath>/site</contextPath>
570                     </webApp>
571                 </configuration>
572             </plugin>
573         </plugins>
574     </build>
575
576 </project>