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 <javax.version>3.1.0</javax.version>
19 <jersey.version>2.25.1</jersey.version>
26 <id>project-specific-deps</id>
27 <name>project-specific-deps</name>
28 <url>file:///${basedir}/repo</url>
36 <groupId>org.eclipse.tycho.extras</groupId>
37 <artifactId>tycho-p2-extras-plugin</artifactId>
38 <version>1.0.0</version>
41 <groupId>org.reficio</groupId>
42 <artifactId>p2-maven-plugin</artifactId>
43 <version>1.2.0</version>
47 <!-- QUICK-START EXAMPLE -->
49 This is the default quick-start configuration.
52 - specified dependencies will be fetched
53 - transitive dependencies will be fetched (no default exclusions)
54 - jars containing source source code will NOT be fetched
55 - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
56 if you specify instructions for these jars they will be APPLIED
57 - jars that are OSGi bundles will be simply included
58 if you specify instructions for these jars they will be IGNORED (see <override> option)
59 - p2 site will be generated
61 How the instructions works:
62 - instructions are applied only to the root artifact that you specify!
63 - instructions are not applied to the TRANSITIVE dependencies!
64 - transitive dependencies are never overridden (see <override> option)
65 - transitive dependencies are bundled using the default instructions:
67 <Import-Package>*;resolution:=optional</Import-Package>
68 <Export-Package>*</Export-Package>
70 - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
71 are calculated according to the following rules:
72 http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
73 - if you specify any instructions they will be applied only if
74 the jar is not already an OSGi bundle - otherwise you have to use the override
75 option - please see the /examples/override/pom.xml example
77 The following definition of an artifact:
79 <id>commons-io:commons-io:2.1</id>
82 is an equivalent of the following definition:
84 <id>commons-io:commons-io:2.1</id>
85 <transitive>true</transitive>
86 <source>false</source>
87 <override>false</override>
89 <Import-Package>*;resolution:=optional</Import-Package>
90 <Export-Package>*</Export-Package>
95 To run the example please invoke: mvn p2:site
100 <id>org.antlr:antlr-runtime:3.5.2</id>
101 <source>true</source>
104 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
105 <source>true</source>
107 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
108 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
109 <Export-Package>*;version="${lucene.version}"</Export-Package>
113 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
114 <source>true</source>
116 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
117 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
118 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
119 <Export-Package>*;version="${lucene.version}"</Export-Package>
120 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
124 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
125 <source>true</source>
127 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
128 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
129 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
130 <Export-Package>*;version="${lucene.version}"</Export-Package>
131 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
135 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
136 <source>true</source>
138 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
139 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
140 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
141 <Export-Package>*;version="${lucene.version}"</Export-Package>
142 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
146 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
147 <source>true</source>
149 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
150 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
151 <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>
152 <Export-Package>*;version="${lucene.version}"</Export-Package>
153 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
157 <id>org.jdom:jdom2:${jdom.version}</id>
158 <source>true</source>
160 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
161 <Bundle-Version>${jdom.version.actual}</Bundle-Version>
162 <Export-Package>*;version="${jdom.version}"</Export-Package>
166 <id>org.jfree:jfreechart:1.0.19</id>
167 <source>true</source>
169 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
174 <id>org.ow2.asm:asm:5.0.4</id>
175 <source>true</source>
176 <override>true</override>
178 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
183 <id>net.sf.supercsv:super-csv:2.4.0</id>
184 <source>true</source>
185 <override>true</override>
187 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
191 <id>org.ini4j:ini4j:0.5.4</id>
192 <source>true</source>
195 <!-- Needed by Apache POI 3.15 -->
196 <id>commons-codec:commons-codec:1.10</id>
197 <source>true</source>
200 <id>commons-collections:commons-collections:3.2.2</id>
201 <source>true</source>
204 <!-- Needed by Apache POI 3.15 -->
205 <id>org.apache.commons:commons-collections4:4.1</id>
206 <source>true</source>
209 <id>org.apache.commons:commons-compress:1.12</id>
210 <source>true</source>
213 <id>commons-lang:commons-lang:2.6</id>
214 <source>true</source>
217 <!-- Needed by Apache POI 3.15 -->
218 <id>commons-logging:commons-logging:1.2</id>
219 <source>true</source>
222 <id>commons-io:commons-io:1.4</id>
223 <source>true</source>
226 <id>org.apache.commons:commons-math3:3.6.1</id>
227 <source>true</source>
231 <id>org.apache.pdfbox:pdfbox:2.0.3</id>
232 <source>true</source>
235 <id>org.apache.pdfbox:fontbox:2.0.3</id>
236 <source>true</source>
239 <id>org.apache.pdfbox:xmpbox:2.0.3</id>
240 <source>true</source>
243 <!-- Needed by Apache POI 3.15 -->
244 <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
245 <source>true</source>
248 <!-- Needed by Apache POI 3.15 -->
249 <id>com.github.virtuald:curvesapi:1.04</id>
250 <source>true</source>
253 <id>log4j:log4j:1.2.17</id>
254 <source>true</source>
255 <override>true</override>
257 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
261 <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
262 <source>true</source>
264 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
268 <id>it.unimi.dsi:fastutil:7.2.1</id>
269 <source>true</source>
272 <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
273 <override>true</override>
274 <source>true</source>
276 <Export-Package>org.eclipse.collections.*</Export-Package>
280 <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
281 <source>true</source>
284 <id>net.sf.trove4j:trove4j:3.0.3</id>
285 <source>true</source>
287 <Bundle-Name>GNU Trove 3</Bundle-Name>
288 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
292 <id>org.freemarker:freemarker:2.3.23</id>
293 <source>true</source>
294 <override>true</override>
296 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
300 <id>com.lowagie:itext:2.1.7</id>
301 <source>true</source>
303 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
304 <Bundle-Version>${itext.version.actual}</Bundle-Version>
308 <id>org.mozilla:rhino:1.7.7.1</id>
309 <source>true</source>
311 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
313 <id>net.java.dev.jna:jna:4.1.0</id>
314 <source>true</source>
316 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
318 <id>net.java.dev.jna:jna-platform:4.1.0</id>
319 <source>true</source>
322 <id>net.java.dev.jna:jna:4.3.0</id>
323 <source>true</source>
326 <id>net.java.dev.jna:jna-platform:4.3.0</id>
327 <source>true</source>
330 <id>javax.servlet:javax.servlet-api:${javax.version}</id>
331 <source>true</source>
334 <id>com.fasterxml.jackson.core:jackson-core:2.8.8</id>
335 <source>true</source>
338 <id>com.fasterxml.jackson.core:jackson-databind:2.8.8</id>
339 <source>true</source>
342 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.8.8</id>
343 <source>true</source>
346 <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.8.8</id>
347 <source>true</source>
350 <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.8.8</id>
351 <source>true</source>
354 <id>org.slf4j:slf4j-api:1.7.25</id>
355 <source>true</source>
356 <override>true</override>
358 <Bundle-Name>SLF4J API Module</Bundle-Name>
359 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
363 <id>ch.qos.logback:logback-classic:1.2.3</id>
364 <source>true</source>
365 <override>true</override>
368 <id>com.koloboke:koloboke-compile:0.5.1</id>
369 <source>true</source>
372 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
373 <source>true</source>
376 <id>com.esotericsoftware:kryo:4.0.0</id>
377 <source>true</source>
380 <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
381 <source>true</source>
384 <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
385 <source>true</source>
388 <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
389 <source>true</source>
392 <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
393 <source>true</source>
396 <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
397 <source>true</source>
400 <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
401 <source>true</source>
404 <id>org.jsoup:jsoup:1.8.3</id>
405 <source>true</source>
414 <groupId>org.mortbay.jetty</groupId>
415 <artifactId>jetty-maven-plugin</artifactId>
416 <version>8.1.5.v20120716</version>
418 <scanIntervalSeconds>10</scanIntervalSeconds>
419 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
421 <contextPath>/site</contextPath>