Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat Booth2016-11-18 08:16:41 -0500
committerMat Booth2016-11-21 09:56:41 -0500
commitb7c61709523bf207e04be201f6925e06eb2c76ef (patch)
tree2b862c25788913d473aa8bf856d12cda6b44db80 /pom.xml
parent85613c8ec3473d4624e20cb53751f98e0831e289 (diff)
downloadorg.eclipse.ecf-b7c61709523bf207e04be201f6925e06eb2c76ef.tar.gz
org.eclipse.ecf-b7c61709523bf207e04be201f6925e06eb2c76ef.tar.xz
org.eclipse.ecf-b7c61709523bf207e04be201f6925e06eb2c76ef.zip
Bug 507757 - [Maven] allow generating javadocs as part of the tycho build
Fixes incorrect source encoding and configures the javadoc plugin to generate at least the same javadocs as the old build. Change-Id: If0066911c1b9b4747fd5ce897f3d07f1daa58e57 Signed-off-by: Mat Booth <mat.booth@redhat.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml49
1 files changed, 47 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 767c9eed5..709da3ebf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,8 +61,8 @@
<tycho-version>0.26.0</tycho-version>
<cbi-version>1.1.3</cbi-version>
<target-platform>neon</target-platform>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.resources.sourceEncoding>UTF-8</project.resources.sourceEncoding>
+ <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
+ <project.resources.sourceEncoding>ISO-8859-1</project.resources.sourceEncoding>
<tycho.scmUrl>scm:git:https://git.eclipse.org/r/ecf/org.eclipse.ecf</tycho.scmUrl>
<!-- Skip tests by default because they take a long time -->
<skipTests>true</skipTests>
@@ -381,6 +381,51 @@
<failIfNoTests>false</failIfNoTests>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.0.0</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.4</version>
+ <configuration>
+ <additionalDependencies>
+ <additionalDependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.annotation</artifactId>
+ <version>6.0.0</version>
+ </additionalDependency>
+ </additionalDependencies>
+ <additionalparam>-Xdoclint:none</additionalparam>
+ <author>false</author>
+ <doctitle>${project.name} ${project.version} API</doctitle>
+ <excludePackageNames>org.jivesoftware.*,ch.ethz.*,javax.*,com.mycorp.*,*.ui,*.internal,*.impl,*.example,*.examples,*.tests</excludePackageNames>
+ <links>
+ <link>https://osgi.org/javadoc/r6/core/</link>
+ </links>
+ <splitindex>true</splitindex>
+ <tags>
+ <tag>
+ <name>noimplement</name><placement>a</placement><head>Restriction:</head>
+ </tag>
+ <tag>
+ <name>noextend</name><placement>a</placement><head>Restriction:</head>
+ </tag>
+ <tag>
+ <name>noreference</name><placement>a</placement><head>Restriction:</head>
+ </tag>
+ <tag>
+ <name>noinstantiate</name><placement>a</placement><head>Restriction:</head>
+ </tag>
+ <tag>
+ <name>nooverride</name><placement>a</placement><head>Restriction:</head>
+ </tag>
+ </tags>
+ <windowtitle>${project.name} ${project.version} API</windowtitle>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>

Back to the top