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