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