Bump version to 3.3.18
[EMFCompare2.git] / plugins / org.eclipse.emf.compare.doc / pom.xml
blobc6fae80575507f67e69e22e60f7da3b528b7ff12
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   Copyright (c) 2007, 2013 Obeo.
4   All rights reserved. This program and the accompanying materials
5   are made available under the terms of the Eclipse Public License v1.0
6   which accompanies this distribution, and is available at
7   http://www.eclipse.org/legal/epl-v10.html
9   Contributors:
10        Obeo - Initial API and implementation
11 -->
13 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
14     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
15   <modelVersion>4.0.0</modelVersion>
16   <parent>
17     <artifactId>emf.compare-parent</artifactId>
18     <groupId>org.eclipse.emf.compare</groupId>
19     <version>3.3.18-SNAPSHOT</version>
20      <relativePath>../../org.eclipse.emf.compare-parent</relativePath>
21   </parent>
22   <groupId>org.eclipse.emf.compare</groupId>
23   <artifactId>org.eclipse.emf.compare.doc</artifactId>
24   <version>3.3.18-SNAPSHOT</version>
25   <packaging>eclipse-plugin</packaging>
27   <properties>
28     <simrel>mars</simrel>
29     <platform-isv>org.eclipse.platform.doc.isv/reference/api</platform-isv>
30     <javadoc-args>
31       -quiet
32       -breakiterator
33       -use
34       -splitIndex
35       -windowtitle "EMF Compare API Specification"
36       -doctitle "EMF Compare API Specification"
37       -header "&lt;span style='font-size:small'&gt;&lt;b&gt;EMF Compare&lt;/b&gt;&lt;br&gt;${unqualifiedVersion}.${buildQualifier}&lt;/span&gt;"
38       -bottom "&lt;br&gt;&lt;span style='font-size:small;float:right'&gt;Copyright (c) 2006, 2015 Obeo and others. All rights reserved.&lt;/span&gt;"
39       -tag 'noimplement:a:Restriction:'
40       -tag 'noextend:a:Restriction:'
41       -tag 'noreference:a:Restriction:'
42       -tag 'noinstantiate:a:Restriction:'
43       -tag 'nooverride:a:Restriction:'
44       -tag 'category:a:Category:'
45       -tag 'generated:a:Generated:'
46       -tag 'model:X'
47       -tag 'ordered:X'
48       -linkoffline http://download.oracle.com/javase/8/docs/api/ ${basedir}/javadoc-offline-package-lists/javase-8
49       -linkoffline http://www.osgi.org/javadoc/r5/core/ ${basedir}/javadoc-offline-package-lists/osgi-core-r5
50       -linkoffline http://www.osgi.org/javadoc/r5/enterprise/ ${basedir}/javadoc-offline-package-lists/osgi-enterprise-r5
51       -linkoffline http://download.eclipse.org/modeling/emf/emf/javadoc/2.9.0/ ${basedir}/javadoc-offline-package-lists/emf-2.9
52     </javadoc-args>
53   </properties>
55   <build>
56     <resources>
57       <resource>
58         <directory>.</directory>
59         <filtering>true</filtering>
60         <includes>
61           <include>publisher.properties</include>
62         </includes>
63       </resource>
64     </resources>
65     <plugins>
66       <plugin>
67         <groupId>org.eclipse.tycho</groupId>
68         <artifactId>tycho-packaging-plugin</artifactId>
69         <configuration>
70           <!-- 
71           As the the help folder and the plugin.xml will be generated @ build time 
72           by the o.e.e.c.gendoc WikitexToHTML tool, we can not use the build.properties 
73           file to specify its  inclusion, it would lead to warnings during the PDE build 
74           in the Eclipse workspace. We better include it with the following directive.
75            -->
76           <additionalFileSets>
77             <fileSet>
78               <directory>${project.basedir}/help</directory>
79               <prefix>help/</prefix>
80               <includes>
81                 <include>**/*</include>
82               </includes>
83             </fileSet>
84             <fileSet>
85               <directory>${project.basedir}</directory>
86               <includes>
87                 <include>plugin.xml</include>
88               </includes>
89             </fileSet>
90           </additionalFileSets>
91         </configuration>
92       </plugin>
93       <plugin>
94         <!--
95         Run the org.e.e.c.gendoc WikitTextToHTML tool to generate Eclipse help and
96         website HTML documentation.
97         -->
98         <groupId>org.codehaus.mojo</groupId>
99         <artifactId>exec-maven-plugin</artifactId>
100         <executions>
101           <execution>
102             <phase>generate-resources</phase>
103             <id>buid-info-generator</id>
104             <goals>
105               <goal>exec</goal>
106             </goals>
107             <configuration>
108               <executable>${JAVA_HOME}/bin/java</executable>
109               <arguments>
110                 <argument>-jar</argument>
111                 <argument>${project.basedir}/../../packaging/org.eclipse.emf.compare.gendoc/target/org.eclipse.emf.compare.gendoc-1.0-uberjar.jar</argument>
112                 <argument>-location</argument>
113                 <argument>${project.basedir}</argument>
114                 <argument>-projectid</argument>
115                 <argument>${project.artifactId}</argument>
116                 <argument>-projectname</argument>
117                 <argument>EMF Compare</argument>
118                 <argument>-eclipsehelp</argument>
119                 <argument>${project.basedir}/help</argument>
120                 <argument>-website</argument>
121                 <argument>${project.build.directory}/website</argument>
122                 <argument>-version</argument>
123                 <!-- Please update qualified version for each release.-->
124                 <argument>3.3.18.${buildQualifier}</argument>
125               </arguments>
126             </configuration>
127           </execution>
128         </executions>
129       </plugin>
130       <plugin>
131         <groupId>org.apache.maven.plugins</groupId>
132         <artifactId>maven-antrun-plugin</artifactId>
133         <executions>
134           <execution>
135             <phase>package</phase>
136             <goals>
137               <goal>run</goal>
138             </goals>
139           </execution>
140         </executions>
141         <configuration>
142           <target>
143             <!-- Please update qualified version for each release.-->
144             <zip destfile="${project.build.directory}/${project.artifactId}-website-3.3.18.${buildQualifier}.zip">
145               <zipfileset dir="${project.build.directory}/website"/>
146             </zip>
147           </target>
148         </configuration>
149       </plugin>
150     </plugins>
151   </build>
152   <profiles>
153     <profile>
154       <!--
155         Do the javadoc generation in a profile to keep standard builds (e.g. gerrit) fast.
156       -->
157       <id>javadoc</id>
158       <build>
159         <plugins>
160           <plugin>
161             <groupId>org.eclipse.tycho.extras</groupId>
162             <artifactId>tycho-document-bundle-plugin</artifactId>
163             <version>${tycho-version}</version>
164             <executions>
165               <execution>
166                 <id>eclipse-javadoc</id>
167                 <phase>generate-resources</phase>
168                 <goals>
169                   <goal>javadoc</goal>
170                 </goals>
171                 <configuration>
172                   <outputDirectory>${project.basedir}/help/developer/javadoc</outputDirectory>
173                   <tocFile>${project.basedir}/help/developer/toc-javadoc.xml</tocFile>
174                   <javadocOptions>
175                     <additionalArguments>
176                       <additionalArgument>${javadoc-args}</additionalArgument>
177                       <additionalArgument>
178                         -linkoffline ./../../../${platform-isv} ${basedir}/javadoc-offline-package-lists/eclipse-platform-${simrel}
179                       </additionalArgument>
180                     </additionalArguments>
181                   </javadocOptions>
182                 </configuration>
183               </execution>
184               <execution>
185                 <id>website-javadoc</id>
186                 <phase>generate-resources</phase>
187                 <goals>
188                   <goal>javadoc</goal>
189                 </goals>
190                 <configuration>
191                   <outputDirectory>${project.build.directory}/website/developer/javadoc</outputDirectory>
192                   <tocFile>${project.build.directory}/toc-javadoc.xml</tocFile>
193                   <javadocOptions>
194                     <additionalArguments>
195                       <additionalArgument>${javadoc-args}</additionalArgument>
196                       <additionalArgument>
197                         -linkoffline http://help.eclipse.org/${simrel}/topic/${platform-isv} ${basedir}/javadoc-offline-package-lists/eclipse-platform-${simrel}
198                       </additionalArgument>
199                     </additionalArguments>
200                   </javadocOptions>
201                 </configuration>
202               </execution>
203             </executions>
204           </plugin>
205         </plugins>
206       </build>
207     </profile>
208     <!--profile>
209       These should be reactivated when Tycho 0.22 will be used. We will be able to use
210       jvmOptions to add these properties to the javadoc options.
211       <id>env.http.proxyHost</id>
212       <activation>
213         <property>
214           <name>!env.http.proxyHost</name>
215         </property>
216       </activation>
217       <properties>
218          <http.proxyHost>proxy.eclipse.org</http.proxyHost>
219       </properties>
220     </profile>
221     <profile>
222       <id>env.http.proxyPort</id>
223       <activation>
224         <property>
225           <name>!env.http.proxyPort</name>
226         </property>
227       </activation>
228       <properties>
229          <http.proxyPort>proxy.eclipse.org</http.proxyPort>
230       </properties>
231     </profile>
232     <profile>
233       <id>env.https.proxyHost</id>
234       <activation>
235         <property>
236           <name>!env.https.proxyHost</name>
237         </property>
238       </activation>
239       <properties>
240          <https.proxyHost>proxy.eclipse.org</https.proxyHost>
241       </properties>
242     </profile>
243     <profile>
244       <id>env.https.proxyPort</id>
245       <activation>
246         <property>
247           <name>!env.https.proxyPort</name>
248         </property>
249       </activation>
250       <properties>
251          <https.proxyPort>proxy.eclipse.org</https.proxyPort>
252       </properties>
253     </profile-->
254   </profiles>
255 </project>