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.14.0</grpc.version>
26 <grpc.version.actual>1.14.0.b007</grpc.version.actual>
27 <protobuf.version>3.5.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>
266 <!-- Needed by Apache POI 3.15 -->
267 <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
268 <source>true</source>
271 <!-- Needed by Apache POI 3.15 -->
272 <id>com.github.virtuald:curvesapi:1.04</id>
273 <source>true</source>
276 <id>log4j:log4j:1.2.17</id>
277 <source>true</source>
278 <override>true</override>
280 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
284 <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
285 <source>true</source>
287 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
291 <id>it.unimi.dsi:fastutil:7.2.1</id>
292 <source>true</source>
295 <id>org.eclipse.collections:eclipse-collections-api:${eclipse.collections.version}</id>
296 <override>true</override>
297 <source>true</source>
299 <Export-Package>org.eclipse.collections.*</Export-Package>
303 <id>org.eclipse.collections:eclipse-collections:${eclipse.collections.version}</id>
304 <source>true</source>
306 <Require-Bundle>org.eclipse.collections.eclipse-collections-api;bundle-version="${eclipse.collections.version}"</Require-Bundle>
307 <Import-Package>!org.eclipse.*,!sun.misc.*,*;resolution:=optional</Import-Package>
311 <id>net.sf.trove4j:trove4j:3.0.3</id>
312 <source>true</source>
314 <Bundle-Name>GNU Trove 3</Bundle-Name>
315 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
319 <id>org.freemarker:freemarker:2.3.23</id>
320 <source>true</source>
321 <override>true</override>
323 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
327 <id>com.lowagie:itext:2.1.7</id>
328 <source>true</source>
330 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
331 <Bundle-Version>${itext.version.actual}</Bundle-Version>
335 <id>org.mozilla:rhino:1.7.7.1</id>
336 <source>true</source>
338 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
340 <id>net.java.dev.jna:jna:4.1.0</id>
341 <source>true</source>
343 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
345 <id>net.java.dev.jna:jna-platform:4.1.0</id>
346 <source>true</source>
349 <id>net.java.dev.jna:jna:4.3.0</id>
350 <source>true</source>
353 <id>net.java.dev.jna:jna-platform:4.3.0</id>
354 <source>true</source>
357 <id>javax.servlet:javax.servlet-api:${javax.version}</id>
358 <source>true</source>
361 <id>com.fasterxml.jackson.core:jackson-core:${jackson.version}</id>
362 <source>true</source>
365 <id>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}</id>
366 <source>true</source>
369 <id>com.fasterxml.jackson.core:jackson-databind:${jackson.version}</id>
370 <source>true</source>
372 <exclude>com.fasterxml.jackson.*</exclude>
376 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson.version}</id>
377 <source>true</source>
379 <exclude>com.fasterxml.jackson.*</exclude>
383 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}</id>
384 <source>true</source>
386 <exclude>com.fasterxml.jackson.*</exclude>
390 <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jackson.version}</id>
391 <source>true</source>
393 <exclude>com.fasterxml.jackson.*</exclude>
397 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:${jackson.version}</id>
398 <source>true</source>
400 <exclude>com.fasterxml.jackson.*</exclude>
404 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${jackson.version}</id>
405 <source>true</source>
407 <exclude>com.fasterxml.jackson.*</exclude>
411 <id>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}</id>
412 <source>true</source>
414 <exclude>com.fasterxml.jackson.*</exclude>
418 <id>org.slf4j:slf4j-api:${slf4j.version}</id>
419 <source>true</source>
420 <override>true</override>
422 <Bundle-Name>SLF4J API Module</Bundle-Name>
423 <Bundle-Version>${slf4j.version.actual}</Bundle-Version>
424 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
425 <Export-Package>*;version=${slf4j.version}</Export-Package>
429 <id>ch.qos.logback:logback-classic:1.2.3</id>
430 <source>true</source>
431 <override>true</override>
434 <id>com.koloboke:koloboke-compile:0.5.1</id>
435 <source>true</source>
438 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
439 <source>true</source>
442 <id>com.esotericsoftware:kryo:4.0.0</id>
443 <source>true</source>
446 <id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.14</id>
447 <source>true</source>
450 <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
451 <source>true</source>
454 <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
455 <source>true</source>
458 <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
459 <source>true</source>
462 <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
463 <source>true</source>
465 <exclude>com.fasterxml.jackson.*</exclude>
469 <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
470 <source>true</source>
473 <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
474 <source>true</source>
477 <id>org.jsoup:jsoup:1.11.3</id>
478 <source>true</source>
481 <id>org.yaml:snakeyaml:1.23</id>
482 <source>true</source>
485 <id>org.eclipse.jetty:jetty-servlets:9.4.5.v20170502</id>
486 <source>true</source>
489 <id>org.zeroturnaround:zt-exec:${zeroturnaround.version}</id>
490 <source>true</source>
493 <id>io.grpc:io.grpc:${grpc.version}</id>
494 <source>true</source>
497 <id>io.grpc:grpc-netty:${grpc.version}</id>
498 <source>true</source>
499 <override>true</override>
502 io.netty.buffer;bundle-version="4.1.27",
503 io.netty.codec;bundle-version="4.1.27",
504 io.netty.codec-http;bundle-version="4.1.27",
505 io.netty.codec-http2;bundle-version="4.1.27",
506 io.netty.codec-socks;bundle-version="4.1.27",
507 io.netty.common;bundle-version="4.1.27",
508 io.netty.handler;bundle-version="4.1.27",
509 io.netty.handler-proxy;bundle-version="4.1.27",
510 io.netty.resolver;bundle-version="4.1.27",
511 io.netty.transport;bundle-version="4.1.27",
514 <Import-Package>!io.netty.*,*;resolution:=optional</Import-Package>
517 filter:="(osgi.extender=osgi.serviceloader.registrar)"
518 </Require-Capability>
521 osgi.serviceloader=io.grpc.ServerProvider,
523 osgi.serviceloader=io.grpc.ManagedChannelProvider
524 </Provide-Capability>
525 <Bundle-Version>${grpc.version.actual}</Bundle-Version>
529 <id>com.google.protobuf:protobuf-java:${protobuf.version}</id>
530 <source>true</source>
531 <override>true</override>
533 <Import-Package>!sun.misc.*,*;resolution:=optional</Import-Package>
537 <id>com.impossibl.pgjdbc-ng:pgjdbc-ng:0.7.1</id>
538 <source>true</source>
539 <transitive>false</transitive>
542 <id>com.github.ben-manes.caffeine:caffeine:${caffeine.version}</id>
543 <source>true</source>
544 <override>true</override>
546 <Bundle-SymbolicName>com.github.benmanes.caffeine</Bundle-SymbolicName>
550 <id>net.jcip:jcip-annotations:1.0</id>
551 <source>true</source>
560 <groupId>org.mortbay.jetty</groupId>
561 <artifactId>jetty-maven-plugin</artifactId>
562 <version>8.1.5.v20120716</version>
564 <scanIntervalSeconds>10</scanIntervalSeconds>
565 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
567 <contextPath>/site</contextPath>