mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00

* remove invalid tycho resolver config (not valid since many versions) * fix PMD plugin configuration (config attribute was renamed in 3.18) * remove duplicate versions already managed in pluginManagement section * fix indentation * move all not yet configured versions into pluginManagement of the parent module to avoid further duplication * consume the target platform as file, not as maven artifact (this simplifies building a single module A LOT) * remove invalid tycho-source-plugin configuration * disable tycho consumer POM generation (not needed here, and avoids a warning in each module) * remove prerequisites. that's for maven plugins only, and this POM already contains the better suited similar maven enforcer rule * enforce UTF-8 for javadoc generation (the build fails on Windows otherwise, trying to read some Japanese? characters with the Windows default encoding)
124 lines
3.1 KiB
XML
124 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright (c) 2014, 2021 Contributors to the Eclipse Foundation
|
|
|
|
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>
|
|
<groupId>org.eclipse.cdt</groupId>
|
|
<artifactId>cdt-parent</artifactId>
|
|
<version>11.5.0-SNAPSHOT</version>
|
|
<relativePath>../../pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<version>11.5.0-SNAPSHOT</version>
|
|
<artifactId>org.eclipse.cdt.debug.application.doc</artifactId>
|
|
<packaging>eclipse-plugin</packaging>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho</groupId>
|
|
<artifactId>tycho-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>plugin-source</id>
|
|
<phase>none</phase>
|
|
</execution>
|
|
<execution>
|
|
<id>attach-source</id>
|
|
<phase>none</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>build-doc</id>
|
|
<activation>
|
|
<property>
|
|
<name>!skipDoc</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.eclipse.tycho.extras</groupId>
|
|
<artifactId>tycho-eclipserun-plugin</artifactId>
|
|
<configuration>
|
|
<applicationArgs>
|
|
<arg>-application</arg>
|
|
<arg>org.eclipse.ant.core.antRunner</arg>
|
|
<arg>-buildfile</arg>
|
|
<arg>customBuildCallbacks.xml</arg>
|
|
<arg>build.index</arg>
|
|
</applicationArgs>
|
|
<dependencies>
|
|
<dependency>
|
|
<artifactId>org.apache.ant</artifactId>
|
|
<type>eclipse-plugin</type>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>org.eclipse.help.base</artifactId>
|
|
<type>eclipse-plugin</type>
|
|
</dependency>
|
|
<dependency>
|
|
<artifactId>org.eclipse.ant.core</artifactId>
|
|
<type>eclipse-plugin</type>
|
|
</dependency>
|
|
</dependencies>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>eclipse-run</goal>
|
|
</goals>
|
|
<phase>compile</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>fake-doc</id>
|
|
<activation>
|
|
<property>
|
|
<name>skipDoc</name>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<configuration>
|
|
<target>
|
|
<touch file="index/indexed_docs" mkdirs="true"/>
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|