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 <lucene.version>4.9.0</lucene.version>
\r
13 <lucene.prefix>org.apache.lucene4</lucene.prefix>
\r
20 <id>project-specific-deps</id>
\r
21 <name>project-specific-deps</name>
\r
22 <url>file:///${basedir}/repo</url>
\r
30 <groupId>org.eclipse.tycho.extras</groupId>
\r
31 <artifactId>tycho-p2-extras-plugin</artifactId>
\r
32 <version>0.25.0</version>
\r
35 <groupId>org.reficio</groupId>
\r
36 <artifactId>p2-maven-plugin</artifactId>
\r
37 <version>1.2.0-SNAPSHOT</version>
\r
40 <id>default-cli</id>
\r
41 <!-- QUICK-START EXAMPLE -->
\r
43 This is the default quick-start configuration.
\r
46 - specified dependencies will be fetched
\r
47 - transitive dependencies will be fetched (no default exclusions)
\r
48 - jars containing source source code will NOT be fetched
\r
49 - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
\r
50 if you specify instructions for these jars they will be APPLIED
\r
51 - jars that are OSGi bundles will be simply included
\r
52 if you specify instructions for these jars they will be IGNORED (see <override> option)
\r
53 - p2 site will be generated
\r
55 How the instructions works:
\r
56 - instructions are applied only to the root artifact that you specify!
\r
57 - instructions are not applied to the TRANSITIVE dependencies!
\r
58 - transitive dependencies are never overridden (see <override> option)
\r
59 - transitive dependencies are bundled using the default instructions:
\r
61 <Import-Package>*;resolution:=optional</Import-Package>
\r
62 <Export-Package>*</Export-Package>
\r
64 - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
\r
65 are calculated according to the following rules:
\r
66 http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
\r
67 - if you specify any instructions they will be applied only if
\r
68 the jar is not already an OSGi bundle - otherwise you have to use the override
\r
69 option - please see the /examples/override/pom.xml example
\r
71 The following definition of an artifact:
\r
73 <id>commons-io:commons-io:2.1</id>
\r
76 is an equivalent of the following definition:
\r
78 <id>commons-io:commons-io:2.1</id>
\r
79 <transitive>true</transitive>
\r
80 <source>false</source>
\r
81 <override>false</override>
\r
83 <Import-Package>*;resolution:=optional</Import-Package>
\r
84 <Export-Package>*</Export-Package>
\r
89 To run the example please invoke: mvn p2:site
\r
94 <id>org.antlr:antlr-runtime:3.5.2</id>
\r
95 <source>true</source>
\r
98 <id>org.apache.poi:poi:3.14</id>
\r
99 <source>true</source>
\r
102 <id>org.apache.poi:poi-ooxml:3.14</id>
\r
103 <source>true</source>
\r
106 <id>org.apache.lucene:lucene-core:${lucene.version}</id>
\r
107 <source>true</source>
\r
109 <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
\r
113 <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
\r
114 <source>true</source>
\r
116 <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
\r
120 <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
\r
121 <source>true</source>
\r
123 <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
\r
127 <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
\r
128 <source>true</source>
\r
130 <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
\r
134 <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
\r
135 <source>true</source>
\r
137 <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
\r
141 <id>org.jdom:jdom2:2.0.6</id>
\r
142 <source>true</source>
\r
144 <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
\r
148 <id>org.jfree:jfreechart:1.0.19</id>
\r
149 <source>true</source>
\r
151 <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
\r
156 <id>org.ow2.asm:asm:5.0.4</id>
\r
157 <source>true</source>
\r
158 <override>true</override>
\r
160 <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
\r
165 <id>net.sf.supercsv:super-csv:2.4.0</id>
\r
166 <source>true</source>
\r
167 <override>true</override>
\r
169 <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
\r
173 <id>org.ini4j:ini4j:0.5.4</id>
\r
174 <source>true</source>
\r
177 <id>commons-collections:commons-collections:3.2.2</id>
\r
178 <source>true</source>
\r
181 <id>org.apache.commons:commons-compress:1.12</id>
\r
182 <source>true</source>
\r
185 <id>commons-lang:commons-lang:2.6</id>
\r
186 <source>true</source>
\r
189 <id>commons-io:commons-io:1.4</id>
\r
190 <source>true</source>
\r
193 <id>org.apache.pdfbox:pdfbox:2.0.2</id>
\r
194 <source>true</source>
\r
197 <id>org.apache.pdfbox:fontbox:2.0.2</id>
\r
198 <source>true</source>
\r
201 <id>log4j:log4j:1.2.17</id>
\r
202 <source>true</source>
\r
203 <override>true</override>
\r
205 <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
\r
209 <id>net.sf.ucanaccess:ucanaccess:3.0.6</id>
\r
210 <source>true</source>
\r
212 <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
\r
216 <id>it.unimi.dsi:fastutil:7.0.12</id>
\r
217 <source>true</source>
\r
220 <id>org.eclipse.collections:eclipse-collections-api:7.1.0</id>
\r
221 <source>true</source>
\r
224 <id>org.eclipse.collections:eclipse-collections:7.1.0</id>
\r
225 <source>true</source>
\r
228 <id>net.sf.trove4j:trove4j:2.1.0</id>
\r
229 <source>true</source>
\r
231 <Bundle-Name>GNU Trove 2</Bundle-Name>
\r
232 <Bundle-SymbolicName>gnu.trove2</Bundle-SymbolicName>
\r
236 <id>net.sf.trove4j:trove4j:3.0.3</id>
\r
237 <source>true</source>
\r
239 <Bundle-Name>GNU Trove 3</Bundle-Name>
\r
240 <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
\r
244 <id>org.freemarker:freemarker:2.3.23</id>
\r
245 <source>true</source>
\r
246 <override>true</override>
\r
248 <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
\r
252 <id>com.lowagie:itext:2.1.7</id>
\r
253 <source>true</source>
\r
255 <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
\r
259 <id>javax.vecmath:vecmath:1.5.2</id>
\r
260 <transitive>false</transitive>
\r
261 <override>true</override>
\r
263 <Export-Package>javax.vecmath</Export-Package>
\r
267 <id>org.mozilla:rhino:1.7.7.1</id>
\r
268 <source>true</source>
\r
271 <id>net.java.dev.jna:jna:4.2.2</id>
\r
272 <source>true</source>
\r
275 <id>net.java.dev.jna:jna-platform:4.2.2</id>
\r
276 <source>true</source>
\r
285 <groupId>org.mortbay.jetty</groupId>
\r
286 <artifactId>jetty-maven-plugin</artifactId>
\r
287 <version>8.1.5.v20120716</version>
\r
289 <scanIntervalSeconds>10</scanIntervalSeconds>
\r
290 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
\r
292 <contextPath>/site</contextPath>
\r
299 <pluginRepositories>
\r
302 <url>http://repo.reficio.org/maven/</url>
\r
303 </pluginRepository>
\r
304 </pluginRepositories>
\r