1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001 XMLSchema-instance"
\r
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
\r
4 <modelVersion>4.0.0</modelVersion>
\r
6 <groupId>org.simantics</groupId>
\r
7 <artifactId>org.simantics.sdk.build.p2.site</artifactId>
\r
8 <packaging>pom</packaging>
\r
9 <version>1.25.0</version>
\r
12 <itext.version.actual>2.1.7.b1</itext.version.actual>
\r
13 <lucene.version>4.9.0</lucene.version>
\r
14 <lucene.version.actual>4.9.0.b0001</lucene.version.actual>
\r
15 <lucene.prefix>org.apache.lucene4</lucene.prefix>
\r
22 <id>project-specific-deps</id>
\r
23 <name>project-specific-deps</name>
\r
24 <url>file:///${basedir}/repo</url>
\r
32 <groupId>org.eclipse.tycho.extras</groupId>
\r
33 <artifactId>tycho-p2-extras-plugin</artifactId>
\r
34 <version>0.25.0</version>
\r
37 <groupId>org.reficio</groupId>
\r
38 <artifactId>p2-maven-plugin</artifactId>
\r
39 <version>1.2.0-SNAPSHOT</version>
\r
42 <id>default-cli</id>
\r
43 <!-- QUICK-START EXAMPLE -->
\r
45 This is the default quick-start configuration.
\r
48 - specified dependencies will be fetched
\r
49 - transitive dependencies will be fetched (no default exclusions)
\r
50 - jars containing source source code will NOT be fetched
\r
51 - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
\r
52 if you specify instructions for these jars they will be APPLIED
\r
53 - jars that are OSGi bundles will be simply included
\r
54 if you specify instructions for these jars they will be IGNORED (see <override> option)
\r
55 - p2 site will be generated
\r
57 How the instructions works:
\r
58 - instructions are applied only to the root artifact that you specify!
\r
59 - instructions are not applied to the TRANSITIVE dependencies!
\r
60 - transitive dependencies are never overridden (see <override> option)
\r
61 - transitive dependencies are bundled using the default instructions:
\r
63 <Import-Package>*;resolution:=optional</Import-Package>
\r
64 <Export-Package>*</Export-Package>
\r
66 - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
\r
67 are calculated according to the following rules:
\r
68 http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
\r
69 - if you specify any instructions they will be applied only if
\r
70 the jar is not already an OSGi bundle - otherwise you have to use the override
\r
71 option - please see the /examples/override/pom.xml example
\r
73 The following definition of an artifact:
\r
75 <id>commons-io:commons-io:2.1</id>
\r
78 is an equivalent of the following definition:
\r
80 <id>commons-io:commons-io:2.1</id>
\r
81 <transitive>true</transitive>
\r
82 <source>false</source>
\r
83 <override>false</override>
\r
85 <Import-Package>*;resolution:=optional</Import-Package>
\r
86 <Export-Package>*</Export-Package>
\r
91 To run the example please invoke: mvn p2:site
\r
96 <id>org.antlr:antlr-runtime:3.5.2</id>
\r
97 <source>true</source>
\r
100 <id>org.apache.poi:poi:3.14</id>
\r
101 <source>true</source>
\r
104 <id>org.apache.poi:poi-ooxml:3.14</id>
\r
105 <source>true</source>
\r
108 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
\r
109 <source>true</source>
\r
111 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
\r
112 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
\r
116 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
\r
117 <source>true</source>
\r
119 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
\r
120 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
\r
121 <Import-Package>org.apache.lucene.*;version="${lucene.version}";resolution:=optional,*;resolution:=optional</Import-Package>
\r
125 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
\r
126 <source>true</source>
\r
128 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
\r
129 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
\r
130 <Import-Package>org.apache.lucene.*;version="${lucene.version}";resolution:=optional,*;resolution:=optional</Import-Package>
\r
134 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
\r
135 <source>true</source>
\r
137 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
\r
138 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
\r
139 <Import-Package>org.apache.lucene.*;version="${lucene.version}";resolution:=optional,*;resolution:=optional</Import-Package>
\r
143 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
\r
144 <source>true</source>
\r
146 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
\r
147 <Bundle-Version>${lucene.version.actual}</Bundle-Version>
\r
148 <Import-Package>org.apache.lucene.*;version="${lucene.version}";resolution:=optional,*;resolution:=optional</Import-Package>
\r
152 <id>org.jdom:jdom2:2.0.6</id>
\r
153 <source>true</source>
\r
155 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
\r
159 <id>org.jfree:jfreechart:1.0.19</id>
\r
160 <source>true</source>
\r
162 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
\r
167 <id>org.ow2.asm:asm:5.0.4</id>
\r
168 <source>true</source>
\r
169 <override>true</override>
\r
171 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
\r
176 <id>net.sf.supercsv:super-csv:2.4.0</id>
\r
177 <source>true</source>
\r
178 <override>true</override>
\r
180 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
\r
184 <id>org.ini4j:ini4j:0.5.4</id>
\r
185 <source>true</source>
\r
188 <id>commons-collections:commons-collections:3.2.2</id>
\r
189 <source>true</source>
\r
192 <id>org.apache.commons:commons-compress:1.12</id>
\r
193 <source>true</source>
\r
196 <id>commons-lang:commons-lang:2.6</id>
\r
197 <source>true</source>
\r
200 <id>commons-io:commons-io:1.4</id>
\r
201 <source>true</source>
\r
204 <id>org.apache.pdfbox:pdfbox:2.0.2</id>
\r
205 <source>true</source>
\r
208 <id>org.apache.pdfbox:fontbox:2.0.2</id>
\r
209 <source>true</source>
\r
212 <id>org.apache.pdfbox:xmpbox:2.0.2</id>
\r
213 <source>true</source>
\r
216 <id>log4j:log4j:1.2.17</id>
\r
217 <source>true</source>
\r
218 <override>true</override>
\r
220 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
\r
224 <id>net.sf.ucanaccess:ucanaccess:3.0.6</id>
\r
225 <source>true</source>
\r
227 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
\r
231 <id>it.unimi.dsi:fastutil:7.0.12</id>
\r
232 <source>true</source>
\r
235 <id>org.eclipse.collections:eclipse-collections-api:7.1.0</id>
\r
236 <source>true</source>
\r
239 <id>org.eclipse.collections:eclipse-collections:7.1.0</id>
\r
240 <source>true</source>
\r
243 <id>net.sf.trove4j:trove4j:2.1.0</id>
\r
244 <source>true</source>
\r
246 <Bundle-Name>GNU Trove 2</Bundle-Name>
\r
247 <Bundle-SymbolicName>gnu.trove2</Bundle-SymbolicName>
\r
251 <id>net.sf.trove4j:trove4j:3.0.3</id>
\r
252 <source>true</source>
\r
254 <Bundle-Name>GNU Trove 3</Bundle-Name>
\r
255 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
\r
259 <id>org.freemarker:freemarker:2.3.23</id>
\r
260 <source>true</source>
\r
261 <override>true</override>
\r
263 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
\r
267 <id>com.lowagie:itext:2.1.7</id>
\r
268 <source>true</source>
\r
270 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
\r
271 <Bundle-Version>${itext.version.actual}</Bundle-Version>
\r
275 <id>javax.vecmath:vecmath:1.5.2</id>
\r
276 <transitive>false</transitive>
\r
277 <override>true</override>
\r
279 <Export-Package>javax.vecmath</Export-Package>
\r
283 <id>org.mozilla:rhino:1.7.7.1</id>
\r
284 <source>true</source>
\r
287 <id>net.java.dev.jna:jna:4.2.2</id>
\r
288 <source>true</source>
\r
291 <id>net.java.dev.jna:jna-platform:4.2.2</id>
\r
292 <source>true</source>
\r
301 <groupId>org.mortbay.jetty</groupId>
\r
302 <artifactId>jetty-maven-plugin</artifactId>
\r
303 <version>8.1.5.v20120716</version>
\r
305 <scanIntervalSeconds>10</scanIntervalSeconds>
\r
306 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
\r
308 <contextPath>/site</contextPath>
\r
315 <pluginRepositories>
\r
318 <url>http://repo.reficio.org/maven/</url>
\r
319 </pluginRepository>
\r
320 </pluginRepositories>
\r