1 <?xml version="1.0" encoding="UTF-8"?>
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
10 Obeo - Initial API and implementation
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>
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>
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>
29 <platform-isv>org.eclipse.platform.doc.isv/reference/api</platform-isv>
35 -windowtitle "EMF Compare API Specification"
36 -doctitle "EMF Compare API Specification"
37 -header "<span style='font-size:small'><b>EMF Compare</b><br>${unqualifiedVersion}.${buildQualifier}</span>"
38 -bottom "<br><span style='font-size:small;float:right'>Copyright (c) 2006, 2015 Obeo and others. All rights reserved.</span>"
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:'
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
58 <directory>.</directory>
59 <filtering>true</filtering>
61 <include>publisher.properties</include>
67 <groupId>org.eclipse.tycho</groupId>
68 <artifactId>tycho-packaging-plugin</artifactId>
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.
78 <directory>${project.basedir}/help</directory>
79 <prefix>help/</prefix>
81 <include>**/*</include>
85 <directory>${project.basedir}</directory>
87 <include>plugin.xml</include>
95 Run the org.e.e.c.gendoc WikitTextToHTML tool to generate Eclipse help and
96 website HTML documentation.
98 <groupId>org.codehaus.mojo</groupId>
99 <artifactId>exec-maven-plugin</artifactId>
102 <phase>generate-resources</phase>
103 <id>buid-info-generator</id>
108 <executable>${JAVA_HOME}/bin/java</executable>
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>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-antrun-plugin</artifactId>
135 <phase>package</phase>
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"/>
155 Do the javadoc generation in a profile to keep standard builds (e.g. gerrit) fast.
161 <groupId>org.eclipse.tycho.extras</groupId>
162 <artifactId>tycho-document-bundle-plugin</artifactId>
163 <version>${tycho-version}</version>
166 <id>eclipse-javadoc</id>
167 <phase>generate-resources</phase>
172 <outputDirectory>${project.basedir}/help/developer/javadoc</outputDirectory>
173 <tocFile>${project.basedir}/help/developer/toc-javadoc.xml</tocFile>
175 <additionalArguments>
176 <additionalArgument>${javadoc-args}</additionalArgument>
178 -linkoffline ./../../../${platform-isv} ${basedir}/javadoc-offline-package-lists/eclipse-platform-${simrel}
179 </additionalArgument>
180 </additionalArguments>
185 <id>website-javadoc</id>
186 <phase>generate-resources</phase>
191 <outputDirectory>${project.build.directory}/website/developer/javadoc</outputDirectory>
192 <tocFile>${project.build.directory}/toc-javadoc.xml</tocFile>
194 <additionalArguments>
195 <additionalArgument>${javadoc-args}</additionalArgument>
197 -linkoffline http://help.eclipse.org/${simrel}/topic/${platform-isv} ${basedir}/javadoc-offline-package-lists/eclipse-platform-${simrel}
198 </additionalArgument>
199 </additionalArguments>
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>
214 <name>!env.http.proxyHost</name>
218 <http.proxyHost>proxy.eclipse.org</http.proxyHost>
222 <id>env.http.proxyPort</id>
225 <name>!env.http.proxyPort</name>
229 <http.proxyPort>proxy.eclipse.org</http.proxyPort>
233 <id>env.https.proxyHost</id>
236 <name>!env.https.proxyHost</name>
240 <https.proxyHost>proxy.eclipse.org</https.proxyHost>
244 <id>env.https.proxyPort</id>
247 <name>!env.https.proxyPort</name>
251 <https.proxyPort>proxy.eclipse.org</https.proxyPort>