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