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>
34 <id>project-specific-deps</id>
35 <name>project-specific-deps</name>
36 <url>file:///${basedir}/repo</url>
37 </repository>c.version.actual
44 <groupId>org.eclipse.tycho.extras</groupId>
45 <artifactId>tycho-p2-extras-plugin</artifactId>
46 <version>1.0.0</version>
49 <groupId>org.reficio</groupId>
50 <artifactId>p2-maven-plugin</artifactId>
51 <version>1.2.0</version>
55 <!-- QUICK-START EXAMPLE -->
57 This is the default quick-start configuration.
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
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:
75 <Import-Package>*;resolution:=optional</Import-Package>
76 <Export-Package>*</Export-Package>
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
85 The following definition of an artifact:
87 <id>commons-io:commons-io:2.1</id>
90 is an equivalent of the following definition:
92 <id>commons-io:commons-io:2.1</id>
93 <transitive>true</transitive>
94 <source>false</source>
95 <override>false</override>
97 <Import-Package>*;resolution:=optional</Import-Package>
98 <Export-Package>*</Export-Package>
103 To run the example please invoke: mvn p2:site
108 <id>org.antlr:antlr-runtime:${antlr.version}</id>
109 <source>true</source>
111 <Bundle-SymbolicName>org.antlr.runtime</Bundle-SymbolicName>
112 <Bundle-Version>${antlr.version}</Bundle-Version>
113 <Export-Package>*;version="${antlr.version}"</Export-Package>
117 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
118 <source>true</source>
120 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
121 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
122 <Export-Package>*;version="${lucene.version}"</Export-Package>
126 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
127 <source>true</source>
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>
137 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
138 <source>true</source>
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>
148 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
149 <source>true</source>
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>
159 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
160 <source>true</source>
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>
170 <id>jaxen:jaxen:${jaxen.version}</id>
171 <source>true</source>
174 <id>org.jdom:jdom2:${jdom.version}</id>
175 <source>true</source>
177 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
178 <Bundle-Version>${jdom.version.actual}</Bundle-Version>
179 <Export-Package>*;version="${jdom.version}"</Export-Package>
183 <id>org.jfree:jfreechart:1.0.19</id>
184 <source>true</source>
186 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
191 <id>org.ow2.asm:asm:5.0.4</id>
192 <source>true</source>
193 <override>true</override>
195 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
200 <id>net.sf.supercsv:super-csv:2.4.0</id>
201 <source>true</source>
202 <override>true</override>
204 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
208 <id>org.ini4j:ini4j:0.5.4</id>
209 <source>true</source>
212 <!-- Needed by Apache POI 3.15 -->
213 <id>commons-codec:commons-codec:1.10</id>
214 <source>true</source>
217 <id>commons-collections:commons-collections:3.2.2</id>
218 <source>true</source>
221 <!-- Needed by Apache POI 3.15 -->
222 <id>org.apache.commons:commons-collections4:4.1</id>
223 <source>true</source>
226 <id>org.apache.commons:commons-compress:1.18</id>
227 <source>true</source>
228 <override>true</override>
230 <Bundle-SymbolicName>org.apache.commons.compress</Bundle-SymbolicName>
234 <id>commons-lang:commons-lang:2.6</id>
235 <source>true</source>
238 <!-- Needed by Apache POI 3.15 -->
239 <id>commons-logging:commons-logging:1.2</id>
240 <source>true</source>
243 <id>commons-io:commons-io:1.4</id>
244 <source>true</source>
247 <id>org.apache.commons:commons-math3:3.6.1</id>
248 <source>true</source>
252 <id>org.apache.pdfbox:pdfbox:2.0.3</id>
253 <source>true</source>
256 <id>org.apache.pdfbox:fontbox:2.0.3</id>
257 <source>true</source>
260 <id>org.apache.pdfbox:xmpbox:2.0.3</id>
261 <source>true</source>
264 <!-- Needed by Apache POI 3.15 -->
265 <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
266 <source>true</source>
269 <!-- Needed by Apache POI 3.15 -->
270 <id>com.github.virtuald:curvesapi:1.04</id>
271 <source>true</source>
274 <id>log4j:log4j:1.2.17</id>
275 <source>true</source>
276 <override>true</override>
278 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
282 <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
283 <source>true</source>
285 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
289 <id>it.unimi.dsi:fastutil:7.2.1</id>
290 <source>true</source>
293 <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
294 <override>true</override>
295 <source>true</source>
297 <Export-Package>org.eclipse.collections.*</Export-Package>
301 <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
302 <source>true</source>
305 <id>net.sf.trove4j:trove4j:3.0.3</id>
306 <source>true</source>
308 <Bundle-Name>GNU Trove 3</Bundle-Name>
309 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
313 <id>org.freemarker:freemarker:2.3.23</id>
314 <source>true</source>
315 <override>true</override>
317 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
321 <id>com.lowagie:itext:2.1.7</id>
322 <source>true</source>
324 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
325 <Bundle-Version>${itext.version.actual}</Bundle-Version>
329 <id>org.mozilla:rhino:1.7.7.1</id>
330 <source>true</source>
332 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
334 <id>net.java.dev.jna:jna:4.1.0</id>
335 <source>true</source>
337 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
339 <id>net.java.dev.jna:jna-platform:4.1.0</id>
340 <source>true</source>
343 <id>net.java.dev.jna:jna:4.3.0</id>
344 <source>true</source>
347 <id>net.java.dev.jna:jna-platform:4.3.0</id>
348 <source>true</source>
351 <id>javax.servlet:javax.servlet-api:${javax.version}</id>
352 <source>true</source>
355 <id>com.fasterxml.jackson.core:jackson-core:${jackson.version}</id>
356 <source>true</source>
359 <id>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}</id>
360 <source>true</source>
363 <id>com.fasterxml.jackson.core:jackson-databind:${jackson.version}</id>
364 <source>true</source>
366 <exclude>com.fasterxml.jackson.*</exclude>
370 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson.version}</id>
371 <source>true</source>
373 <exclude>com.fasterxml.jackson.*</exclude>
377 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}</id>
378 <source>true</source>
380 <exclude>com.fasterxml.jackson.*</exclude>
384 <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jackson.version}</id>
385 <source>true</source>
387 <exclude>com.fasterxml.jackson.*</exclude>
391 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:${jackson.version}</id>
392 <source>true</source>
394 <exclude>com.fasterxml.jackson.*</exclude>
398 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${jackson.version}</id>
399 <source>true</source>
401 <exclude>com.fasterxml.jackson.*</exclude>
405 <id>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}</id>
406 <source>true</source>
408 <exclude>com.fasterxml.jackson.*</exclude>
412 <id>org.slf4j:slf4j-api:${slf4j.version}</id>
413 <source>true</source>
414 <override>true</override>
416 <Bundle-Name>SLF4J API Module</Bundle-Name>
417 <Bundle-Version>${slf4j.version.actual}</Bundle-Version>
418 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
419 <Export-Package>*;version=${slf4j.version}</Export-Package>
423 <id>ch.qos.logback:logback-classic:1.2.3</id>
424 <source>true</source>
425 <override>true</override>
428 <id>com.koloboke:koloboke-compile:0.5.1</id>
429 <source>true</source>
432 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
433 <source>true</source>
436 <id>com.esotericsoftware:kryo:4.0.0</id>
437 <source>true</source>
440 <id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.14</id>
441 <source>true</source>
444 <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
445 <source>true</source>
448 <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
449 <source>true</source>
452 <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
453 <source>true</source>
456 <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
457 <source>true</source>
459 <exclude>com.fasterxml.jackson.*</exclude>
463 <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
464 <source>true</source>
467 <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
468 <source>true</source>
471 <id>org.jsoup:jsoup:1.11.3</id>
472 <source>true</source>
475 <id>org.yaml:snakeyaml:1.23</id>
476 <source>true</source>
479 <id>org.eclipse.jetty:jetty-servlets:9.4.5.v20170502</id>
480 <source>true</source>
483 <id>org.zeroturnaround:zt-exec:${zeroturnaround.version}</id>
484 <source>true</source>
487 <id>io.grpc:io.grpc:${grpc.version}</id>
488 <source>true</source>
491 <id>io.grpc:grpc-netty:${grpc.version}</id>
492 <source>true</source>
493 <override>true</override>
496 io.netty.buffer;bundle-version="4.1.27",
497 io.netty.codec;bundle-version="4.1.27",
498 io.netty.codec-http;bundle-version="4.1.27",
499 io.netty.codec-http2;bundle-version="4.1.27",
500 io.netty.codec-socks;bundle-version="4.1.27",
501 io.netty.common;bundle-version="4.1.27",
502 io.netty.handler;bundle-version="4.1.27",
503 io.netty.handler-proxy;bundle-version="4.1.27",
504 io.netty.resolver;bundle-version="4.1.27",
505 io.netty.transport;bundle-version="4.1.27",
508 <Import-Package>!io.netty.*,*;resolution:=optional</Import-Package>
511 filter:="(osgi.extender=osgi.serviceloader.registrar)"
512 </Require-Capability>
515 osgi.serviceloader=io.grpc.ServerProvider,
517 osgi.serviceloader=io.grpc.ManagedChannelProvider
518 </Provide-Capability>
519 <Bundle-Version>${grpc.version.actual}</Bundle-Version>
523 <id>com.google.protobuf:protobuf-java:${protobuf.version}</id>
524 <source>true</source>
525 <override>true</override>
527 <Import-Package>!sun.misc.*,*;resolution:=optional</Import-Package>
531 <id>com.impossibl.pgjdbc-ng:pgjdbc-ng:0.7.1</id>
532 <source>true</source>
533 <transitive>false</transitive>
542 <groupId>org.mortbay.jetty</groupId>
543 <artifactId>jetty-maven-plugin</artifactId>
544 <version>8.1.5.v20120716</version>
546 <scanIntervalSeconds>10</scanIntervalSeconds>
547 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
549 <contextPath>/site</contextPath>