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>
6 <groupId>org.simantics</groupId>
7 <artifactId>org.simantics.sdk.build.p2.site</artifactId>
8 <packaging>pom</packaging>
9 <version>1.30.0</version>
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.21.0</grpc.version>
26 <grpc.version.actual>1.21.0</grpc.version.actual>
27 <protobuf.version>3.7.1</protobuf.version>
28 <zeroturnaround.version>1.10</zeroturnaround.version>
29 <eclipse.collections.version>9.2.0</eclipse.collections.version>
30 <caffeine.version>2.6.2</caffeine.version>
36 <id>project-specific-deps</id>
37 <name>project-specific-deps</name>
38 <url>file:///${basedir}/repo</url>
39 </repository>c.version.actual
46 <groupId>org.eclipse.tycho.extras</groupId>
47 <artifactId>tycho-p2-extras-plugin</artifactId>
48 <version>1.0.0</version>
51 <groupId>org.reficio</groupId>
52 <artifactId>p2-maven-plugin</artifactId>
53 <version>1.2.0</version>
57 <!-- QUICK-START EXAMPLE -->
59 This is the default quick-start configuration.
62 - specified dependencies will be fetched
63 - transitive dependencies will be fetched (no default exclusions)
64 - jars containing source source code will NOT be fetched
65 - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
66 if you specify instructions for these jars they will be APPLIED
67 - jars that are OSGi bundles will be simply included
68 if you specify instructions for these jars they will be IGNORED (see <override> option)
69 - p2 site will be generated
71 How the instructions works:
72 - instructions are applied only to the root artifact that you specify!
73 - instructions are not applied to the TRANSITIVE dependencies!
74 - transitive dependencies are never overridden (see <override> option)
75 - transitive dependencies are bundled using the default instructions:
77 <Import-Package>*;resolution:=optional</Import-Package>
78 <Export-Package>*</Export-Package>
80 - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
81 are calculated according to the following rules:
82 http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
83 - if you specify any instructions they will be applied only if
84 the jar is not already an OSGi bundle - otherwise you have to use the override
85 option - please see the /examples/override/pom.xml example
87 The following definition of an artifact:
89 <id>commons-io:commons-io:2.1</id>
92 is an equivalent of the following definition:
94 <id>commons-io:commons-io:2.1</id>
95 <transitive>true</transitive>
96 <source>false</source>
97 <override>false</override>
99 <Import-Package>*;resolution:=optional</Import-Package>
100 <Export-Package>*</Export-Package>
105 To run the example please invoke: mvn p2:site
110 <id>org.antlr:antlr-runtime:${antlr.version}</id>
111 <source>true</source>
113 <Bundle-SymbolicName>org.antlr.runtime</Bundle-SymbolicName>
114 <Bundle-Version>${antlr.version}</Bundle-Version>
115 <Export-Package>*;version="${antlr.version}"</Export-Package>
119 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
120 <source>true</source>
122 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
123 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
124 <Export-Package>*;version="${lucene.version}"</Export-Package>
128 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
129 <source>true</source>
131 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
132 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
133 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
134 <Export-Package>*;version="${lucene.version}"</Export-Package>
135 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
139 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
140 <source>true</source>
142 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
143 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
144 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
145 <Export-Package>*;version="${lucene.version}"</Export-Package>
146 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
150 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
151 <source>true</source>
153 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
154 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
155 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
156 <Export-Package>*;version="${lucene.version}"</Export-Package>
157 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
161 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
162 <source>true</source>
164 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
165 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
166 <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>
167 <Export-Package>*;version="${lucene.version}"</Export-Package>
168 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
172 <id>jaxen:jaxen:${jaxen.version}</id>
173 <source>true</source>
176 <id>org.jdom:jdom2:${jdom.version}</id>
177 <source>true</source>
179 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
180 <Bundle-Version>${jdom.version.actual}</Bundle-Version>
181 <Export-Package>*;version="${jdom.version}"</Export-Package>
185 <id>org.jfree:jfreechart:1.0.19</id>
186 <source>true</source>
188 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
193 <id>org.ow2.asm:asm:5.0.4</id>
194 <source>true</source>
195 <override>true</override>
197 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
202 <id>net.sf.supercsv:super-csv:2.4.0</id>
203 <source>true</source>
204 <override>true</override>
206 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
210 <id>org.ini4j:ini4j:0.5.4</id>
211 <source>true</source>
214 <!-- Needed by Apache POI 3.15 -->
215 <id>commons-codec:commons-codec:1.10</id>
216 <source>true</source>
219 <id>commons-collections:commons-collections:3.2.2</id>
220 <source>true</source>
223 <!-- Needed by Apache POI 3.15 -->
224 <id>org.apache.commons:commons-collections4:4.1</id>
225 <source>true</source>
228 <id>org.apache.commons:commons-compress:1.18</id>
229 <source>true</source>
230 <override>true</override>
232 <Bundle-SymbolicName>org.apache.commons.compress</Bundle-SymbolicName>
236 <id>commons-lang:commons-lang:2.6</id>
237 <source>true</source>
240 <!-- Needed by Apache POI 3.15 -->
241 <id>commons-logging:commons-logging:1.2</id>
242 <source>true</source>
245 <id>commons-io:commons-io:1.4</id>
246 <source>true</source>
249 <id>org.apache.commons:commons-math3:3.6.1</id>
250 <source>true</source>
254 <id>org.apache.pdfbox:pdfbox:2.0.3</id>
255 <source>true</source>
258 <id>org.apache.pdfbox:fontbox:2.0.3</id>
259 <source>true</source>
262 <id>org.apache.pdfbox:xmpbox:2.0.3</id>
263 <source>true</source>
265 <!-- Needed by Apache POI 3.15, however these are included in third-party repository manually -->
268 <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
269 <source>true</source>
272 <id>com.github.virtuald:curvesapi:1.04</id>
273 <source>true</source>
277 <id>log4j:log4j:1.2.17</id>
278 <source>true</source>
279 <override>true</override>
281 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
285 <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
286 <source>true</source>
288 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
292 <id>it.unimi.dsi:fastutil:7.2.1</id>
293 <source>true</source>
296 <id>org.eclipse.collections:eclipse-collections-api:${eclipse.collections.version}</id>
297 <override>true</override>
298 <source>true</source>
300 <Export-Package>org.eclipse.collections.*</Export-Package>
304 <id>org.eclipse.collections:eclipse-collections:${eclipse.collections.version}</id>
305 <source>true</source>
307 <Require-Bundle>org.eclipse.collections.eclipse-collections-api;bundle-version="${eclipse.collections.version}"</Require-Bundle>
308 <Import-Package>!org.eclipse.*,!sun.misc.*,*;resolution:=optional</Import-Package>
312 <id>net.sf.trove4j:trove4j:3.0.3</id>
313 <source>true</source>
315 <Bundle-Name>GNU Trove 3</Bundle-Name>
316 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
320 <id>org.freemarker:freemarker:2.3.23</id>
321 <source>true</source>
322 <override>true</override>
324 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
328 <id>com.lowagie:itext:2.1.7</id>
329 <source>true</source>
331 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
332 <Bundle-Version>${itext.version.actual}</Bundle-Version>
336 <id>org.mozilla:rhino:1.7.7.1</id>
337 <source>true</source>
339 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
341 <id>net.java.dev.jna:jna:4.1.0</id>
342 <source>true</source>
344 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
346 <id>net.java.dev.jna:jna-platform:4.1.0</id>
347 <source>true</source>
350 <id>net.java.dev.jna:jna:4.3.0</id>
351 <source>true</source>
354 <id>net.java.dev.jna:jna-platform:4.3.0</id>
355 <source>true</source>
358 <id>javax.servlet:javax.servlet-api:${javax.version}</id>
359 <source>true</source>
362 <id>com.fasterxml.jackson.core:jackson-core:${jackson.version}</id>
363 <source>true</source>
366 <id>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}</id>
367 <source>true</source>
370 <id>com.fasterxml.jackson.core:jackson-databind:${jackson.version}</id>
371 <source>true</source>
373 <exclude>com.fasterxml.jackson.*</exclude>
377 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson.version}</id>
378 <source>true</source>
380 <exclude>com.fasterxml.jackson.*</exclude>
384 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}</id>
385 <source>true</source>
387 <exclude>com.fasterxml.jackson.*</exclude>
391 <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jackson.version}</id>
392 <source>true</source>
394 <exclude>com.fasterxml.jackson.*</exclude>
398 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:${jackson.version}</id>
399 <source>true</source>
401 <exclude>com.fasterxml.jackson.*</exclude>
405 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${jackson.version}</id>
406 <source>true</source>
408 <exclude>com.fasterxml.jackson.*</exclude>
412 <id>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}</id>
413 <source>true</source>
415 <exclude>com.fasterxml.jackson.*</exclude>
419 <id>org.slf4j:slf4j-api:${slf4j.version}</id>
420 <source>true</source>
421 <override>true</override>
423 <Bundle-Name>SLF4J API Module</Bundle-Name>
424 <Bundle-Version>${slf4j.version.actual}</Bundle-Version>
425 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
426 <Export-Package>*;version=${slf4j.version}</Export-Package>
430 <id>ch.qos.logback:logback-classic:1.2.3</id>
431 <source>true</source>
432 <override>true</override>
435 <id>com.koloboke:koloboke-compile:0.5.1</id>
436 <source>true</source>
439 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
440 <source>true</source>
443 <id>com.esotericsoftware:kryo:4.0.0</id>
444 <source>true</source>
447 <id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.2.3</id>
448 <source>true</source>
451 <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
452 <source>true</source>
455 <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
456 <source>true</source>
459 <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
460 <source>true</source>
463 <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
464 <source>true</source>
466 <exclude>com.fasterxml.jackson.*</exclude>
470 <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
471 <source>true</source>
474 <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
475 <source>true</source>
478 <id>org.jsoup:jsoup:1.11.3</id>
479 <source>true</source>
482 <id>org.yaml:snakeyaml:1.23</id>
483 <source>true</source>
486 <id>org.eclipse.jetty:jetty-servlets:9.4.5.v20170502</id>
487 <source>true</source>
490 <id>org.eclipse.jetty:jetty-server:9.4.5.v20170502</id>
491 <source>true</source>
494 <id>org.zeroturnaround:zt-exec:${zeroturnaround.version}</id>
495 <source>true</source>
497 <!-- Since 1.21.0 grpc, a manually set up plugin is provided in third-party repository.
498 Note: grpc-core, grpc-context, and grpc-stub (maybe others as well) must be bundled into same plug-in, since they contain split packages.
500 <id>io.grpc:io.grpc:${grpc.version}</id>
501 <source>true</source>
504 <id>io.grpc:grpc-netty:${grpc.version}</id>
505 <source>true</source>
506 <override>true</override>
509 io.netty.buffer;bundle-version="4.1.27",
510 io.netty.codec;bundle-version="4.1.27",
511 io.netty.codec-http;bundle-version="4.1.27",
512 io.netty.codec-http2;bundle-version="4.1.27",
513 io.netty.codec-socks;bundle-version="4.1.27",
514 io.netty.common;bundle-version="4.1.27",
515 io.netty.handler;bundle-version="4.1.27",
516 io.netty.handler-proxy;bundle-version="4.1.27",
517 io.netty.resolver;bundle-version="4.1.27",
518 io.netty.transport;bundle-version="4.1.27",
521 <Import-Package>!io.netty.*,*;resolution:=optional</Import-Package>
524 filter:="(osgi.extender=osgi.serviceloader.registrar)"
525 </Require-Capability>
528 osgi.serviceloader=io.grpc.ServerProvider,
530 osgi.serviceloader=io.grpc.ManagedChannelProvider
531 </Provide-Capability>
532 <Bundle-Version>${grpc.version.actual}</Bundle-Version>
536 <id>com.google.protobuf:protobuf-java:${protobuf.version}</id>
537 <source>true</source>
538 <override>true</override>
540 <Import-Package>!sun.misc.*,*;resolution:=optional</Import-Package>
544 <!-- grpc 1.21.0 dependencies -->
546 <id>io.opencensus:opencensus-api:0.21.0</id>
547 <source>true</source>
550 <id>com.google.code.gson:gson:2.7</id>
551 <source>true</source>
554 <id>com.google.android:annotations:4.1.1.4</id>
555 <source>true</source>
558 <id>io.opencensus:opencensus-contrib-grpc-metrics:0.21.0</id>
559 <source>true</source>
562 <id>com.google.protobuf:protobuf-java:${protobuf.version}</id>
563 <source>true</source>
566 <id>com.google.api.grpc:proto-google-common-protos:1.12.0</id>
567 <source>true</source>
570 <id>com.google.errorprone:error_prone_annotations:2.3.2</id>
571 <source>true</source>
574 <!-- Netty is needed by com.impossibl.pgjdbc-ng:pgjdbc-ng:0.7.1 -->
576 <id>io.netty:netty-buffer:4.1.35.Final</id>
577 <source>true</source>
578 <transitive>true</transitive>
581 <id>io.netty:netty-codec:4.1.35.Final</id>
582 <source>true</source>
583 <transitive>true</transitive>
586 <id>io.netty:netty-codec-http:4.1.35.Final</id>
587 <source>true</source>
588 <transitive>true</transitive>
591 <id>io.netty:netty-codec-http2:4.1.35.Final</id>
592 <source>true</source>
593 <transitive>true</transitive>
596 <id>io.netty:netty-codec-socks:4.1.35.Final</id>
597 <source>true</source>
598 <transitive>true</transitive>
601 <id>io.netty:netty-common:4.1.35.Final</id>
602 <source>true</source>
603 <transitive>true</transitive>
606 <id>io.netty:netty-handler:4.1.35.Final</id>
607 <source>true</source>
608 <transitive>true</transitive>
611 <id>io.netty:netty-handler-proxy:4.1.35.Final</id>
612 <source>true</source>
613 <transitive>true</transitive>
616 <id>io.netty:netty-resolver:4.1.35.Final</id>
617 <source>true</source>
618 <transitive>true</transitive>
621 <id>io.netty:netty-transport:4.1.35.Final</id>
622 <source>true</source>
623 <transitive>true</transitive>
626 <id>com.impossibl.pgjdbc-ng:pgjdbc-ng:0.7.1</id>
627 <source>true</source>
628 <transitive>false</transitive>
631 <id>com.github.ben-manes.caffeine:caffeine:${caffeine.version}</id>
632 <source>true</source>
633 <override>true</override>
635 <Bundle-SymbolicName>com.github.benmanes.caffeine</Bundle-SymbolicName>
639 <id>net.jcip:jcip-annotations:1.0</id>
640 <source>true</source>
649 <groupId>org.mortbay.jetty</groupId>
650 <artifactId>jetty-maven-plugin</artifactId>
651 <version>8.1.5.v20120716</version>
653 <scanIntervalSeconds>10</scanIntervalSeconds>
654 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
656 <contextPath>/site</contextPath>