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