]> gerrit.simantics Code Review - simantics/platform.git/blob - releng/org.simantics.sdk.build.p2.site/pom.xml
Merge commit '2bcb7e8598e769cf21fa6525fc244e1da3eceb31'
[simantics/platform.git] / releng / org.simantics.sdk.build.p2.site / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001 XMLSchema-instance"\r
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">\r
4         <modelVersion>4.0.0</modelVersion>\r
5 \r
6     <groupId>org.simantics</groupId>\r
7     <artifactId>org.simantics.sdk.build.p2.site</artifactId>\r
8     <packaging>pom</packaging>\r
9     <version>1.25.0</version>\r
10 \r
11     <properties>\r
12         <itext.version.actual>2.1.7.b1</itext.version.actual>\r
13         <lucene.version>4.9.0</lucene.version>\r
14         <lucene.version.actual>4.9.0.b0003</lucene.version.actual>\r
15         <lucene.prefix>org.apache.lucene4</lucene.prefix>\r
16     </properties>\r
17 \r
18 \r
19     <repositories>\r
20         <!--\r
21         <repository>\r
22             <id>project-specific-deps</id>\r
23             <name>project-specific-deps</name>\r
24             <url>file:///${basedir}/repo</url>\r
25         </repository>\r
26         -->\r
27     </repositories>\r
28 \r
29     <build>\r
30         <plugins>\r
31             <plugin>\r
32                 <groupId>org.eclipse.tycho.extras</groupId>\r
33                 <artifactId>tycho-p2-extras-plugin</artifactId>\r
34                 <version>0.25.0</version>\r
35             </plugin>\r
36             <plugin>\r
37                 <groupId>org.reficio</groupId>\r
38                 <artifactId>p2-maven-plugin</artifactId>\r
39                 <version>1.2.0-SNAPSHOT</version>\r
40                 <executions>\r
41                     <execution>\r
42                         <id>default-cli</id>\r
43                         <!-- QUICK-START EXAMPLE -->\r
44                         <!--\r
45                         This is the default quick-start configuration.\r
46 \r
47                         Expected behavior:\r
48                           - specified dependencies will be fetched\r
49                           - transitive dependencies will be fetched (no default exclusions)\r
50                           - jars containing source source code will NOT be fetched\r
51                           - jars that are NOT OSGi bundles will be "bundled" using bnd tool,\r
52                             if you specify instructions for these jars they will be APPLIED\r
53                           - jars that are OSGi bundles will be simply included\r
54                             if you specify instructions for these jars they will be IGNORED (see <override> option)\r
55                           - p2 site will be generated\r
56 \r
57                         How the instructions works:\r
58                           - instructions are applied only to the root artifact that you specify!\r
59                           - instructions are not applied to the TRANSITIVE dependencies!\r
60                           - transitive dependencies are never overridden (see <override> option)\r
61                           - transitive dependencies are bundled using the default instructions:\r
62                               <instructions>\r
63                                   <Import-Package>*;resolution:=optional</Import-Package>\r
64                                   <Export-Package>*</Export-Package>\r
65                               </instructions>\r
66                           - other instructions, such as, Bundle-SymbolicName, Bundle-Name, Bundle-Version, etc.\r
67                             are calculated according to the following rules:\r
68                             http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html\r
69                           - if you specify any instructions they will be applied only if\r
70                             the jar is not already an OSGi bundle - otherwise you have to use the override\r
71                             option - please see the /examples/override/pom.xml example\r
72 \r
73                         The following definition of an artifact:\r
74                             <artifact>\r
75                                 <id>commons-io:commons-io:2.1</id>\r
76                             </artifact>\r
77 \r
78                         is an equivalent of the following definition:\r
79                             <artifact>\r
80                                 <id>commons-io:commons-io:2.1</id>\r
81                                 <transitive>true</transitive>\r
82                                 <source>false</source>\r
83                                 <override>false</override>\r
84                                 <instructions>\r
85                                     <Import-Package>*;resolution:=optional</Import-Package>\r
86                                     <Export-Package>*</Export-Package>\r
87                                 </instructions>\r
88                                 <excludes/>\r
89                             </artifact>\r
90 \r
91                         To run the example please invoke: mvn p2:site\r
92                         -->\r
93                         <configuration>\r
94                             <artifacts>\r
95                                 <artifact>\r
96                                     <id>org.antlr:antlr-runtime:3.5.2</id>\r
97                                     <source>true</source>\r
98                                 </artifact>\r
99                                 <artifact>\r
100                                     <id>org.apache.poi:poi:3.14</id>\r
101                                     <source>true</source>\r
102                                 </artifact>\r
103                                 <artifact>\r
104                                     <id>org.apache.poi:poi-ooxml:3.14</id>\r
105                                     <source>true</source>\r
106                                 </artifact>\r
107                                 <artifact>\r
108                                     <id>org.apache.lucene:lucene-core:${lucene.version}</id>\r
109                                     <source>true</source>\r
110                                     <instructions>\r
111                                         <Bundle-SymbolicName>${lucene.prefix}.core</Bundle-SymbolicName>\r
112                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>\r
113                                         <Export-Package>*;version="${lucene.version}"</Export-Package>\r
114                                     </instructions>\r
115                                 </artifact>\r
116                                 <artifact>\r
117                                     <id>org.apache.lucene:lucene-queries:${lucene.version}</id>\r
118                                     <source>true</source>\r
119                                     <instructions>\r
120                                         <Bundle-SymbolicName>${lucene.prefix}.queries</Bundle-SymbolicName>\r
121                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>\r
122                                         <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>\r
123                                         <Export-Package>*;version="${lucene.version}"</Export-Package>\r
124                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>\r
125                                     </instructions>\r
126                                 </artifact>\r
127                                 <artifact>\r
128                                     <id>org.apache.lucene:lucene-sandbox:${lucene.version}</id>\r
129                                     <source>true</source>\r
130                                     <instructions>\r
131                                         <Bundle-SymbolicName>${lucene.prefix}.sandbox</Bundle-SymbolicName>\r
132                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>\r
133                                         <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>\r
134                                         <Export-Package>*;version="${lucene.version}"</Export-Package>\r
135                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>\r
136                                     </instructions>\r
137                                 </artifact>\r
138                                 <artifact>\r
139                                     <id>org.apache.lucene:lucene-analyzers-common:${lucene.version}</id>\r
140                                     <source>true</source>\r
141                                     <instructions>\r
142                                         <Bundle-SymbolicName>${lucene.prefix}.analyzers-common</Bundle-SymbolicName>\r
143                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>\r
144                                         <Require-Bundle>${lucene.prefix}.core;bundle-version="${lucene.version}"</Require-Bundle>\r
145                                         <Export-Package>*;version="${lucene.version}"</Export-Package>\r
146                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>\r
147                                     </instructions>\r
148                                 </artifact>\r
149                                 <artifact>\r
150                                     <id>org.apache.lucene:lucene-queryparser:${lucene.version}</id>\r
151                                     <source>true</source>\r
152                                     <instructions>\r
153                                         <Bundle-SymbolicName>${lucene.prefix}.queryparser</Bundle-SymbolicName>\r
154                                         <Bundle-Version>${lucene.version.actual}</Bundle-Version>\r
155                                         <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>\r
156                                         <Export-Package>*;version="${lucene.version}"</Export-Package>\r
157                                         <Import-Package>!org.apache.lucene.*,*;resolution:=optional</Import-Package>\r
158                                     </instructions>\r
159                                 </artifact>\r
160                                 <artifact>\r
161                                     <id>org.jdom:jdom2:2.0.6</id>\r
162                                     <source>true</source>\r
163                                     <instructions>\r
164                                         <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>\r
165                                     </instructions>\r
166                                 </artifact>\r
167                                 <artifact>\r
168                                     <id>org.jfree:jfreechart:1.0.19</id>\r
169                                     <source>true</source>\r
170                                     <instructions>\r
171                                         <Bundle-SymbolicName>org.jfree.jchart</Bundle-SymbolicName>\r
172                                     </instructions>\r
173                                 </artifact>\r
174                                 <!--\r
175                                 <artifact>\r
176                                     <id>org.ow2.asm:asm:5.0.4</id>\r
177                                     <source>true</source>\r
178                                     <override>true</override>\r
179                                     <instructions>\r
180                                         <Bundle-SymbolicName>org.objectweb.asm5</Bundle-SymbolicName>\r
181                                     </instructions>\r
182                                 </artifact>\r
183                                 -->\r
184                                 <artifact>\r
185                                     <id>net.sf.supercsv:super-csv:2.4.0</id>\r
186                                     <source>true</source>\r
187                                     <override>true</override>\r
188                                     <instructions>\r
189                                         <Bundle-SymbolicName>org.supercsv</Bundle-SymbolicName>\r
190                                     </instructions>\r
191                                 </artifact>\r
192                                 <artifact>\r
193                                     <id>org.ini4j:ini4j:0.5.4</id>\r
194                                     <source>true</source>\r
195                                 </artifact>\r
196                                 <artifact>\r
197                                     <id>commons-collections:commons-collections:3.2.2</id>\r
198                                     <source>true</source>\r
199                                 </artifact>\r
200                                 <artifact>\r
201                                     <id>org.apache.commons:commons-compress:1.12</id>\r
202                                     <source>true</source>\r
203                                 </artifact>\r
204                                 <artifact>\r
205                                     <id>commons-lang:commons-lang:2.6</id>\r
206                                     <source>true</source>\r
207                                 </artifact>\r
208                                 <artifact>\r
209                                     <id>commons-io:commons-io:1.4</id>\r
210                                     <source>true</source>\r
211                                 </artifact>\r
212                                 <artifact>\r
213                                     <id>org.apache.pdfbox:pdfbox:2.0.2</id>\r
214                                     <source>true</source>\r
215                                 </artifact>\r
216                                 <artifact>\r
217                                     <id>org.apache.pdfbox:fontbox:2.0.2</id>\r
218                                     <source>true</source>\r
219                                 </artifact>\r
220                                 <artifact>\r
221                                     <id>org.apache.pdfbox:xmpbox:2.0.2</id>\r
222                                     <source>true</source>\r
223                                 </artifact>\r
224                                 <artifact>\r
225                                     <id>log4j:log4j:1.2.17</id>\r
226                                     <source>true</source>\r
227                                     <override>true</override>\r
228                                     <instructions>\r
229                                         <Bundle-SymbolicName>org.apache.log4j</Bundle-SymbolicName>\r
230                                     </instructions>\r
231                                 </artifact>\r
232                                 <artifact>\r
233                                     <id>net.sf.ucanaccess:ucanaccess:3.0.6</id>\r
234                                     <source>true</source>\r
235                                     <instructions>\r
236                                         <Bundle-SymbolicName>net.ucanaccess</Bundle-SymbolicName>\r
237                                     </instructions>\r
238                                 </artifact>\r
239                                 <artifact>\r
240                                     <id>it.unimi.dsi:fastutil:7.0.12</id>\r
241                                     <source>true</source>\r
242                                 </artifact>\r
243                                 <artifact>\r
244                                     <id>org.eclipse.collections:eclipse-collections-api:7.1.0</id>\r
245                                     <override>true</override>\r
246                                     <source>true</source>\r
247                                     <instructions>\r
248                                         <Export-Package>org.eclipse.collections.*</Export-Package>\r
249                                     </instructions>\r
250                                 </artifact>\r
251                                 <artifact>\r
252                                     <id>org.eclipse.collections:eclipse-collections:7.1.0</id>\r
253                                     <source>true</source>\r
254                                 </artifact>\r
255                                 <artifact>\r
256                                     <id>net.sf.trove4j:trove4j:2.1.0</id>\r
257                                     <source>true</source>\r
258                                     <instructions>\r
259                                         <Bundle-Name>GNU Trove 2</Bundle-Name>\r
260                                         <Bundle-SymbolicName>gnu.trove2</Bundle-SymbolicName>\r
261                                     </instructions>\r
262                                 </artifact>\r
263                                 <artifact>\r
264                                     <id>net.sf.trove4j:trove4j:3.0.3</id>\r
265                                     <source>true</source>\r
266                                     <instructions>\r
267                                         <Bundle-Name>GNU Trove 3</Bundle-Name>\r
268                                         <Bundle-SymbolicName>gnu.trove3</Bundle-SymbolicName>\r
269                                     </instructions>\r
270                                 </artifact>\r
271                                 <artifact>\r
272                                     <id>org.freemarker:freemarker:2.3.23</id>\r
273                                     <source>true</source>\r
274                                     <override>true</override>\r
275                                     <instructions>\r
276                                         <Bundle-SymbolicName>freemarker</Bundle-SymbolicName>\r
277                                     </instructions>\r
278                                 </artifact>\r
279                                 <artifact>\r
280                                     <id>com.lowagie:itext:2.1.7</id>\r
281                                     <source>true</source>\r
282                                     <instructions>\r
283                                         <Bundle-SymbolicName>com.lowagie.text</Bundle-SymbolicName>\r
284                                         <Bundle-Version>${itext.version.actual}</Bundle-Version>\r
285                                     </instructions>\r
286                                 </artifact>\r
287                                 <artifact>\r
288                                     <id>javax.vecmath:vecmath:1.5.2</id>\r
289                                     <transitive>false</transitive>\r
290                                     <override>true</override>\r
291                                     <instructions>\r
292                                         <Export-Package>javax.vecmath</Export-Package>\r
293                                     </instructions>\r
294                                 </artifact>\r
295                                 <artifact>\r
296                                     <id>org.mozilla:rhino:1.7.7.1</id>\r
297                                     <source>true</source>\r
298                                 </artifact>\r
299                                 <artifact>\r
300                                     <id>net.java.dev.jna:jna:4.2.2</id>\r
301                                     <source>true</source>\r
302                                 </artifact>\r
303                                 <artifact>\r
304                                     <id>net.java.dev.jna:jna-platform:4.2.2</id>\r
305                                     <source>true</source>\r
306                                 </artifact>\r
307                                 <artifact>\r
308                                     <id>com.fasterxml.jackson.core:jackson-core:2.8.2</id>\r
309                                     <source>true</source>\r
310                                 </artifact>\r
311                             </artifacts>\r
312                         </configuration>\r
313                     </execution>\r
314                 </executions>\r
315             </plugin>\r
316 \r
317             <plugin>\r
318                 <groupId>org.mortbay.jetty</groupId>\r
319                 <artifactId>jetty-maven-plugin</artifactId>\r
320                 <version>8.1.5.v20120716</version>\r
321                 <configuration>\r
322                     <scanIntervalSeconds>10</scanIntervalSeconds>\r
323                     <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory>\r
324                     <webApp>\r
325                         <contextPath>/site</contextPath>\r
326                     </webApp>\r
327                 </configuration>\r
328             </plugin>\r
329         </plugins>\r
330     </build>\r
331 \r
332     <pluginRepositories>\r
333         <pluginRepository>\r
334             <id>reficio</id>\r
335             <url>http://repo.reficio.org/maven/</url>\r
336         </pluginRepository>\r
337     </pluginRepositories>\r
338 \r
339 </project>\r