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>
30 <id>project-specific-deps</id>
31 <name>project-specific-deps</name>
32 <url>file:///${basedir}/repo</url>
40 <groupId>org.eclipse.tycho.extras</groupId>
41 <artifactId>tycho-p2-extras-plugin</artifactId>
42 <version>1.0.0</version>
45 <groupId>org.reficio</groupId>
46 <artifactId>p2-maven-plugin</artifactId>
47 <version>1.2.0</version>
51 <!-- QUICK-START EXAMPLE -->
53 This is the default quick-start configuration.
56 - specified dependencies will be fetched
57 - transitive dependencies will be fetched (no default exclusions)
58 - jars containing source source code will NOT be fetched
59 - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
60 if you specify instructions for these jars they will be APPLIED
61 - jars that are OSGi bundles will be simply included
62 if you specify instructions for these jars they will be IGNORED (see <override> option)
63 - p2 site will be generated
65 How the instructions works:
66 - instructions are applied only to the root artifact that you specify!
67 - instructions are not applied to the TRANSITIVE dependencies!
68 - transitive dependencies are never overridden (see <override> option)
69 - transitive dependencies are bundled using the default instructions:
71 <Import-Package>*;resolution:=optional</Import-Package>
72 <Export-Package>*</Export-Package>
74 - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
75 are calculated according to the following rules:
76 http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
77 - if you specify any instructions they will be applied only if
78 the jar is not already an OSGi bundle - otherwise you have to use the override
79 option - please see the /examples/override/pom.xml example
81 The following definition of an artifact:
83 <id>commons-io:commons-io:2.1</id>
86 is an equivalent of the following definition:
88 <id>commons-io:commons-io:2.1</id>
89 <transitive>true</transitive>
90 <source>false</source>
91 <override>false</override>
93 <Import-Package>*;resolution:=optional</Import-Package>
94 <Export-Package>*</Export-Package>
99 To run the example please invoke: mvn p2:site
104 <id>org.antlr:antlr-runtime:3.5.2</id>
105 <source>true</source>
108 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
109 <source>true</source>
111 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
112 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
113 <Export-Package>*;version="${lucene.version}"</Export-Package>
117 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
118 <source>true</source>
120 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
121 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
122 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
123 <Export-Package>*;version="${lucene.version}"</Export-Package>
124 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
128 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
129 <source>true</source>
131 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
132 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
133 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
134 <Export-Package>*;version="${lucene.version}"</Export-Package>
135 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
139 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
140 <source>true</source>
142 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
143 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
144 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
145 <Export-Package>*;version="${lucene.version}"</Export-Package>
146 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
150 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
151 <source>true</source>
153 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
154 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
155 <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>
156 <Export-Package>*;version="${lucene.version}"</Export-Package>
157 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
161 <id>jaxen:jaxen:${jaxen.version}</id>
162 <source>true</source>
165 <id>org.jdom:jdom2:${jdom.version}</id>
166 <source>true</source>
168 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
169 <Bundle-Version>${jdom.version.actual}</Bundle-Version>
170 <Export-Package>*;version="${jdom.version}"</Export-Package>
174 <id>org.jfree:jfreechart:1.0.19</id>
175 <source>true</source>
177 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
182 <id>org.ow2.asm:asm:5.0.4</id>
183 <source>true</source>
184 <override>true</override>
186 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
191 <id>net.sf.supercsv:super-csv:2.4.0</id>
192 <source>true</source>
193 <override>true</override>
195 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
199 <id>org.ini4j:ini4j:0.5.4</id>
200 <source>true</source>
203 <!-- Needed by Apache POI 3.15 -->
204 <id>commons-codec:commons-codec:1.10</id>
205 <source>true</source>
208 <id>commons-collections:commons-collections:3.2.2</id>
209 <source>true</source>
212 <!-- Needed by Apache POI 3.15 -->
213 <id>org.apache.commons:commons-collections4:4.1</id>
214 <source>true</source>
217 <id>org.apache.commons:commons-compress:1.12</id>
218 <source>true</source>
221 <id>commons-lang:commons-lang:2.6</id>
222 <source>true</source>
225 <!-- Needed by Apache POI 3.15 -->
226 <id>commons-logging:commons-logging:1.2</id>
227 <source>true</source>
230 <id>commons-io:commons-io:1.4</id>
231 <source>true</source>
234 <id>org.apache.commons:commons-math3:3.6.1</id>
235 <source>true</source>
239 <id>org.apache.pdfbox:pdfbox:2.0.3</id>
240 <source>true</source>
243 <id>org.apache.pdfbox:fontbox:2.0.3</id>
244 <source>true</source>
247 <id>org.apache.pdfbox:xmpbox:2.0.3</id>
248 <source>true</source>
251 <!-- Needed by Apache POI 3.15 -->
252 <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
253 <source>true</source>
256 <!-- Needed by Apache POI 3.15 -->
257 <id>com.github.virtuald:curvesapi:1.04</id>
258 <source>true</source>
261 <id>log4j:log4j:1.2.17</id>
262 <source>true</source>
263 <override>true</override>
265 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
269 <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
270 <source>true</source>
272 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
276 <id>it.unimi.dsi:fastutil:7.2.1</id>
277 <source>true</source>
280 <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
281 <override>true</override>
282 <source>true</source>
284 <Export-Package>org.eclipse.collections.*</Export-Package>
288 <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
289 <source>true</source>
292 <id>net.sf.trove4j:trove4j:3.0.3</id>
293 <source>true</source>
295 <Bundle-Name>GNU Trove 3</Bundle-Name>
296 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
300 <id>org.freemarker:freemarker:2.3.23</id>
301 <source>true</source>
302 <override>true</override>
304 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
308 <id>com.lowagie:itext:2.1.7</id>
309 <source>true</source>
311 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
312 <Bundle-Version>${itext.version.actual}</Bundle-Version>
316 <id>org.mozilla:rhino:1.7.7.1</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:4.1.0</id>
322 <source>true</source>
324 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
326 <id>net.java.dev.jna:jna-platform:4.1.0</id>
327 <source>true</source>
330 <id>net.java.dev.jna:jna:4.3.0</id>
331 <source>true</source>
334 <id>net.java.dev.jna:jna-platform:4.3.0</id>
335 <source>true</source>
338 <id>javax.servlet:javax.servlet-api:${javax.version}</id>
339 <source>true</source>
342 <id>com.fasterxml.jackson.core:jackson-core:${jackson.version}</id>
343 <source>true</source>
346 <id>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}</id>
347 <source>true</source>
350 <id>com.fasterxml.jackson.core:jackson-databind:${jackson.version}</id>
351 <source>true</source>
353 <exclude>com.fasterxml.jackson.*</exclude>
357 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson.version}</id>
358 <source>true</source>
360 <exclude>com.fasterxml.jackson.*</exclude>
364 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}</id>
365 <source>true</source>
367 <exclude>com.fasterxml.jackson.*</exclude>
371 <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jackson.version}</id>
372 <source>true</source>
374 <exclude>com.fasterxml.jackson.*</exclude>
378 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:${jackson.version}</id>
379 <source>true</source>
381 <exclude>com.fasterxml.jackson.*</exclude>
385 <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${jackson.version}</id>
386 <source>true</source>
388 <exclude>com.fasterxml.jackson.*</exclude>
392 <id>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}</id>
393 <source>true</source>
395 <exclude>com.fasterxml.jackson.*</exclude>
399 <id>org.slf4j:slf4j-api:${slf4j.version}</id>
400 <source>true</source>
401 <override>true</override>
403 <Bundle-Name>SLF4J API Module</Bundle-Name>
404 <Bundle-Version>${slf4j.version.actual}</Bundle-Version>
405 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
406 <Export-Package>*;version=${slf4j.version}</Export-Package>
410 <id>ch.qos.logback:logback-classic:1.2.3</id>
411 <source>true</source>
412 <override>true</override>
415 <id>com.koloboke:koloboke-compile:0.5.1</id>
416 <source>true</source>
419 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
420 <source>true</source>
423 <id>com.esotericsoftware:kryo:4.0.0</id>
424 <source>true</source>
427 <id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.8</id>
430 <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
431 <source>true</source>
434 <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
435 <source>true</source>
438 <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
439 <source>true</source>
442 <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
443 <source>true</source>
445 <exclude>com.fasterxml.jackson.*</exclude>
449 <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
450 <source>true</source>
453 <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
454 <source>true</source>
457 <id>org.jsoup:jsoup:1.8.3</id>
458 <source>true</source>
467 <groupId>org.mortbay.jetty</groupId>
468 <artifactId>jetty-maven-plugin</artifactId>
469 <version>8.1.5.v20120716</version>
471 <scanIntervalSeconds>10</scanIntervalSeconds>
472 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
474 <contextPath>/site</contextPath>