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