| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2015 BSI Business Systems Integration AG. |
| All rights reserved. This program and the accompanying materials |
| are made available under the terms of the Eclipse Public License v1.0 |
| which accompanies this distribution, and is available at |
| http://www.eclipse.org/legal/epl-v10.html |
| |
| Contributors: |
| BSI Business Systems Integration AG - initial API and implementation |
| --> |
| <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.scout</groupId> |
| <artifactId>maven_sdk_plugin_config-master</artifactId> |
| <version>2.0.9</version> |
| <relativePath>../maven_sdk_plugin_config-master</relativePath> |
| </parent> |
| |
| <artifactId>maven_sdk_p2_plugin_config-master</artifactId> |
| <packaging>pom</packaging> |
| <name>Maven Master Plugin Build Configuration - SDK-P2</name> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>target-platform-configuration</artifactId> |
| <configuration> |
| <filters> |
| <!-- work around Equinox bug 348045 --> |
| <filter> |
| <type>p2-installable-unit</type> |
| <id>org.eclipse.equinox.servletbridge.extensionbundle</id> |
| <removeAll></removeAll> |
| </filter> |
| </filters> |
| <resolver>p2</resolver> |
| <pomDependencies>consider</pomDependencies> |
| <environments> |
| <environment> |
| <os>linux</os> |
| <ws>gtk</ws> |
| <arch>x86_64</arch> |
| </environment> |
| <environment> |
| <os>linux</os> |
| <ws>gtk</ws> |
| <arch>ppc64</arch> |
| </environment> |
| <environment> |
| <os>win32</os> |
| <ws>win32</ws> |
| <arch>x86_64</arch> |
| </environment> |
| <environment> |
| <os>macosx</os> |
| <ws>cocoa</ws> |
| <arch>x86_64</arch> |
| </environment> |
| </environments> |
| <includePackedArtifacts>true</includePackedArtifacts> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-packaging-plugin</artifactId> |
| <configuration> |
| <strictBinIncludes>false</strictBinIncludes> |
| <format>yyyyMMdd-HHmm</format> |
| <timestampProvider>default</timestampProvider> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-source-feature-plugin</artifactId> |
| <configuration> |
| <archive> |
| <addMavenDescriptor>false</addMavenDescriptor> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <configuration> |
| <baselineMode>warn</baselineMode> |
| <baselineReplace>none</baselineReplace> |
| <baselineRepositories> |
| <repository> |
| <url>${comparator.repo}</url> |
| </repository> |
| </baselineRepositories> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <!-- Activates Tycho so Maven knows the new packaging types eclipse-plugin... --> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-maven-plugin</artifactId> |
| <extensions>true</extensions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins></plugins> |
| </reporting> |
| |
| <profiles> |
| <profile> |
| <id>fixture_src_folder</id> |
| <activation> |
| <file> |
| <exists>${basedir}/src/main/fixture</exists> |
| </file> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>add-source</id> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <phase>generate-sources</phase> |
| <configuration> |
| <sources> |
| <source>src/main/fixture</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>include_manifest_in_jar</id> |
| <activation> |
| <file> |
| <exists>${basedir}/META-INF/MANIFEST.MF</exists> |
| </file> |
| </activation> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>feature_build</id> |
| <activation> |
| <file> |
| <exists>${basedir}/feature.xml</exists> |
| </file> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho.extras</groupId> |
| <artifactId>tycho-source-feature-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>generate-source-feature</id> |
| <goals> |
| <goal>source-feature</goal> |
| </goals> |
| <configuration> |
| <excludes> |
| <!-- <plugin id="org.eclipse.scout.sdk.compatibility.v37v41.fragment" /> --> |
| </excludes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>default-p2-metadata-default</id> |
| <configuration> |
| <attachP2Metadata>false</attachP2Metadata> |
| </configuration> |
| </execution> |
| <execution> |
| <id>attach-p2-metadata</id> |
| <goals> |
| <goal>p2-metadata</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.basepom.maven</groupId> |
| <artifactId>duplicate-finder-maven-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>repository_build</id> |
| <activation> |
| <file> |
| <exists>${basedir}/category.xml</exists> |
| </file> |
| </activation> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.eclipse.tycho</groupId> |
| <artifactId>tycho-p2-publisher-plugin</artifactId> |
| <configuration> |
| <publishArtifacts>true</publishArtifacts> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.basepom.maven</groupId> |
| <artifactId>duplicate-finder-maven-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |