<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, | |
* software distributed under the License is distributed on an | |
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
* KIND, either express or implied. See the License for the | |
* specific language governing permissions and limitations | |
* under the License. | |
* | |
--> | |
<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> | |
<groupId>org.apache.maven.its.enforcer</groupId> | |
<artifactId>pluginWithIntegrationTestLifecycle</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<packaging>eclipse-plugin</packaging> | |
<properties> | |
<tycho-version>0.22.0</tycho-version><!-- minimum 0.22.0: depends on https://bugs.eclipse.org/bugs/show_bug.cgi?id=435313 --> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<version>@project.version@</version> | |
<executions> | |
<execution> | |
<id>test</id> | |
<goals> | |
<goal>enforce</goal> | |
</goals> | |
<configuration> | |
<rules> | |
<requirePluginVersions> | |
<banSnapshots>false</banSnapshots> | |
<unCheckedPluginList> | |
org.apache.maven.plugins:maven-clean-plugin,org.apache.maven.plugins:maven-install-plugin,org.apache.maven.plugins:maven-deploy-plugin,org.apache.maven.plugins:maven-site-plugin,org.apache.maven.plugins:maven-wrapper-plugin | |
</unCheckedPluginList> | |
</requirePluginVersions> | |
</rules> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<!-- For https://issues.apache.org/jira/browse/MENFORCER-11 This plugin | |
attaches additional lifecycles "integration-test" which were failed to be | |
handled correctly. --> | |
<groupId>org.eclipse.tycho</groupId> | |
<artifactId>tycho-maven-plugin</artifactId> | |
<version>${tycho-version}</version> | |
<extensions>true</extensions> | |
</plugin> | |
<plugin> | |
<groupId>org.eclipse.tycho</groupId> | |
<artifactId>target-platform-configuration</artifactId> | |
<version>${tycho-version}</version> | |
<configuration> | |
<!-- recommended: use p2-based target platform resolver --> | |
<resolver>p2</resolver> | |
<executionEnvironment>JavaSE-@maven.compiler.source@</executionEnvironment> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.eclipse.tycho</groupId> | |
<artifactId>tycho-compiler-plugin</artifactId> | |
<version>${tycho-version}</version> | |
</plugin> | |
<plugin> | |
<groupId>org.eclipse.tycho</groupId> | |
<artifactId>tycho-packaging-plugin</artifactId> | |
<version>${tycho-version}</version> | |
</plugin> | |
<plugin> | |
<groupId>org.eclipse.tycho</groupId> | |
<artifactId>tycho-p2-plugin</artifactId> | |
<version>${tycho-version}</version> | |
</plugin> | |
<plugin> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>2.4.3</version> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |