]> gerrit.simantics Code Review - simantics/platform.git/blob - releng/org.simantics.sdk.build.p2.site/pom.xml
190c95de58b097401adc29337eb0e0d4bd6eee3a
[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         <antlr.version>3.5.2</antlr.version>
14         <lucene.version>4.9.0</lucene.version>
15         <lucene.version.actual>4.9.0.b0003</lucene.version.actual>
16         <lucene.prefix>org.apache.lucene4</lucene.prefix>
17         <jaxen.version>1.1.6</jaxen.version>
18         <jdom.version>2.0.6</jdom.version>
19         <jdom.version.actual>2.0.6.b0001</jdom.version.actual>
20         <jackson.version>2.8.8</jackson.version>
21         <javax.version>3.1.0</javax.version>
22         <jersey.version>2.25.1</jersey.version>
23         <slf4j.version>1.7.25</slf4j.version>
24         <slf4j.version.actual>1.7.25.b001</slf4j.version.actual>
25     </properties>
26
27
28     <repositories>
29         <!--
30         <repository>
31             <id>project-specific-deps</id>
32             <name>project-specific-deps</name>
33             <url>file:///${basedir}/repo</url>
34         </repository>
35         --> 
36     </repositories>
37
38     <build>
39         <plugins>
40             <plugin>
41                 <groupId>org.eclipse.tycho.extras</groupId>
42                 <artifactId>tycho-p2-extras-plugin</artifactId>
43                 <version>1.0.0</version>
44             </plugin>
45             <plugin>
46                 <groupId>org.reficio</groupId>
47                 <artifactId>p2-maven-plugin</artifactId>
48                 <version>1.2.0</version>
49                 <executions>
50                     <execution>
51                         <id>default-cli</id>
52                         <!-- QUICK-START EXAMPLE -->
53                         <!--
54                         This is the default quick-start configuration.
55
56                         Expected behavior:
57                           - specified dependencies will be fetched
58                           - transitive dependencies will be fetched (no default exclusions)
59                           - jars containing source source code will NOT be fetched
60                           - jars that are NOT OSGi bundles will be "bundled" using bnd tool,
61                             if you specify instructions for these jars they will be APPLIED
62                           - jars that are OSGi bundles will be simply included
63                             if you specify instructions for these jars they will be IGNORED (see <override> option)
64                           - p2 site will be generated
65
66                         How the instructions works:
67                           - instructions are applied only to the root artifact that you specify!
68                           - instructions are not applied to the TRANSITIVE dependencies!
69                           - transitive dependencies are never overridden (see <override> option)
70                           - transitive dependencies are bundled using the default instructions:
71                               <instructions>
72                                   <Import-Package>*;resolution:=optional</Import-Package>
73                                   <Export-Package>*</Export-Package>
74                               </instructions>
75                           - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.
76                             are calculated according to the following rules:
77                             http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
78                           - if you specify any instructions they will be applied only if
79                             the jar is not already an OSGi bundle - otherwise you have to use the override
80                             option - please see the /examples/override/pom.xml example
81
82                         The following definition of an artifact:
83                             <artifact>
84                                 <id>commons-io:commons-io:2.1</id>
85                             </artifact>
86
87                         is an equivalent of the following definition:
88                             <artifact>
89                                 <id>commons-io:commons-io:2.1</id>
90                                 <transitive>true</transitive>
91                                 <source>false</source>
92                                 <override>false</override>
93                                 <instructions>
94                                     <Import-Package>*;resolution:=optional</Import-Package>
95                                     <Export-Package>*</Export-Package>
96                                 </instructions>
97                                 <excludes/>
98                             </artifact>
99
100                         To run the example please invoke: mvn p2:site
101                         -->
102                         <configuration>
103                             <artifacts>
104                                 <artifact>
105                                     <id>org.antlr:antlr-runtime:${antlr.version}</id>
106                                     <source>true</source>
107                                     <instructions>
108                                         <Bundle-SymbolicName>org.antlr.runtime</Bundle-SymbolicName>
109                                         <Bundle-Version>${antlr.version}</Bundle-Version>
110                                         <Export-Package>*;version="${antlr.version}"</Export-Package>
111                                     </instructions>                                    
112                                 </artifact>
113                                 <artifact>
114                                     <id>org.apache.lucene:lucene-core:${lucene.version}</id>
115                                     <source>true</source>
116                                     <instructions>
117                                         <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>
118                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
119                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
120                                     </instructions>
121                                 </artifact>
122                                 <artifact>
123                                     <id>org.apache.lucene:lucene-queries:${lucene.version}</id>
124                                     <source>true</source>
125                                     <instructions>
126                                         <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>
127                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
128                                         <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
129                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
130                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
131                                     </instructions>
132                                 </artifact>
133                                 <artifact>
134                                     <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>
135                                     <source>true</source>
136                                     <instructions>
137                                         <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>
138                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
139                                         <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
140                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
141                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
142                                     </instructions>
143                                 </artifact>
144                                 <artifact>
145                                     <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>
146                                     <source>true</source>
147                                     <instructions>
148                                         <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>
149                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
150                                         <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>
151                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
152                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
153                                     </instructions>
154                                 </artifact>
155                                 <artifact>
156                                     <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>
157                                     <source>true</source>
158                                     <instructions>
159                                         <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>
160                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>
161                                         <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>
162                                         <Export-Package>*;version="${lucene.version}"</Export-Package>
163                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>
164                                     </instructions>
165                                 </artifact>
166                                 <artifact>
167                                     <id>jaxen:jaxen:${jaxen.version}</id>
168                                     <source>true</source>
169                                 </artifact>
170                                 <artifact>
171                                     <id>org.jdom:jdom2:${jdom.version}</id>
172                                     <source>true</source>
173                                     <instructions>
174                                         <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
175                                         <Bundle-Version>${jdom.version.actual}</Bundle-Version>
176                                         <Export-Package>*;version="${jdom.version}"</Export-Package>
177                                     </instructions>
178                                 </artifact>
179                                 <artifact>
180                                     <id>org.jfree:jfreechart:1.0.19</id>
181                                     <source>true</source>
182                                     <instructions>
183                                         <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>
184                                     </instructions>
185                                 </artifact>
186                                 <!--
187                                 <artifact>
188                                     <id>org.ow2.asm:asm:5.0.4</id>
189                                     <source>true</source>
190                                     <override>true</override>
191                                     <instructions>
192                                         <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>
193                                     </instructions>
194                                 </artifact>
195                                 -->
196                                 <artifact>
197                                     <id>net.sf.supercsv:super-csv:2.4.0</id>
198                                     <source>true</source>
199                                     <override>true</override>
200                                     <instructions>
201                                         <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>
202                                     </instructions>
203                                 </artifact>
204                                 <artifact>
205                                     <id>org.ini4j:ini4j:0.5.4</id>
206                                     <source>true</source>
207                                 </artifact>
208                                 <artifact>
209                                     <!-- Needed by Apache POI 3.15 -->
210                                     <id>commons-codec:commons-codec:1.10</id>
211                                     <source>true</source>
212                                 </artifact>
213                                 <artifact>
214                                     <id>commons-collections:commons-collections:3.2.2</id>
215                                     <source>true</source>
216                                 </artifact>
217                                 <artifact>
218                                     <!-- Needed by Apache POI 3.15 -->
219                                     <id>org.apache.commons:commons-collections4:4.1</id>
220                                     <source>true</source>
221                                 </artifact>
222                                 <artifact>
223                                     <id>org.apache.commons:commons-compress:1.12</id>
224                                     <source>true</source>
225                                 </artifact>
226                                 <artifact>
227                                     <id>commons-lang:commons-lang:2.6</id>
228                                     <source>true</source>
229                                 </artifact>
230                                 <artifact>
231                                     <!-- Needed by Apache POI 3.15 -->
232                                     <id>commons-logging:commons-logging:1.2</id>
233                                     <source>true</source>
234                                 </artifact>
235                                 <artifact>
236                                     <id>commons-io:commons-io:1.4</id>
237                                     <source>true</source>
238                                 </artifact>
239                                 <artifact>
240                                     <id>org.apache.commons:commons-math3:3.6.1</id>
241                                     <source>true</source>
242                                 </artifact>
243
244                                 <artifact>
245                                     <id>org.apache.pdfbox:pdfbox:2.0.3</id>
246                                     <source>true</source>
247                                 </artifact>
248                                 <artifact>
249                                     <id>org.apache.pdfbox:fontbox:2.0.3</id>
250                                     <source>true</source>
251                                 </artifact>
252                                 <artifact>
253                                     <id>org.apache.pdfbox:xmpbox:2.0.3</id>
254                                     <source>true</source>
255                                 </artifact>
256                                 <artifact>
257                                     <!-- Needed by Apache POI 3.15 -->
258                                     <id>org.apache.xmlbeans:xmlbeans:2.6.0</id>
259                                     <source>true</source>
260                                 </artifact>
261                                 <artifact>
262                                     <!-- Needed by Apache POI 3.15 -->
263                                     <id>com.github.virtuald:curvesapi:1.04</id>
264                                     <source>true</source>
265                                 </artifact>
266                                 <artifact>
267                                     <id>log4j:log4j:1.2.17</id>
268                                     <source>true</source>
269                                     <override>true</override>
270                                     <instructions>
271                                         <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>
272                                     </instructions>
273                                 </artifact>
274                                 <artifact>
275                                     <id>net.sf.ucanaccess:ucanaccess:3.0.7</id>
276                                     <source>true</source>
277                                     <instructions>
278                                         <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>
279                                     </instructions>
280                                 </artifact>
281                                 <artifact>
282                                     <id>it.unimi.dsi:fastutil:7.2.1</id>
283                                     <source>true</source>
284                                 </artifact>
285                                 <artifact>
286                                     <id>org.eclipse.collections:eclipse-collections-api:8.1.0</id>
287                                     <override>true</override>
288                                     <source>true</source>
289                                     <instructions>
290                                         <Export-Package>org.eclipse.collections.*</Export-Package>
291                                     </instructions>
292                                 </artifact>
293                                 <artifact>
294                                     <id>org.eclipse.collections:eclipse-collections:8.1.0</id>
295                                     <source>true</source>
296                                 </artifact>
297                                 <artifact>
298                                     <id>net.sf.trove4j:trove4j:3.0.3</id>
299                                     <source>true</source>
300                                     <instructions>
301                                         <Bundle-Name>GNU Trove 3</Bundle-Name>
302                                         <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>
303                                     </instructions>
304                                 </artifact>
305                                 <artifact>
306                                     <id>org.freemarker:freemarker:2.3.23</id>
307                                     <source>true</source>
308                                     <override>true</override>
309                                     <instructions>
310                                         <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>
311                                     </instructions>
312                                 </artifact>
313                                 <artifact>
314                                     <id>com.lowagie:itext:2.1.7</id>
315                                     <source>true</source>
316                                     <instructions>
317                                         <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>
318                                         <Bundle-Version>${itext.version.actual}</Bundle-Version>
319                                     </instructions>
320                                 </artifact>
321                                 <artifact>
322                                     <id>org.mozilla:rhino:1.7.7.1</id>
323                                     <source>true</source>
324                                 </artifact>
325                                 <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
326                                 <artifact>
327                                     <id>net.java.dev.jna:jna:4.1.0</id>
328                                     <source>true</source>
329                                 </artifact>
330                                  <!-- org.eclipse.epp.mpc.core.win32 plug-in requires 4.1.0 -->
331                                 <artifact>
332                                     <id>net.java.dev.jna:jna-platform:4.1.0</id>
333                                     <source>true</source>
334                                 </artifact>
335                                 <artifact>
336                                     <id>net.java.dev.jna:jna:4.3.0</id>
337                                     <source>true</source>
338                                 </artifact>
339                                 <artifact>
340                                     <id>net.java.dev.jna:jna-platform:4.3.0</id>
341                                     <source>true</source>
342                                 </artifact>
343                                 <artifact>
344                                     <id>javax.servlet:javax.servlet-api:${javax.version}</id>
345                                     <source>true</source>
346                                 </artifact>
347                                 <artifact>
348                                     <id>com.fasterxml.jackson.core:jackson-core:${jackson.version}</id>
349                                     <source>true</source>
350                                 </artifact>
351                                 <artifact>
352                                     <id>com.fasterxml.jackson.core:jackson-annotations:${jackson.version}</id>
353                                     <source>true</source>
354                                 </artifact>
355                                 <artifact>
356                                     <id>com.fasterxml.jackson.core:jackson-databind:${jackson.version}</id>
357                                     <source>true</source>
358                                     <excludes>
359                                         <exclude>com.fasterxml.jackson.*</exclude>
360                                     </excludes>
361                                 </artifact>
362                                 <artifact>
363                                     <id>com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson.version}</id>
364                                     <source>true</source>
365                                     <excludes>
366                                         <exclude>com.fasterxml.jackson.*</exclude>
367                                     </excludes>
368                                 </artifact>
369                                 <artifact>
370                                     <id>com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jackson.version}</id>
371                                     <source>true</source>
372                                     <excludes>
373                                         <exclude>com.fasterxml.jackson.*</exclude>
374                                     </excludes>
375                                 </artifact>
376                                 <artifact>
377                                     <id>com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jackson.version}</id>
378                                     <source>true</source>
379                                     <excludes>
380                                         <exclude>com.fasterxml.jackson.*</exclude>
381                                     </excludes>
382                                 </artifact>
383                                 <artifact>
384                                     <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:${jackson.version}</id>
385                                     <source>true</source>
386                                     <excludes>
387                                         <exclude>com.fasterxml.jackson.*</exclude>
388                                     </excludes>
389                                 </artifact>
390                                 <artifact>
391                                     <id>com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:${jackson.version}</id>
392                                     <source>true</source>
393                                     <excludes>
394                                         <exclude>com.fasterxml.jackson.*</exclude>
395                                     </excludes>
396                                 </artifact>
397                                 <artifact>
398                                     <id>com.fasterxml.jackson.module:jackson-module-jaxb-annotations:${jackson.version}</id>
399                                     <source>true</source>
400                                     <excludes>
401                                         <exclude>com.fasterxml.jackson.*</exclude>
402                                     </excludes>
403                                 </artifact>
404                                 <artifact>
405                                     <id>org.slf4j:slf4j-api:${slf4j.version}</id>
406                                     <source>true</source>
407                                     <override>true</override>
408                                     <instructions>
409                                         <Bundle-Name>SLF4J API Module</Bundle-Name>
410                                         <Bundle-Version>${slf4j.version.actual}</Bundle-Version>
411                                         <Bundle-SymbolicName>org.slf4j.api</Bundle-SymbolicName>
412                                         <Export-Package>*;version=${slf4j.version}</Export-Package>
413                                     </instructions>
414                                 </artifact>
415                                 <artifact>
416                                     <id>ch.qos.logback:logback-classic:1.2.3</id>
417                                     <source>true</source>
418                                     <override>true</override>
419                                 </artifact>
420                                 <artifact>
421                                     <id>com.koloboke:koloboke-compile:0.5.1</id>
422                                     <source>true</source>
423                                 </artifact>
424                                 <artifact>
425                                     <id>com.koloboke:koloboke-impl-common-jdk8:1.0.0</id>
426                                     <source>true</source>
427                                 </artifact>
428                                 <artifact>
429                                     <id>com.esotericsoftware:kryo:4.0.0</id>
430                                     <source>true</source>
431                                 </artifact>
432                                  <artifact>
433                                      <id>org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.8</id>
434                                  </artifact>
435                                 <artifact>
436                                     <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
437                                     <source>true</source>
438                                 </artifact>
439                                 <artifact>
440                                     <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
441                                     <source>true</source>
442                                 </artifact>
443                                 <artifact>
444                                     <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
445                                     <source>true</source>
446                                 </artifact>
447                                 <artifact>
448                                     <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
449                                     <source>true</source>
450                                     <excludes>
451                                         <exclude>com.fasterxml.jackson.*</exclude>
452                                     </excludes>
453                                 </artifact>
454                                 <artifact>
455                                     <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
456                                     <source>true</source>
457                                 </artifact>
458                                 <artifact>
459                                     <id>org.jboss.windup.decompiler:decompiler-procyon:4.0.0.Beta1</id>
460                                     <source>true</source>
461                                 </artifact>
462                                 <artifact>
463                                     <id>org.jsoup:jsoup:1.8.3</id>
464                                     <source>true</source>
465                                 </artifact>
466                             </artifacts>
467                         </configuration>
468                     </execution>
469                 </executions>
470             </plugin>
471
472             <plugin>
473                 <groupId>org.mortbay.jetty</groupId>
474                 <artifactId>jetty-maven-plugin</artifactId>
475                 <version>8.1.5.v20120716</version>
476                 <configuration>
477                     <scanIntervalSeconds>10</scanIntervalSeconds>
478                     <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>
479                     <webApp>
480                         <contextPath>/site</contextPath>
481                     </webApp>
482                 </configuration>
483             </plugin>
484         </plugins>
485     </build>
486
487 </project>