<?xml version="1.0" encoding="UTF-8"?> | |
<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/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>org.eclipse.sphinx.releng</groupId> | |
<artifactId>org.eclipse.sphinx.releng.parent</artifactId> | |
<version>0.12.0-SNAPSHOT</version> | |
<relativePath>../../releng/org.eclipse.sphinx.releng.builds/parent/pom.xml</relativePath> | |
</parent> | |
<groupId>org.eclipse.sphinx.docs</groupId> | |
<artifactId>org.eclipse.sphinx.doc.isv</artifactId> | |
<version>0.12.0-SNAPSHOT</version> | |
<packaging>eclipse-plugin</packaging> | |
<properties> | |
<doc.output.folder>${project.build.directory}/javadoc/</doc.output.folder> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.eclipse.sphinx.features</groupId> | |
<artifactId>org.eclipse.sphinx</artifactId> | |
<version>0.12.0-SNAPSHOT</version> | |
</dependency> | |
<dependency> | |
<groupId>org.eclipse.sphinx.features</groupId> | |
<artifactId>org.eclipse.sphinx.emf.viatra.query</artifactId> | |
<version>0.12.0-SNAPSHOT</version> | |
</dependency> | |
<dependency> | |
<groupId>org.eclipse.sphinx.features</groupId> | |
<artifactId>org.eclipse.sphinx.emf.editors.forms.nebula</artifactId> | |
<version>0.12.0-SNAPSHOT</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.eclipse.tycho.extras</groupId> | |
<artifactId>tycho-document-bundle-plugin</artifactId> | |
<version>${tycho.version}</version> | |
<executions> | |
<execution> | |
<id>javadoc</id> | |
<phase>verify</phase> | |
<goals> | |
<goal>javadoc</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${doc.output.folder}/reference/api</outputDirectory> | |
<tocFile>${doc.output.folder}/toc/javadoc.xml</tocFile> | |
<javadocOptions> | |
<additionalArguments> | |
<additionalArgument>-linkoffline | |
http://docs.oracle.com/javase/7/docs/api/ | |
${doc.output.folder}/input/javase-7</additionalArgument> | |
<additionalArgument>-linkoffline | |
http://www.osgi.org/javadoc/r4v43/ | |
${doc.output.folder}/input/osgi-r4v43</additionalArgument> | |
</additionalArguments> | |
</javadocOptions> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<version>1.7</version> | |
<executions> | |
<execution> | |
<phase>generate-sources</phase> | |
<configuration> | |
<target> | |
<property name="compile_classpath" refid="maven.compile.classpath" /> | |
<ant target="all" inheritRefs="true" antfile="build-help.xml" /> | |
</target> | |
</configuration> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
<pluginManagement> | |
<plugins> | |
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> | |
<plugin> | |
<groupId>org.eclipse.m2e</groupId> | |
<artifactId>lifecycle-mapping</artifactId> | |
<version>1.0.0</version> | |
<configuration> | |
<lifecycleMappingMetadata> | |
<pluginExecutions> | |
<pluginExecution> | |
<pluginExecutionFilter> | |
<groupId> | |
org.apache.maven.plugins | |
</groupId> | |
<artifactId> | |
maven-antrun-plugin | |
</artifactId> | |
<versionRange> | |
[1.7,) | |
</versionRange> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
</pluginExecutionFilter> | |
<action> | |
<ignore></ignore> | |
</action> | |
</pluginExecution> | |
</pluginExecutions> | |
</lifecycleMappingMetadata> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
</project> |