-
Notifications
You must be signed in to change notification settings - Fork 10
/
pom.xml
113 lines (102 loc) · 5.18 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2019 École Polytechnique de Montréal
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License 2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-2.0/
SPDX-License-Identifier: EPL-2.0
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>org.eclipse.tracecompass.incubator</artifactId>
<groupId>org.eclipse.tracecompass.incubator</groupId>
<version>0.4.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.tracecompass.incubator.scripting-parent</artifactId>
<packaging>pom</packaging>
<name>Trace Compass Incubator Scripting Parent</name>
<modules>
<module>org.eclipse.tracecompass.incubator.scripting</module>
<module>org.eclipse.tracecompass.incubator.scripting.javascript</module>
<module>org.eclipse.tracecompass.incubator.scripting.python</module>
<module>org.eclipse.tracecompass.incubator.scripting.core</module>
<module>org.eclipse.tracecompass.incubator.scripting.core.tests</module>
<module>org.eclipse.tracecompass.incubator.scripting.ui</module>
<module>org.eclipse.tracecompass.incubator.scripting.ui.tests</module>
<!-- insert modules here -->
</modules>
<profiles>
<profile>
<!-- build help pages for modules using javadoc. Needs variable doclet.path
to be set to the location of the ModuleDoclet jar. The jar can be built with:
mvn clean package -f org.eclipse.ease.core/developers/org.eclipse.ease.helpgenerator/pom.xml
in which case the doclet.path would be: org.eclipse.ease.core/developers/org.eclipse.ease.helpgenerator/target/ease.module.doclet.jar
or the pre-built jar can downloaded from: https://ci.eclipse.org/ease/job/ease.build.module.doclet/lastSuccessfulBuild/artifact/developers/org.eclipse.ease.helpgenerator/target/ease.module.doclet.jar -->
<id>module-docs</id>
<properties>
<platform.api>org.eclipse.platform.doc.isv/reference/api</platform.api>
<doclet.path>${user.dir}/ease.module.doclet.jar</doclet.path>
</properties>
<build>
<plugins>
<!-- enable module documentation builder -->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>3.1.0</version>
<configuration>
<outputDirectory>${project.build.directory}/../mydocs </outputDirectory>
<doclet>org.eclipse.ease.helpgenerator.V9ModuleDoclet</doclet>
<docletPath>${doclet.path}</docletPath>
<additionalparam>-root ${basedir} -failOnHTMLError true
-failOnMissingDocs true</additionalparam>
<useStandardDocletOptions>false</useStandardDocletOptions>
<excludePackageNames>org.eclipse.tracecompass.incubator.internal.*:*.test*</excludePackageNames>
<links>
<link>https://osgi.org/javadoc/r6/cmpn</link>
<link>http://docs.oracle.com/javase/8/docs/api/</link>
<link>https://archive.eclipse.org/tracecompass/doc/javadoc/apidocs/</link>
</links>
<verbose>true</verbose>
</configuration>
<executions>
<execution>
<id>build-docs</id>
<phase>generate-resources</phase>
<goals>
<goal>javadoc</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>build-helper-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<version>1.9.1</version>
<executions>
<execution>
<id>add_help</id>
<phase>generate-resources</phase>
<goals>
<goal>add-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>${basedir}/help</directory>
<targetPath>help</targetPath>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>