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.25.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>
22 <id>project-specific-deps</id>
23 <name>project-specific-deps</name>
24 <url>file:///${basedir}/repo</url>
32 <groupId>org.eclipse.tycho.extras</groupId>
33 <artifactId>tycho-p2-extras-plugin</artifactId>
34 <version>0.25.0</version>
37 <groupId>org.reficio</groupId>
38 <artifactId>p2-maven-plugin</artifactId>
39 <version>1.2.0-SNAPSHOT</version>
43 <!-- QUICK-START EXAMPLE -->
45 This is the default quick-start configuration.
48 - specified dependencies will be fetched
49 - transitive dependencies will be fetched (no default exclusions)
50 - jars containing source source code will NOT be fetched
51 - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
52 if you specify instructions for these jars they will be APPLIED
53 - jars that are OSGi bundles will be simply included
54 if you specify instructions for these jars they will be IGNORED (see <override> option)
55 - p2 site will be generated
57 How the instructions works:
58 - instructions are applied only to the root artifact that you specify!
59 - instructions are not applied to the TRANSITIVE dependencies!
60 - transitive dependencies are never overridden (see <override> option)
61 - transitive dependencies are bundled using the default instructions:
63 <Import-Package>*;resolution:=optional</Import-Package>
64 <Export-Package>*</Export-Package>
66 - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
67 are calculated according to the following rules:
68 http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
69 - if you specify any instructions they will be applied only if
70 the jar is not already an OSGi bundle - otherwise you have to use the override
71 option - please see the /examples/override/pom.xml example
73 The following definition of an artifact:
75 <id>commons-io:commons-io:2.1</id>
78 is an equivalent of the following definition:
80 <id>commons-io:commons-io:2.1</id>
81 <transitive>true</transitive>
82 <source>false</source>
83 <override>false</override>
85 <Import-Package>*;resolution:=optional</Import-Package>
86 <Export-Package>*</Export-Package>
91 To run the example please invoke: mvn p2:site
96 <id>org.antlr:antlr-runtime:3.5.2</id>
100 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
101 <source>true</source>
103 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
104 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
105 <Export-Package>*;version="${lucene.version}"</Export-Package>
109 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
110 <source>true</source>
112 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
113 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
114 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
115 <Export-Package>*;version="${lucene.version}"</Export-Package>
116 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
120 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
121 <source>true</source>
123 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
124 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
125 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
126 <Export-Package>*;version="${lucene.version}"</Export-Package>
127 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
131 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
132 <source>true</source>
134 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
135 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
136 <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
137 <Export-Package>*;version="${lucene.version}"</Export-Package>
138 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
142 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
143 <source>true</source>
145 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
146 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
147 <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>
148 <Export-Package>*;version="${lucene.version}"</Export-Package>
149 <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
153 <id>org.jdom:jdom2:2.0.6</id>
154 <source>true</source>
156 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
160 <id>org.jfree:jfreechart:1.0.19</id>
161 <source>true</source>
163 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
168 <id>org.ow2.asm:asm:5.0.4</id>
169 <source>true</source>
170 <override>true</override>
172 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
177 <id>net.sf.supercsv:super-csv:2.4.0</id>
178 <source>true</source>
179 <override>true</override>
181 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
185 <id>org.ini4j:ini4j:0.5.4</id>
186 <source>true</source>
189 <id>commons-collections:commons-collections:3.2.2</id>
190 <source>true</source>
193 <id>org.apache.commons:commons-collections4:4.1</id>
194 <source>true</source>
197 <id>org.apache.commons:commons-compress:1.12</id>
198 <source>true</source>
201 <id>commons-lang:commons-lang:2.6</id>
202 <source>true</source>
205 <id>commons-io:commons-io:1.4</id>
206 <source>true</source>
209 <id>org.apache.pdfbox:pdfbox:2.0.3</id>
210 <source>true</source>
213 <id>org.apache.pdfbox:fontbox:2.0.3</id>
214 <source>true</source>
217 <id>org.apache.pdfbox:xmpbox:2.0.3</id>
218 <source>true</source>
221 <id>log4j:log4j:1.2.17</id>
222 <source>true</source>
223 <override>true</override>
225 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
229 <id>net.sf.ucanaccess:ucanaccess:3.0.6</id>
230 <source>true</source>
232 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
236 <id>it.unimi.dsi:fastutil:7.0.13</id>
237 <source>true</source>
240 <id>org.eclipse.collections:eclipse-collections-api:7.1.0</id>
241 <override>true</override>
242 <source>true</source>
244 <Export-Package>org.eclipse.collections.*</Export-Package>
248 <id>org.eclipse.collections:eclipse-collections:7.1.0</id>
249 <source>true</source>
252 <id>net.sf.trove4j:trove4j:2.1.0</id>
253 <source>true</source>
255 <Bundle-Name>GNU Trove 2</Bundle-Name>
256 <Bundle-SymbolicName>gnu.trove2</Bundle-SymbolicName>
260 <id>net.sf.trove4j:trove4j:3.0.3</id>
261 <source>true</source>
263 <Bundle-Name>GNU Trove 3</Bundle-Name>
264 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
268 <id>org.freemarker:freemarker:2.3.23</id>
269 <source>true</source>
270 <override>true</override>
272 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
276 <id>com.lowagie:itext:2.1.7</id>
277 <source>true</source>
279 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
280 <Bundle-Version>${itext.version.actual}</Bundle-Version>
284 <id>javax.vecmath:vecmath:1.5.2</id>
285 <transitive>false</transitive>
286 <override>true</override>
288 <Export-Package>javax.vecmath</Export-Package>
292 <id>org.mozilla:rhino:1.7.7.1</id>
293 <source>true</source>
296 <id>net.java.dev.jna:jna:4.2.2</id>
297 <source>true</source>
300 <id>net.java.dev.jna:jna-platform:4.2.2</id>
301 <source>true</source>
304 <id>com.fasterxml.jackson.core:jackson-core:2.8.2</id>
305 <source>true</source>
308 <id>org.slf4j:slf4j-api:1.7.20</id>
309 <source>true</source>
310 <override>true</override>
312 <Bundle-Name>SLF4J API Module</Bundle-Name>
313 <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
317 <id>ch.qos.logback:logback-classic:1.1.7</id>
318 <source>true</source>
319 <override>true</override>
322 <id>com.koloboke:koloboke-compile:0.5.1</id>
323 <source>true</source>
326 <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
327 <source>true</source>
336 <groupId>org.mortbay.jetty</groupId>
337 <artifactId>jetty-maven-plugin</artifactId>
338 <version>8.1.5.v20120716</version>
340 <scanIntervalSeconds>10</scanIntervalSeconds>
341 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
343 <contextPath>/site</contextPath>
353 <url>http://repo.reficio.org/maven/</url>
355 </pluginRepositories>