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>
31 <id>project-specific-deps</id>
32 <name>project-specific-deps</name>
33 <url>file:///${basedir}/repo</url>
41 <groupId>org.eclipse.tycho.extras</groupId>
42 <artifactId>tycho-p2-extras-plugin</artifactId>
43 <version>1.0.0</version>
46 <groupId>org.reficio</groupId>
47 <artifactId>p2-maven-plugin</artifactId>
48 <version>1.2.0</version>
52 <!-- QUICK-START EXAMPLE -->
54 This is the default quick-start configuration.
57 - specified dependencies will be fetched
58 - transitive dependencies will be fetched (no default exclusions)
59 - jars containing source source code will NOT be fetched
60 - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
61 if you specify instructions for these jars they will be APPLIED
62 - jars that are OSGi bundles will be simply included
63 if you specify instructions for these jars they will be IGNORED (see <override> option)
64 - p2 site will be generated
66 How the instructions works:
67 - instructions are applied only to the root artifact that you specify!
68 - instructions are not applied to the TRANSITIVE dependencies!
69 - transitive dependencies are never overridden (see <override> option)
70 - transitive dependencies are bundled using the default instructions:
72 <Import-Package>*;resolution:=optional</Import-Package>
73 <Export-Package>*</Export-Package>
75 - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
76 are calculated according to the following rules:
77 http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
78 - if you specify any instructions they will be applied only if
79 the jar is not already an OSGi bundle - otherwise you have to use the override
80 option - please see the /examples/override/pom.xml example
82 The following definition of an artifact:
84 <id>commons-io:commons-io:2.1</id>
87 is an equivalent of the following definition:
89 <id>commons-io:commons-io:2.1</id>
90 <transitive>true</transitive>
91 <source>false</source>
92 <override>false</override>
94 <Import-Package>*;resolution:=optional</Import-Package>
95 <Export-Package>*</Export-Package>
100 To run the example please invoke: mvn p2:site
105 <id>org.antlr:antlr-runtime:${antlr.version}</id>
106 <source>true</source>
108 <Bundle-SymbolicName>org.antlr.runtime</Bundle-SymbolicName>
109 <Bundle-Version>${antlr.version}</Bundle-Version>
110 <Export-Package>*;version="${antlr.version}"</Export-Package>
114 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
115 <source>true</source>
117 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
118 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
119 <Export-Package>*;version="${lucene.version}"</Export-Package>
123 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
124 <source>true</source>
126 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
127 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
128 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
129 <Export-Package>*;version="${lucene.version}"</Export-Package>
130 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
134 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
135 <source>true</source>
137 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
138 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
139 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
140 <Export-Package>*;version="${lucene.version}"</Export-Package>
141 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
145 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
146 <source>true</source>
148 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
149 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
150 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
151 <Export-Package>*;version="${lucene.version}"</Export-Package>
152 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
156 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
157 <source>true</source>
159 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
160 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
161 <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>
162 <Export-Package>*;version="${lucene.version}"</Export-Package>
163 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
167 <id>jaxen:jaxen:${jaxen.version}</id>
168 <source>true</source>
171 <id>org.jdom:jdom2:${jdom.version}</id>
172 <source>true</source>
174 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
175 <Bundle-Version>${jdom.version.actual}</Bundle-Version>
176 <Export-Package>*;version="${jdom.version}"</Export-Package>
180 <id>org.jfree:jfreechart:1.0.19</id>
181 <source>true</source>
183 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
188 <id>org.ow2.asm:asm:5.0.4</id>
189 <source>true</source>
190 <override>true</override>
192 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
197 <id>net.sf.supercsv:super-csv:2.4.0</id>
198 <source>true</source>
199 <override>true</override>
201 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
205 <id>org.ini4j:ini4j:0.5.4</id>
206 <source>true</source>
209 <!-- Needed by Apache POI 3.15 -->
210 <id>commons-codec:commons-codec:1.10</id>
211 <source>true</source>
214 <id>commons-collections:commons-collections:3.2.2</id>
215 <source>true</source>
218 <!-- Needed by Apache POI 3.15 -->
219 <id>org.apache.commons:commons-collections4:4.1</id>
220 <source>true</source>
223 <id>org.apache.commons:commons-compress:1.12</id>
224 <source>true</source>
227 <id>commons-lang:commons-lang:2.6</id>
228 <source>true</source>
231 <!-- Needed by Apache POI 3.15 -->
232 <id>commons-logging:commons-logging:1.2</id>
233 <source>true</source>
236 <id>commons-io:commons-io:1.4</id>
237 <source>true</source>
240 <id>org.apache.commons:commons-math3:3.6.1</id>
241 <source>true</source>
245 <id>org.apache.pdfbox:pdfbox:2.0.3</id>
246 <source>true</source>
249 <id>org.apache.pdfbox:fontbox:2.0.3</id>
250 <source>true</source>
253 <id>org.apache.pdfbox:xmpbox:2.0.3</id>
254 <source>true</source>
257 <!-- Needed by Apache POI 3.15 -->
258 <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
259 <source>true</source>
262 <!-- Needed by Apache POI 3.15 -->
263 <id>com.github.virtuald:curvesapi:1.04</id>
264 <source>true</source>
267 <id>log4j:log4j:1.2.17</id>
268 <source>true</source>
269 <override>true</override>
271 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
275 <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
276 <source>true</source>
278 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
282 <id>it.unimi.dsi:fastutil:7.2.1</id>
283 <source>true</source>
286 <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
287 <override>true</override>
288 <source>true</source>
290 <Export-Package>org.eclipse.collections.*</Export-Package>
294 <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
295 <source>true</source>
298 <id>net.sf.trove4j:trove4j:3.0.3</id>
299 <source>true</source>
301 <Bundle-Name>GNU Trove 3</Bundle-Name>
302 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
306 <id>org.freemarker:freemarker:2.3.23</id>
307 <source>true</source>
308 <override>true</override>
310 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
314 <id>com.lowagie:itext:2.1.7</id>
315 <source>true</source>
317 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
318 <Bundle-Version>${itext.version.actual}</Bundle-Version>
322 <id>org.mozilla:rhino:1.7.7.1</id>
323 <source>true</source>
325 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
327 <id>net.java.dev.jna:jna:4.1.0</id>
328 <source>true</source>
330 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
332 <id>net.java.dev.jna:jna-platform:4.1.0</id>
333 <source>true</source>
336 <id>net.java.dev.jna:jna:4.3.0</id>
337 <source>true</source>
340 <id>net.java.dev.jna:jna-platform:4.3.0</id>
341 <source>true</source>
344 <id>javax.servlet:javax.servlet-api:${javax.version}</id>
345 <source>true</source>
348 <id>com.fasterxml.jackson.core:jackson-core:${jackson.version}</id>
349 <source>true</source>
352 <id>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}</id>
353 <source>true</source>
356 <id>com.fasterxml.jackson.core:jackson-databind:${jackson.version}</id>
357 <source>true</source>
359 <exclude>com.fasterxml.jackson.*</exclude>
363 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson.version}</id>
364 <source>true</source>
366 <exclude>com.fasterxml.jackson.*</exclude>
370 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}</id>
371 <source>true</source>
373 <exclude>com.fasterxml.jackson.*</exclude>
377 <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jackson.version}</id>
378 <source>true</source>
380 <exclude>com.fasterxml.jackson.*</exclude>
384 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:${jackson.version}</id>
385 <source>true</source>
387 <exclude>com.fasterxml.jackson.*</exclude>
391 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${jackson.version}</id>
392 <source>true</source>
394 <exclude>com.fasterxml.jackson.*</exclude>
398 <id>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}</id>
399 <source>true</source>
401 <exclude>com.fasterxml.jackson.*</exclude>
405 <id>org.slf4j:slf4j-api:${slf4j.version}</id>
406 <source>true</source>
407 <override>true</override>
409 <Bundle-Name>SLF4J API Module</Bundle-Name>
410 <Bundle-Version>${slf4j.version.actual}</Bundle-Version>
411 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
412 <Export-Package>*;version=${slf4j.version}</Export-Package>
416 <id>ch.qos.logback:logback-classic:1.2.3</id>
417 <source>true</source>
418 <override>true</override>
421 <id>com.koloboke:koloboke-compile:0.5.1</id>
422 <source>true</source>
425 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
426 <source>true</source>
429 <id>com.esotericsoftware:kryo:4.0.0</id>
430 <source>true</source>
433 <id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.8</id>
436 <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
437 <source>true</source>
440 <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
441 <source>true</source>
444 <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
445 <source>true</source>
448 <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
449 <source>true</source>
451 <exclude>com.fasterxml.jackson.*</exclude>
455 <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
456 <source>true</source>
459 <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
460 <source>true</source>
463 <id>org.jsoup:jsoup:1.8.3</id>
464 <source>true</source>
473 <groupId>org.mortbay.jetty</groupId>
474 <artifactId>jetty-maven-plugin</artifactId>
475 <version>8.1.5.v20120716</version>
477 <scanIntervalSeconds>10</scanIntervalSeconds>
478 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
480 <contextPath>/site</contextPath>