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