| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- |
| 3 |
* Licensed to the Apache Software Foundation (ASF) under one |
| 4 |
* or more contributor license agreements. See the NOTICE file |
| 5 |
* distributed with this work for additional information |
| 6 |
* regarding copyright ownership. The ASF licenses this file |
| 7 |
* to you under the Apache License, Version 2.0 (the |
| 8 |
* "License"); you may not use this file except in compliance |
| 9 |
* with the License. You may obtain a copy of the License at |
| 10 |
* |
| 11 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 12 |
* |
| 13 |
* Unless required by applicable law or agreed to in writing, |
| 14 |
* software distributed under the License is distributed on an |
| 15 |
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 |
* KIND, either express or implied. See the License for the |
| 17 |
* specific language governing permissions and limitations |
| 18 |
* under the License. |
| 19 |
* |
| 20 |
--> |
| 21 |
<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"> |
| 22 |
<modelVersion>4.0.0</modelVersion> |
| 23 |
<groupId>org.apache.maven.its.enforcer</groupId> |
| 24 |
<artifactId>pluginWithIntegrationTestLifecycle</artifactId> |
| 25 |
<version>1.0.0-SNAPSHOT</version> |
| 26 |
<packaging>eclipse-plugin</packaging> |
| 27 |
<properties> |
| 28 |
<tycho-version>0.22.0</tycho-version><!-- minimum 0.22.0: depends on https://bugs.eclipse.org/bugs/show_bug.cgi?id=435313 --> |
| 29 |
</properties> |
| 30 |
<build> |
| 31 |
<plugins> |
| 32 |
<plugin> |
| 33 |
<groupId>org.apache.maven.plugins</groupId> |
| 34 |
<artifactId>maven-enforcer-plugin</artifactId> |
| 35 |
<version>@project.version@</version> |
| 36 |
<executions> |
| 37 |
<execution> |
| 38 |
<id>test</id> |
| 39 |
<goals> |
| 40 |
<goal>enforce</goal> |
| 41 |
</goals> |
| 42 |
<configuration> |
| 43 |
<rules> |
| 44 |
<requirePluginVersions> |
| 45 |
<banSnapshots>false</banSnapshots> |
| 46 |
<unCheckedPluginList> |
| 47 |
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 |
| 48 |
</unCheckedPluginList> |
| 49 |
</requirePluginVersions> |
| 50 |
</rules> |
| 51 |
</configuration> |
| 52 |
</execution> |
| 53 |
</executions> |
| 54 |
</plugin> |
| 55 |
<plugin> |
| 56 |
<!-- For https://issues.apache.org/jira/browse/MENFORCER-11 This plugin |
| 57 |
attaches additional lifecycles "integration-test" which were failed to be |
| 58 |
handled correctly. --> |
| 59 |
<groupId>org.eclipse.tycho</groupId> |
| 60 |
<artifactId>tycho-maven-plugin</artifactId> |
| 61 |
<version>${tycho-version}</version> |
| 62 |
<extensions>true</extensions> |
| 63 |
</plugin> |
| 64 |
<plugin> |
| 65 |
<groupId>org.eclipse.tycho</groupId> |
| 66 |
<artifactId>target-platform-configuration</artifactId> |
| 67 |
<version>${tycho-version}</version> |
| 68 |
<configuration> |
| 69 |
<!-- recommended: use p2-based target platform resolver --> |
| 70 |
<resolver>p2</resolver> |
| 71 |
<executionEnvironment>JavaSE-1.8</executionEnvironment> |
| 72 |
</configuration> |
| 73 |
</plugin> |
| 74 |
<plugin> |
| 75 |
<groupId>org.eclipse.tycho</groupId> |
| 76 |
<artifactId>tycho-compiler-plugin</artifactId> |
| 77 |
<version>${tycho-version}</version> |
| 78 |
</plugin> |
| 79 |
<plugin> |
| 80 |
<groupId>org.eclipse.tycho</groupId> |
| 81 |
<artifactId>tycho-packaging-plugin</artifactId> |
| 82 |
<version>${tycho-version}</version> |
| 83 |
</plugin> |
| 84 |
<plugin> |
| 85 |
<groupId>org.eclipse.tycho</groupId> |
| 86 |
<artifactId>tycho-p2-plugin</artifactId> |
| 87 |
<version>${tycho-version}</version> |
| 88 |
</plugin> |
| 89 |
<plugin> |
| 90 |
<artifactId>maven-resources-plugin</artifactId> |
| 91 |
<version>@version.maven-resources-plugin@</version> |
| 92 |
</plugin> |
| 93 |
</plugins> |
| 94 |
</build> |
| 95 |
</project> |