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 <lucene.version>4.9.0</lucene.version>
14 <lucene.version.actual>4.9.0.b0003</lucene.version.actual>
15 <lucene.prefix>org.apache.lucene4</lucene.prefix>
16 <jaxen.version>1.1.6</jaxen.version>
17 <jdom.version>2.0.6</jdom.version>
18 <jdom.version.actual>2.0.6.b0001</jdom.version.actual>
19 <jackson.version>2.8.8</jackson.version>
20 <javax.version>3.1.0</javax.version>
21 <jersey.version>2.25.1</jersey.version>
22 <slf4j.version>1.7.25</slf4j.version>
23 <slf4j.version.actual>1.7.25.b001</slf4j.version.actual>
24 <grpc.version>1.14.0</grpc.version>
25 <grpc.version.actual>1.14.0.b007</grpc.version.actual>
26 <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>
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:3.5.2</id>
108 <source>true</source>
111 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
112 <source>true</source>
114 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
115 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
116 <Export-Package>*;version="${lucene.version}"</Export-Package>
120 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
121 <source>true</source>
123 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
124 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
125 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
126 <Export-Package>*;version="${lucene.version}"</Export-Package>
127 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
131 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
132 <source>true</source>
134 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
135 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
136 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
137 <Export-Package>*;version="${lucene.version}"</Export-Package>
138 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
142 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
143 <source>true</source>
145 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
146 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
147 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
148 <Export-Package>*;version="${lucene.version}"</Export-Package>
149 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
153 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
154 <source>true</source>
156 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
157 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
158 <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>
159 <Export-Package>*;version="${lucene.version}"</Export-Package>
160 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
164 <id>jaxen:jaxen:${jaxen.version}</id>
165 <source>true</source>
168 <id>org.jdom:jdom2:${jdom.version}</id>
169 <source>true</source>
171 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
172 <Bundle-Version>${jdom.version.actual}</Bundle-Version>
173 <Export-Package>*;version="${jdom.version}"</Export-Package>
177 <id>org.jfree:jfreechart:1.0.19</id>
178 <source>true</source>
180 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
185 <id>org.ow2.asm:asm:5.0.4</id>
186 <source>true</source>
187 <override>true</override>
189 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
194 <id>net.sf.supercsv:super-csv:2.4.0</id>
195 <source>true</source>
196 <override>true</override>
198 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
202 <id>org.ini4j:ini4j:0.5.4</id>
203 <source>true</source>
206 <!-- Needed by Apache POI 3.15 -->
207 <id>commons-codec:commons-codec:1.10</id>
208 <source>true</source>
211 <id>commons-collections:commons-collections:3.2.2</id>
212 <source>true</source>
215 <!-- Needed by Apache POI 3.15 -->
216 <id>org.apache.commons:commons-collections4:4.1</id>
217 <source>true</source>
220 <id>org.apache.commons:commons-compress:1.12</id>
221 <source>true</source>
224 <id>commons-lang:commons-lang:2.6</id>
225 <source>true</source>
228 <!-- Needed by Apache POI 3.15 -->
229 <id>commons-logging:commons-logging:1.2</id>
230 <source>true</source>
233 <id>commons-io:commons-io:1.4</id>
234 <source>true</source>
237 <id>org.apache.commons:commons-math3:3.6.1</id>
238 <source>true</source>
242 <id>org.apache.pdfbox:pdfbox:2.0.3</id>
243 <source>true</source>
246 <id>org.apache.pdfbox:fontbox:2.0.3</id>
247 <source>true</source>
250 <id>org.apache.pdfbox:xmpbox:2.0.3</id>
251 <source>true</source>
254 <!-- Needed by Apache POI 3.15 -->
255 <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
256 <source>true</source>
259 <!-- Needed by Apache POI 3.15 -->
260 <id>com.github.virtuald:curvesapi:1.04</id>
261 <source>true</source>
264 <id>log4j:log4j:1.2.17</id>
265 <source>true</source>
266 <override>true</override>
268 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
272 <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
273 <source>true</source>
275 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
279 <id>it.unimi.dsi:fastutil:7.2.1</id>
280 <source>true</source>
283 <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
284 <override>true</override>
285 <source>true</source>
287 <Export-Package>org.eclipse.collections.*</Export-Package>
291 <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
292 <source>true</source>
295 <id>net.sf.trove4j:trove4j:3.0.3</id>
296 <source>true</source>
298 <Bundle-Name>GNU Trove 3</Bundle-Name>
299 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
303 <id>org.freemarker:freemarker:2.3.23</id>
304 <source>true</source>
305 <override>true</override>
307 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
311 <id>com.lowagie:itext:2.1.7</id>
312 <source>true</source>
314 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
315 <Bundle-Version>${itext.version.actual}</Bundle-Version>
319 <id>org.mozilla:rhino:1.7.7.1</id>
320 <source>true</source>
322 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
324 <id>net.java.dev.jna:jna:4.1.0</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-platform:4.1.0</id>
330 <source>true</source>
333 <id>net.java.dev.jna:jna:4.3.0</id>
334 <source>true</source>
337 <id>net.java.dev.jna:jna-platform:4.3.0</id>
338 <source>true</source>
341 <id>javax.servlet:javax.servlet-api:${javax.version}</id>
342 <source>true</source>
345 <id>com.fasterxml.jackson.core:jackson-core:${jackson.version}</id>
346 <source>true</source>
349 <id>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}</id>
350 <source>true</source>
353 <id>com.fasterxml.jackson.core:jackson-databind:${jackson.version}</id>
354 <source>true</source>
356 <exclude>com.fasterxml.jackson.*</exclude>
360 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson.version}</id>
361 <source>true</source>
363 <exclude>com.fasterxml.jackson.*</exclude>
367 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}</id>
368 <source>true</source>
370 <exclude>com.fasterxml.jackson.*</exclude>
374 <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jackson.version}</id>
375 <source>true</source>
377 <exclude>com.fasterxml.jackson.*</exclude>
381 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:${jackson.version}</id>
382 <source>true</source>
384 <exclude>com.fasterxml.jackson.*</exclude>
388 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${jackson.version}</id>
389 <source>true</source>
391 <exclude>com.fasterxml.jackson.*</exclude>
395 <id>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}</id>
396 <source>true</source>
398 <exclude>com.fasterxml.jackson.*</exclude>
402 <id>org.slf4j:slf4j-api:${slf4j.version}</id>
403 <source>true</source>
404 <override>true</override>
406 <Bundle-Name>SLF4J API Module</Bundle-Name>
407 <Bundle-Version>${slf4j.version.actual}</Bundle-Version>
408 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
409 <Export-Package>*;version=${slf4j.version}</Export-Package>
413 <id>ch.qos.logback:logback-classic:1.2.3</id>
414 <source>true</source>
415 <override>true</override>
418 <id>com.koloboke:koloboke-compile:0.5.1</id>
419 <source>true</source>
422 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
423 <source>true</source>
426 <id>com.esotericsoftware:kryo:4.0.0</id>
427 <source>true</source>
430 <id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.14</id>
431 <source>true</source>
434 <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
435 <source>true</source>
438 <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
439 <source>true</source>
442 <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
443 <source>true</source>
446 <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
447 <source>true</source>
449 <exclude>com.fasterxml.jackson.*</exclude>
453 <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
454 <source>true</source>
457 <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
458 <source>true</source>
461 <id>org.jsoup:jsoup:1.8.3</id>
462 <source>true</source>
465 <id>org.eclipse.jetty:jetty-servlets:9.4.5.v20170502</id>
466 <source>true</source>
469 <id>io.grpc:io.grpc:${grpc.version}</id>
470 <source>true</source>
473 <id>io.grpc:grpc-netty:${grpc.version}</id>
474 <source>true</source>
475 <override>true</override>
478 io.netty.buffer;bundle-version="4.1.27",
479 io.netty.codec;bundle-version="4.1.27",
480 io.netty.codec-http;bundle-version="4.1.27",
481 io.netty.codec-http2;bundle-version="4.1.27",
482 io.netty.codec-socks;bundle-version="4.1.27",
483 io.netty.common;bundle-version="4.1.27",
484 io.netty.handler;bundle-version="4.1.27",
485 io.netty.handler-proxy;bundle-version="4.1.27",
486 io.netty.resolver;bundle-version="4.1.27",
487 io.netty.transport;bundle-version="4.1.27",
490 <Import-Package>!io.netty.*,*;resolution:=optional</Import-Package>
493 filter:="(osgi.extender=osgi.serviceloader.registrar)"
494 </Require-Capability>
497 osgi.serviceloader=io.grpc.ServerProvider,
499 osgi.serviceloader=io.grpc.ManagedChannelProvider
500 </Provide-Capability>
501 <Bundle-Version>${grpc.version.actual}</Bundle-Version>
505 <id>com.google.protobuf:protobuf-java:${protobuf.version}</id>
506 <source>true</source>
507 <override>true</override>
509 <Import-Package>!sun.misc.*,*;resolution:=optional</Import-Package>
519 <groupId>org.mortbay.jetty</groupId>
520 <artifactId>jetty-maven-plugin</artifactId>
521 <version>8.1.5.v20120716</version>
523 <scanIntervalSeconds>10</scanIntervalSeconds>
524 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
526 <contextPath>/site</contextPath>