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>
33 <id>project-specific-deps</id>
34 <name>project-specific-deps</name>
35 <url>file:///${basedir}/repo</url>
36 </repository>c.version.actual
43 <groupId>org.eclipse.tycho.extras</groupId>
44 <artifactId>tycho-p2-extras-plugin</artifactId>
45 <version>1.0.0</version>
48 <groupId>org.reficio</groupId>
49 <artifactId>p2-maven-plugin</artifactId>
50 <version>1.2.0</version>
54 <!-- QUICK-START EXAMPLE -->
56 This is the default quick-start configuration.
59 - specified dependencies will be fetched
60 - transitive dependencies will be fetched (no default exclusions)
61 - jars containing source source code will NOT be fetched
62 - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
63 if you specify instructions for these jars they will be APPLIED
64 - jars that are OSGi bundles will be simply included
65 if you specify instructions for these jars they will be IGNORED (see <override> option)
66 - p2 site will be generated
68 How the instructions works:
69 - instructions are applied only to the root artifact that you specify!
70 - instructions are not applied to the TRANSITIVE dependencies!
71 - transitive dependencies are never overridden (see <override> option)
72 - transitive dependencies are bundled using the default instructions:
74 <Import-Package>*;resolution:=optional</Import-Package>
75 <Export-Package>*</Export-Package>
77 - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
78 are calculated according to the following rules:
79 http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
80 - if you specify any instructions they will be applied only if
81 the jar is not already an OSGi bundle - otherwise you have to use the override
82 option - please see the /examples/override/pom.xml example
84 The following definition of an artifact:
86 <id>commons-io:commons-io:2.1</id>
89 is an equivalent of the following definition:
91 <id>commons-io:commons-io:2.1</id>
92 <transitive>true</transitive>
93 <source>false</source>
94 <override>false</override>
96 <Import-Package>*;resolution:=optional</Import-Package>
97 <Export-Package>*</Export-Package>
102 To run the example please invoke: mvn p2:site
107 <id>org.antlr:antlr-runtime:${antlr.version}</id>
108 <source>true</source>
110 <Bundle-SymbolicName>org.antlr.runtime</Bundle-SymbolicName>
111 <Bundle-Version>${antlr.version}</Bundle-Version>
112 <Export-Package>*;version="${antlr.version}"</Export-Package>
116 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
117 <source>true</source>
119 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
120 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
121 <Export-Package>*;version="${lucene.version}"</Export-Package>
125 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
126 <source>true</source>
128 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
129 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
130 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
131 <Export-Package>*;version="${lucene.version}"</Export-Package>
132 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
136 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
137 <source>true</source>
139 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
140 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
141 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
142 <Export-Package>*;version="${lucene.version}"</Export-Package>
143 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
147 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
148 <source>true</source>
150 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
151 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
152 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
153 <Export-Package>*;version="${lucene.version}"</Export-Package>
154 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
158 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
159 <source>true</source>
161 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
162 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
163 <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>
164 <Export-Package>*;version="${lucene.version}"</Export-Package>
165 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
169 <id>jaxen:jaxen:${jaxen.version}</id>
170 <source>true</source>
173 <id>org.jdom:jdom2:${jdom.version}</id>
174 <source>true</source>
176 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
177 <Bundle-Version>${jdom.version.actual}</Bundle-Version>
178 <Export-Package>*;version="${jdom.version}"</Export-Package>
182 <id>org.jfree:jfreechart:1.0.19</id>
183 <source>true</source>
185 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
190 <id>org.ow2.asm:asm:5.0.4</id>
191 <source>true</source>
192 <override>true</override>
194 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
199 <id>net.sf.supercsv:super-csv:2.4.0</id>
200 <source>true</source>
201 <override>true</override>
203 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
207 <id>org.ini4j:ini4j:0.5.4</id>
208 <source>true</source>
211 <!-- Needed by Apache POI 3.15 -->
212 <id>commons-codec:commons-codec:1.10</id>
213 <source>true</source>
216 <id>commons-collections:commons-collections:3.2.2</id>
217 <source>true</source>
220 <!-- Needed by Apache POI 3.15 -->
221 <id>org.apache.commons:commons-collections4:4.1</id>
222 <source>true</source>
225 <id>org.apache.commons:commons-compress:1.12</id>
226 <source>true</source>
229 <id>commons-lang:commons-lang:2.6</id>
230 <source>true</source>
233 <!-- Needed by Apache POI 3.15 -->
234 <id>commons-logging:commons-logging:1.2</id>
235 <source>true</source>
238 <id>commons-io:commons-io:1.4</id>
239 <source>true</source>
242 <id>org.apache.commons:commons-math3:3.6.1</id>
243 <source>true</source>
247 <id>org.apache.pdfbox:pdfbox:2.0.3</id>
248 <source>true</source>
251 <id>org.apache.pdfbox:fontbox:2.0.3</id>
252 <source>true</source>
255 <id>org.apache.pdfbox:xmpbox:2.0.3</id>
256 <source>true</source>
259 <!-- Needed by Apache POI 3.15 -->
260 <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
261 <source>true</source>
264 <!-- Needed by Apache POI 3.15 -->
265 <id>com.github.virtuald:curvesapi:1.04</id>
266 <source>true</source>
269 <id>log4j:log4j:1.2.17</id>
270 <source>true</source>
271 <override>true</override>
273 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
277 <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
278 <source>true</source>
280 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
284 <id>it.unimi.dsi:fastutil:7.2.1</id>
285 <source>true</source>
288 <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
289 <override>true</override>
290 <source>true</source>
292 <Export-Package>org.eclipse.collections.*</Export-Package>
296 <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
297 <source>true</source>
300 <id>net.sf.trove4j:trove4j:3.0.3</id>
301 <source>true</source>
303 <Bundle-Name>GNU Trove 3</Bundle-Name>
304 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
308 <id>org.freemarker:freemarker:2.3.23</id>
309 <source>true</source>
310 <override>true</override>
312 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
316 <id>com.lowagie:itext:2.1.7</id>
317 <source>true</source>
319 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
320 <Bundle-Version>${itext.version.actual}</Bundle-Version>
324 <id>org.mozilla:rhino:1.7.7.1</id>
325 <source>true</source>
327 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
329 <id>net.java.dev.jna:jna:4.1.0</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-platform:4.1.0</id>
335 <source>true</source>
338 <id>net.java.dev.jna:jna:4.3.0</id>
339 <source>true</source>
342 <id>net.java.dev.jna:jna-platform:4.3.0</id>
343 <source>true</source>
346 <id>javax.servlet:javax.servlet-api:${javax.version}</id>
347 <source>true</source>
350 <id>com.fasterxml.jackson.core:jackson-core:${jackson.version}</id>
351 <source>true</source>
354 <id>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}</id>
355 <source>true</source>
358 <id>com.fasterxml.jackson.core:jackson-databind:${jackson.version}</id>
359 <source>true</source>
361 <exclude>com.fasterxml.jackson.*</exclude>
365 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson.version}</id>
366 <source>true</source>
368 <exclude>com.fasterxml.jackson.*</exclude>
372 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}</id>
373 <source>true</source>
375 <exclude>com.fasterxml.jackson.*</exclude>
379 <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jackson.version}</id>
380 <source>true</source>
382 <exclude>com.fasterxml.jackson.*</exclude>
386 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:${jackson.version}</id>
387 <source>true</source>
389 <exclude>com.fasterxml.jackson.*</exclude>
393 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${jackson.version}</id>
394 <source>true</source>
396 <exclude>com.fasterxml.jackson.*</exclude>
400 <id>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}</id>
401 <source>true</source>
403 <exclude>com.fasterxml.jackson.*</exclude>
407 <id>org.slf4j:slf4j-api:${slf4j.version}</id>
408 <source>true</source>
409 <override>true</override>
411 <Bundle-Name>SLF4J API Module</Bundle-Name>
412 <Bundle-Version>${slf4j.version.actual}</Bundle-Version>
413 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
414 <Export-Package>*;version=${slf4j.version}</Export-Package>
418 <id>ch.qos.logback:logback-classic:1.2.3</id>
419 <source>true</source>
420 <override>true</override>
423 <id>com.koloboke:koloboke-compile:0.5.1</id>
424 <source>true</source>
427 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
428 <source>true</source>
431 <id>com.esotericsoftware:kryo:4.0.0</id>
432 <source>true</source>
435 <id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.14</id>
436 <source>true</source>
439 <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
440 <source>true</source>
443 <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
444 <source>true</source>
447 <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
448 <source>true</source>
451 <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
452 <source>true</source>
454 <exclude>com.fasterxml.jackson.*</exclude>
458 <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
459 <source>true</source>
462 <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
463 <source>true</source>
466 <id>org.jsoup:jsoup:1.8.3</id>
467 <source>true</source>
470 <id>org.eclipse.jetty:jetty-servlets:9.4.5.v20170502</id>
471 <source>true</source>
474 <id>io.grpc:io.grpc:${grpc.version}</id>
475 <source>true</source>
478 <id>io.grpc:grpc-netty:${grpc.version}</id>
479 <source>true</source>
480 <override>true</override>
483 io.netty.buffer;bundle-version="4.1.27",
484 io.netty.codec;bundle-version="4.1.27",
485 io.netty.codec-http;bundle-version="4.1.27",
486 io.netty.codec-http2;bundle-version="4.1.27",
487 io.netty.codec-socks;bundle-version="4.1.27",
488 io.netty.common;bundle-version="4.1.27",
489 io.netty.handler;bundle-version="4.1.27",
490 io.netty.handler-proxy;bundle-version="4.1.27",
491 io.netty.resolver;bundle-version="4.1.27",
492 io.netty.transport;bundle-version="4.1.27",
495 <Import-Package>!io.netty.*,*;resolution:=optional</Import-Package>
498 filter:="(osgi.extender=osgi.serviceloader.registrar)"
499 </Require-Capability>
502 osgi.serviceloader=io.grpc.ServerProvider,
504 osgi.serviceloader=io.grpc.ManagedChannelProvider
505 </Provide-Capability>
506 <Bundle-Version>${grpc.version.actual}</Bundle-Version>
510 <id>com.google.protobuf:protobuf-java:${protobuf.version}</id>
511 <source>true</source>
512 <override>true</override>
514 <Import-Package>!sun.misc.*,*;resolution:=optional</Import-Package>
518 <id>com.impossibl.pgjdbc-ng:pgjdbc-ng:0.7.1</id>
519 <source>true</source>
520 <transitive>false</transitive>
529 <groupId>org.mortbay.jetty</groupId>
530 <artifactId>jetty-maven-plugin</artifactId>
531 <version>8.1.5.v20120716</version>
533 <scanIntervalSeconds>10</scanIntervalSeconds>
534 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
536 <contextPath>/site</contextPath>