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 <jdom.version>2.0.6</jdom.version>
17 <jdom.version.actual>2.0.6.b0001</jdom.version.actual>
18 <jackson.version>2.8.8</jackson.version>
19 <javax.version>3.1.0</javax.version>
20 <jersey.version>2.25.1</jersey.version>
21 <slf4j.version>1.7.25</slf4j.version>
22 <slf4j.version.actual>1.7.25.b001</slf4j.version.actual>
29 <id>project-specific-deps</id>
30 <name>project-specific-deps</name>
31 <url>file:///${basedir}/repo</url>
39 <groupId>org.eclipse.tycho.extras</groupId>
40 <artifactId>tycho-p2-extras-plugin</artifactId>
41 <version>1.0.0</version>
44 <groupId>org.reficio</groupId>
45 <artifactId>p2-maven-plugin</artifactId>
46 <version>1.2.0</version>
50 <!-- QUICK-START EXAMPLE -->
52 This is the default quick-start configuration.
55 - specified dependencies will be fetched
56 - transitive dependencies will be fetched (no default exclusions)
57 - jars containing source source code will NOT be fetched
58 - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
59 if you specify instructions for these jars they will be APPLIED
60 - jars that are OSGi bundles will be simply included
61 if you specify instructions for these jars they will be IGNORED (see <override> option)
62 - p2 site will be generated
64 How the instructions works:
65 - instructions are applied only to the root artifact that you specify!
66 - instructions are not applied to the TRANSITIVE dependencies!
67 - transitive dependencies are never overridden (see <override> option)
68 - transitive dependencies are bundled using the default instructions:
70 <Import-Package>*;resolution:=optional</Import-Package>
71 <Export-Package>*</Export-Package>
73 - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
74 are calculated according to the following rules:
75 http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
76 - if you specify any instructions they will be applied only if
77 the jar is not already an OSGi bundle - otherwise you have to use the override
78 option - please see the /examples/override/pom.xml example
80 The following definition of an artifact:
82 <id>commons-io:commons-io:2.1</id>
85 is an equivalent of the following definition:
87 <id>commons-io:commons-io:2.1</id>
88 <transitive>true</transitive>
89 <source>false</source>
90 <override>false</override>
92 <Import-Package>*;resolution:=optional</Import-Package>
93 <Export-Package>*</Export-Package>
98 To run the example please invoke: mvn p2:site
103 <id>org.antlr:antlr-runtime:3.5.2</id>
104 <source>true</source>
107 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
108 <source>true</source>
110 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
111 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
112 <Export-Package>*;version="${lucene.version}"</Export-Package>
116 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
117 <source>true</source>
119 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
120 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
121 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
122 <Export-Package>*;version="${lucene.version}"</Export-Package>
123 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
127 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
128 <source>true</source>
130 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
131 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
132 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
133 <Export-Package>*;version="${lucene.version}"</Export-Package>
134 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
138 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
139 <source>true</source>
141 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
142 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
143 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
144 <Export-Package>*;version="${lucene.version}"</Export-Package>
145 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
149 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
150 <source>true</source>
152 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
153 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
154 <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>
155 <Export-Package>*;version="${lucene.version}"</Export-Package>
156 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
160 <id>org.jdom:jdom2:${jdom.version}</id>
161 <source>true</source>
163 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
164 <Bundle-Version>${jdom.version.actual}</Bundle-Version>
165 <Export-Package>*;version="${jdom.version}"</Export-Package>
169 <id>org.jfree:jfreechart:1.0.19</id>
170 <source>true</source>
172 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
177 <id>org.ow2.asm:asm:5.0.4</id>
178 <source>true</source>
179 <override>true</override>
181 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
186 <id>net.sf.supercsv:super-csv:2.4.0</id>
187 <source>true</source>
188 <override>true</override>
190 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
194 <id>org.ini4j:ini4j:0.5.4</id>
195 <source>true</source>
198 <!-- Needed by Apache POI 3.15 -->
199 <id>commons-codec:commons-codec:1.10</id>
200 <source>true</source>
203 <id>commons-collections:commons-collections:3.2.2</id>
204 <source>true</source>
207 <!-- Needed by Apache POI 3.15 -->
208 <id>org.apache.commons:commons-collections4:4.1</id>
209 <source>true</source>
212 <id>org.apache.commons:commons-compress:1.12</id>
213 <source>true</source>
216 <id>commons-lang:commons-lang:2.6</id>
217 <source>true</source>
220 <!-- Needed by Apache POI 3.15 -->
221 <id>commons-logging:commons-logging:1.2</id>
222 <source>true</source>
225 <id>commons-io:commons-io:1.4</id>
226 <source>true</source>
229 <id>org.apache.commons:commons-math3:3.6.1</id>
230 <source>true</source>
234 <id>org.apache.pdfbox:pdfbox:2.0.3</id>
235 <source>true</source>
238 <id>org.apache.pdfbox:fontbox:2.0.3</id>
239 <source>true</source>
242 <id>org.apache.pdfbox:xmpbox:2.0.3</id>
243 <source>true</source>
246 <!-- Needed by Apache POI 3.15 -->
247 <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
248 <source>true</source>
251 <!-- Needed by Apache POI 3.15 -->
252 <id>com.github.virtuald:curvesapi:1.04</id>
253 <source>true</source>
256 <id>log4j:log4j:1.2.17</id>
257 <source>true</source>
258 <override>true</override>
260 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
264 <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
265 <source>true</source>
267 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
271 <id>it.unimi.dsi:fastutil:7.2.1</id>
272 <source>true</source>
275 <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
276 <override>true</override>
277 <source>true</source>
279 <Export-Package>org.eclipse.collections.*</Export-Package>
283 <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
284 <source>true</source>
287 <id>net.sf.trove4j:trove4j:3.0.3</id>
288 <source>true</source>
290 <Bundle-Name>GNU Trove 3</Bundle-Name>
291 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
295 <id>org.freemarker:freemarker:2.3.23</id>
296 <source>true</source>
297 <override>true</override>
299 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
303 <id>com.lowagie:itext:2.1.7</id>
304 <source>true</source>
306 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
307 <Bundle-Version>${itext.version.actual}</Bundle-Version>
311 <id>org.mozilla:rhino:1.7.7.1</id>
312 <source>true</source>
314 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
316 <id>net.java.dev.jna:jna:4.1.0</id>
317 <source>true</source>
319 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
321 <id>net.java.dev.jna:jna-platform:4.1.0</id>
322 <source>true</source>
325 <id>net.java.dev.jna:jna:4.3.0</id>
326 <source>true</source>
329 <id>net.java.dev.jna:jna-platform:4.3.0</id>
330 <source>true</source>
333 <id>javax.servlet:javax.servlet-api:${javax.version}</id>
334 <source>true</source>
337 <id>com.fasterxml.jackson.core:jackson-core:${jackson.version}</id>
338 <source>true</source>
341 <id>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}</id>
342 <source>true</source>
345 <id>com.fasterxml.jackson.core:jackson-databind:${jackson.version}</id>
346 <source>true</source>
348 <exclude>com.fasterxml.jackson.*</exclude>
352 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson.version}</id>
353 <source>true</source>
355 <exclude>com.fasterxml.jackson.*</exclude>
359 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}</id>
360 <source>true</source>
362 <exclude>com.fasterxml.jackson.*</exclude>
366 <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jackson.version}</id>
367 <source>true</source>
369 <exclude>com.fasterxml.jackson.*</exclude>
373 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:${jackson.version}</id>
374 <source>true</source>
376 <exclude>com.fasterxml.jackson.*</exclude>
380 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${jackson.version}</id>
381 <source>true</source>
383 <exclude>com.fasterxml.jackson.*</exclude>
387 <id>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}</id>
388 <source>true</source>
390 <exclude>com.fasterxml.jackson.*</exclude>
394 <id>org.slf4j:slf4j-api:${slf4j.version}</id>
395 <source>true</source>
396 <override>true</override>
398 <Bundle-Name>SLF4J API Module</Bundle-Name>
399 <Bundle-Version>${slf4j.version.actual}</Bundle-Version>
400 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
401 <Export-Package>*;version=${slf4j.version}</Export-Package>
405 <id>ch.qos.logback:logback-classic:1.2.3</id>
406 <source>true</source>
407 <override>true</override>
410 <id>com.koloboke:koloboke-compile:0.5.1</id>
411 <source>true</source>
414 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
415 <source>true</source>
418 <id>com.esotericsoftware:kryo:4.0.0</id>
419 <source>true</source>
422 <id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.8</id>
425 <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
426 <source>true</source>
429 <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
430 <source>true</source>
433 <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
434 <source>true</source>
437 <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
438 <source>true</source>
440 <exclude>com.fasterxml.jackson.*</exclude>
444 <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
445 <source>true</source>
448 <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
449 <source>true</source>
452 <id>org.jsoup:jsoup:1.8.3</id>
453 <source>true</source>
462 <groupId>org.mortbay.jetty</groupId>
463 <artifactId>jetty-maven-plugin</artifactId>
464 <version>8.1.5.v20120716</version>
466 <scanIntervalSeconds>10</scanIntervalSeconds>
467 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
469 <contextPath>/site</contextPath>