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