]> gerrit.simantics Code Review - simantics/platform.git/blob - releng/org.simantics.sdk.build.p2.site/pom.xml
Merge branch 'master' into private/eclipse-4.7
[simantics/platform.git] / releng / org.simantics.sdk.build.p2.site / pom.xml
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>
5
6     <groupId>org.simantics</groupId>
7     <artifactId>org.simantics.sdk.build.p2.site</artifactId>
8     <packaging>pom</packaging>
9     <version>1.30.0</version>
10
11     <properties>
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     </properties>
19
20
21     <repositories>
22         <!--
23         <repository>
24             <id>project-specific-deps</id>
25             <name>project-specific-deps</name>
26             <url>file:///${basedir}/repo</url>
27         </repository>
28         -->
29     </repositories>
30
31     <build>
32         <plugins>
33             <plugin>
34                 <groupId>org.eclipse.tycho.extras</groupId>
35                 <artifactId>tycho-p2-extras-plugin</artifactId>
36                 <version>1.0.0</version>
37             </plugin>
38             <plugin>
39                 <groupId>org.reficio</groupId>
40                 <artifactId>p2-maven-plugin</artifactId>
41                 <version>1.2.0</version>
42                 <executions>
43                     <execution>
44                         <id>default-cli</id>
45                         <!-- QUICK-START EXAMPLE -->
46                         <!--
47                         This is the default quick-start configuration.
48
49                         Expected behavior:
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
58
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:
64                               <instructions>
65                                   <Import-Package>*;resolution:=optional</Import-Package>
66                                   <Export-Package>*</Export-Package>
67                               </instructions>
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
74
75                         The following definition of an artifact:
76                             <artifact>
77                                 <id>commons-io:commons-io:2.1</id>
78                             </artifact>
79
80                         is an equivalent of the following definition:
81                             <artifact>
82                                 <id>commons-io:commons-io:2.1</id>
83                                 <transitive>true</transitive>
84                                 <source>false</source>
85                                 <override>false</override>
86                                 <instructions>
87                                     <Import-Package>*;resolution:=optional</Import-Package>
88                                     <Export-Package>*</Export-Package>
89                                 </instructions>
90                                 <excludes/>
91                             </artifact>
92
93                         To run the example please invoke: mvn p2:site
94                         -->
95                         <configuration>
96                             <artifacts>
97                                 <artifact>
98                                     <id>org.antlr:antlr-runtime:3.5.2</id>
99                                     <source>true</source>
100                                 </artifact>
101                                 <artifact>
102                                     <id>org.apache.lucene:lucene-core:${lucene.version}</id>
103                                     <source>true</source>
104                                     <instructions>
105                                         <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
106                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
107                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
108                                     </instructions>
109                                 </artifact>
110                                 <artifact>
111                                     <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
112                                     <source>true</source>
113                                     <instructions>
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>
119                                     </instructions>
120                                 </artifact>
121                                 <artifact>
122                                     <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
123                                     <source>true</source>
124                                     <instructions>
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>
130                                     </instructions>
131                                 </artifact>
132                                 <artifact>
133                                     <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
134                                     <source>true</source>
135                                     <instructions>
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>
141                                     </instructions>
142                                 </artifact>
143                                 <artifact>
144                                     <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
145                                     <source>true</source>
146                                     <instructions>
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>
152                                     </instructions>
153                                 </artifact>
154                                 <artifact>
155                                     <id>org.jdom:jdom2:${jdom.version}</id>
156                                     <source>true</source>
157                                     <instructions>
158                                         <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
159                                         <Bundle-Version>${jdom.version.actual}</Bundle-Version>
160                                         <Export-Package>*;version="${jdom.version}"</Export-Package>
161                                     </instructions>
162                                 </artifact>
163                                 <artifact>
164                                     <id>org.jfree:jfreechart:1.0.19</id>
165                                     <source>true</source>
166                                     <instructions>
167                                         <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
168                                     </instructions>
169                                 </artifact>
170                                 <!--
171                                 <artifact>
172                                     <id>org.ow2.asm:asm:5.0.4</id>
173                                     <source>true</source>
174                                     <override>true</override>
175                                     <instructions>
176                                         <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
177                                     </instructions>
178                                 </artifact>
179                                 -->
180                                 <artifact>
181                                     <id>net.sf.supercsv:super-csv:2.4.0</id>
182                                     <source>true</source>
183                                     <override>true</override>
184                                     <instructions>
185                                         <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
186                                     </instructions>
187                                 </artifact>
188                                 <artifact>
189                                     <id>org.ini4j:ini4j:0.5.4</id>
190                                     <source>true</source>
191                                 </artifact>
192                                 <artifact>
193                                     <!-- Needed by Apache POI 3.15 -->
194                                     <id>commons-codec:commons-codec:1.10</id>
195                                     <source>true</source>
196                                 </artifact>
197                                 <artifact>
198                                     <id>commons-collections:commons-collections:3.2.2</id>
199                                     <source>true</source>
200                                 </artifact>
201                                 <artifact>
202                                     <!-- Needed by Apache POI 3.15 -->
203                                     <id>org.apache.commons:commons-collections4:4.1</id>
204                                     <source>true</source>
205                                 </artifact>
206                                 <artifact>
207                                     <id>org.apache.commons:commons-compress:1.12</id>
208                                     <source>true</source>
209                                 </artifact>
210                                 <artifact>
211                                     <id>commons-lang:commons-lang:2.6</id>
212                                     <source>true</source>
213                                 </artifact>
214                                 <artifact>
215                                     <!-- Needed by Apache POI 3.15 -->
216                                     <id>commons-logging:commons-logging:1.2</id>
217                                     <source>true</source>
218                                 </artifact>
219                                 <artifact>
220                                     <id>commons-io:commons-io:1.4</id>
221                                     <source>true</source>
222                                 </artifact>
223                                 <artifact>
224                                     <id>org.apache.commons:commons-math3:3.6.1</id>
225                                     <source>true</source>
226                                 </artifact>
227
228                                 <artifact>
229                                     <id>org.apache.pdfbox:pdfbox:2.0.3</id>
230                                     <source>true</source>
231                                 </artifact>
232                                 <artifact>
233                                     <id>org.apache.pdfbox:fontbox:2.0.3</id>
234                                     <source>true</source>
235                                 </artifact>
236                                 <artifact>
237                                     <id>org.apache.pdfbox:xmpbox:2.0.3</id>
238                                     <source>true</source>
239                                 </artifact>
240                                 <artifact>
241                                     <!-- Needed by Apache POI 3.15 -->
242                                     <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
243                                     <source>true</source>
244                                 </artifact>
245                                 <artifact>
246                                     <!-- Needed by Apache POI 3.15 -->
247                                     <id>com.github.virtuald:curvesapi:1.04</id>
248                                     <source>true</source>
249                                 </artifact>
250                                 <artifact>
251                                     <id>log4j:log4j:1.2.17</id>
252                                     <source>true</source>
253                                     <override>true</override>
254                                     <instructions>
255                                         <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
256                                     </instructions>
257                                 </artifact>
258                                 <artifact>
259                                     <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
260                                     <source>true</source>
261                                     <instructions>
262                                         <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
263                                     </instructions>
264                                 </artifact>
265                                 <artifact>
266                                     <id>it.unimi.dsi:fastutil:7.2.1</id>
267                                     <source>true</source>
268                                 </artifact>
269                                 <artifact>
270                                     <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
271                                     <override>true</override>
272                                     <source>true</source>
273                                     <instructions>
274                                         <Export-Package>org.eclipse.collections.*</Export-Package>
275                                     </instructions>
276                                 </artifact>
277                                 <artifact>
278                                     <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
279                                     <source>true</source>
280                                 </artifact>
281                                 <artifact>
282                                     <id>net.sf.trove4j:trove4j:3.0.3</id>
283                                     <source>true</source>
284                                     <instructions>
285                                         <Bundle-Name>GNU Trove 3</Bundle-Name>
286                                         <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
287                                     </instructions>
288                                 </artifact>
289                                 <artifact>
290                                     <id>org.freemarker:freemarker:2.3.23</id>
291                                     <source>true</source>
292                                     <override>true</override>
293                                     <instructions>
294                                         <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
295                                     </instructions>
296                                 </artifact>
297                                 <artifact>
298                                     <id>com.lowagie:itext:2.1.7</id>
299                                     <source>true</source>
300                                     <instructions>
301                                         <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
302                                         <Bundle-Version>${itext.version.actual}</Bundle-Version>
303                                     </instructions>
304                                 </artifact>
305                                 <artifact>
306                                     <id>org.mozilla:rhino:1.7.7.1</id>
307                                     <source>true</source>
308                                 </artifact>
309                                 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
310                                 <artifact>
311                                     <id>net.java.dev.jna:jna:4.1.0</id>
312                                     <source>true</source>
313                                 </artifact>
314                                  <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
315                                 <artifact>
316                                     <id>net.java.dev.jna:jna-platform:4.1.0</id>
317                                     <source>true</source>
318                                 </artifact>
319                                 <artifact>
320                                     <id>net.java.dev.jna:jna:4.3.0</id>
321                                     <source>true</source>
322                                 </artifact>
323                                 <artifact>
324                                     <id>net.java.dev.jna:jna-platform:4.3.0</id>
325                                     <source>true</source>
326                                 </artifact>
327                                 <artifact>
328                                     <id>com.fasterxml.jackson.core:jackson-core:2.8.8</id>
329                                     <source>true</source>
330                                 </artifact>
331                                 <artifact>
332                                     <id>com.fasterxml.jackson.core:jackson-databind:2.8.8</id>
333                                     <source>true</source>
334                                 </artifact>
335                                 <artifact>
336                                     <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:2.8.8</id>
337                                     <source>true</source>
338                                 </artifact>
339                                 <artifact>
340                                     <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.8.8</id>
341                                     <source>true</source>
342                                 </artifact>
343                                 <artifact>
344                                     <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.8.8</id>
345                                     <source>true</source>
346                                 </artifact>
347                                 <artifact>
348                                     <id>org.slf4j:slf4j-api:1.7.25</id>
349                                     <source>true</source>
350                                     <override>true</override>
351                                     <instructions>
352                                         <Bundle-Name>SLF4J API Module</Bundle-Name>
353                                         <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
354                                     </instructions>
355                                 </artifact>
356                                 <artifact>
357                                     <id>ch.qos.logback:logback-classic:1.2.3</id>
358                                     <source>true</source>
359                                     <override>true</override>
360                                 </artifact>
361                                 <artifact>
362                                     <id>com.koloboke:koloboke-compile:0.5.1</id>
363                                     <source>true</source>
364                                 </artifact>
365                                 <artifact>
366                                     <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
367                                     <source>true</source>
368                                 </artifact>
369                                 <artifact>
370                                     <id>com.esotericsoftware:kryo:4.0.0</id>
371                                     <source>true</source>
372                                 </artifact>
373                                 <artifact>
374                                     <id>org.glassfish.jersey.core:jersey-server:2.25.1</id>
375                                     <source>true</source>
376                                 </artifact>
377                                 <artifact>
378                                     <id>org.glassfish.jersey.core:jersey-client:2.25.1</id>
379                                     <source>true</source>
380                                 </artifact>
381                                 <artifact>
382                                     <id>org.glassfish.jersey.media:jersey-media-multipart:2.25.1</id>
383                                     <source>true</source>
384                                 </artifact>
385                                 <artifact>
386                                     <id>org.glassfish.jersey.media:jersey-media-json-jackson:2.25.1</id>
387                                     <source>true</source>
388                                 </artifact>
389                                 <artifact>
390                                     <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
391                                     <source>true</source>
392                                 </artifact>
393                             </artifacts>
394                         </configuration>
395                     </execution>
396                 </executions>
397             </plugin>
398
399             <plugin>
400                 <groupId>org.mortbay.jetty</groupId>
401                 <artifactId>jetty-maven-plugin</artifactId>
402                 <version>8.1.5.v20120716</version>
403                 <configuration>
404                     <scanIntervalSeconds>10</scanIntervalSeconds>
405                     <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
406                     <webApp>
407                         <contextPath>/site</contextPath>
408                     </webApp>
409                 </configuration>
410             </plugin>
411         </plugins>
412     </build>
413
414 </project>