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>
24 <id>project-specific-deps</id>
25 <name>project-specific-deps</name>
26 <url>file:///${basedir}/repo</url>
34 <groupId>org.eclipse.tycho.extras</groupId>
35 <artifactId>tycho-p2-extras-plugin</artifactId>
36 <version>1.0.0</version>
39 <groupId>org.reficio</groupId>
40 <artifactId>p2-maven-plugin</artifactId>
41 <version>1.2.0</version>
45 <!-- QUICK-START EXAMPLE -->
47 This is the default quick-start configuration.
50 - specified dependencies will be fetched
51 - transitive dependencies will be fetched (no default exclusions)
52 - jars containing source source code will NOT be fetched
53 - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
54 if you specify instructions for these jars they will be APPLIED
55 - jars that are OSGi bundles will be simply included
56 if you specify instructions for these jars they will be IGNORED (see <override> option)
57 - p2 site will be generated
59 How the instructions works:
60 - instructions are applied only to the root artifact that you specify!
61 - instructions are not applied to the TRANSITIVE dependencies!
62 - transitive dependencies are never overridden (see <override> option)
63 - transitive dependencies are bundled using the default instructions:
65 <Import-Package>*;resolution:=optional</Import-Package>
66 <Export-Package>*</Export-Package>
68 - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
69 are calculated according to the following rules:
70 http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
71 - if you specify any instructions they will be applied only if
72 the jar is not already an OSGi bundle - otherwise you have to use the override
73 option - please see the /examples/override/pom.xml example
75 The following definition of an artifact:
77 <id>commons-io:commons-io:2.1</id>
80 is an equivalent of the following definition:
82 <id>commons-io:commons-io:2.1</id>
83 <transitive>true</transitive>
84 <source>false</source>
85 <override>false</override>
87 <Import-Package>*;resolution:=optional</Import-Package>
88 <Export-Package>*</Export-Package>
93 To run the example please invoke: mvn p2:site
98 <id>org.antlr:antlr-runtime:3.5.2</id>
102 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
103 <source>true</source>
105 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
106 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
107 <Export-Package>*;version="${lucene.version}"</Export-Package>
111 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
112 <source>true</source>
114 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
115 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
116 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
117 <Export-Package>*;version="${lucene.version}"</Export-Package>
118 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
122 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
123 <source>true</source>
125 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
126 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
127 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
128 <Export-Package>*;version="${lucene.version}"</Export-Package>
129 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
133 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
134 <source>true</source>
136 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
137 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
138 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
139 <Export-Package>*;version="${lucene.version}"</Export-Package>
140 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
144 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
145 <source>true</source>
147 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
148 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
149 <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>
150 <Export-Package>*;version="${lucene.version}"</Export-Package>
151 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
155 <id>org.jdom:jdom2:${jdom.version}</id>
156 <source>true</source>
158 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
159 <Bundle-Version>${jdom.version.actual}</Bundle-Version>
160 <Export-Package>*;version="${jdom.version}"</Export-Package>
164 <id>org.jfree:jfreechart:1.0.19</id>
165 <source>true</source>
167 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
172 <id>org.ow2.asm:asm:5.0.4</id>
173 <source>true</source>
174 <override>true</override>
176 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
181 <id>net.sf.supercsv:super-csv:2.4.0</id>
182 <source>true</source>
183 <override>true</override>
185 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
189 <id>org.ini4j:ini4j:0.5.4</id>
190 <source>true</source>
193 <!-- Needed by Apache POI 3.15 -->
194 <id>commons-codec:commons-codec:1.10</id>
195 <source>true</source>
198 <id>commons-collections:commons-collections:3.2.2</id>
199 <source>true</source>
202 <!-- Needed by Apache POI 3.15 -->
203 <id>org.apache.commons:commons-collections4:4.1</id>
204 <source>true</source>
207 <id>org.apache.commons:commons-compress:1.12</id>
208 <source>true</source>
211 <id>commons-lang:commons-lang:2.6</id>
212 <source>true</source>
215 <!-- Needed by Apache POI 3.15 -->
216 <id>commons-logging:commons-logging:1.2</id>
217 <source>true</source>
220 <id>commons-io:commons-io:1.4</id>
221 <source>true</source>
224 <id>org.apache.commons:commons-math3:3.6.1</id>
225 <source>true</source>
229 <id>org.apache.pdfbox:pdfbox:2.0.3</id>
230 <source>true</source>
233 <id>org.apache.pdfbox:fontbox:2.0.3</id>
234 <source>true</source>
237 <id>org.apache.pdfbox:xmpbox:2.0.3</id>
238 <source>true</source>
241 <!-- Needed by Apache POI 3.15 -->
242 <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
243 <source>true</source>
246 <!-- Needed by Apache POI 3.15 -->
247 <id>com.github.virtuald:curvesapi:1.04</id>
248 <source>true</source>
251 <id>log4j:log4j:1.2.17</id>
252 <source>true</source>
253 <override>true</override>
255 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
259 <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
260 <source>true</source>
262 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
266 <id>it.unimi.dsi:fastutil:7.2.1</id>
267 <source>true</source>
270 <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
271 <override>true</override>
272 <source>true</source>
274 <Export-Package>org.eclipse.collections.*</Export-Package>
278 <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
279 <source>true</source>
282 <id>net.sf.trove4j:trove4j:3.0.3</id>
283 <source>true</source>
285 <Bundle-Name>GNU Trove 3</Bundle-Name>
286 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
290 <id>org.freemarker:freemarker:2.3.23</id>
291 <source>true</source>
292 <override>true</override>
294 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
298 <id>com.lowagie:itext:2.1.7</id>
299 <source>true</source>
301 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
302 <Bundle-Version>${itext.version.actual}</Bundle-Version>
306 <id>org.mozilla:rhino:1.7.7.1</id>
307 <source>true</source>
310 <id>net.java.dev.jna:jna:4.3.0</id>
311 <source>true</source>
314 <id>net.java.dev.jna:jna-platform:4.3.0</id>
315 <source>true</source>
318 <id>com.fasterxml.jackson.core:jackson-core:2.8.8</id>
319 <source>true</source>
322 <id>com.fasterxml.jackson.core:jackson-databind:2.8.8</id>
323 <source>true</source>
326 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.8.8</id>
327 <source>true</source>
330 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.8.8</id>
331 <source>true</source>
334 <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.8.8</id>
335 <source>true</source>
338 <id>org.slf4j:slf4j-api:1.7.25</id>
339 <source>true</source>
340 <override>true</override>
342 <Bundle-Name>SLF4J API Module</Bundle-Name>
343 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
347 <id>ch.qos.logback:logback-classic:1.2.3</id>
348 <source>true</source>
349 <override>true</override>
352 <id>com.koloboke:koloboke-compile:0.5.1</id>
353 <source>true</source>
356 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
357 <source>true</source>
360 <id>com.esotericsoftware:kryo:4.0.0</id>
361 <source>true</source>
364 <id>org.glassfish.jersey.core:jersey-server:2.25.1</id>
365 <source>true</source>
368 <id>org.glassfish.jersey.core:jersey-client:2.25.1</id>
369 <source>true</source>
372 <id>org.glassfish.jersey.media:jersey-media-multipart:2.25.1</id>
373 <source>true</source>
376 <id>org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1</id>
377 <source>true</source>
380 <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
381 <source>true</source>
390 <groupId>org.mortbay.jetty</groupId>
391 <artifactId>jetty-maven-plugin</artifactId>
392 <version>8.1.5.v20120716</version>
394 <scanIntervalSeconds>10</scanIntervalSeconds>
395 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
397 <contextPath>/site</contextPath>