| 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.enforcer.its</groupId> |
| 24 |
<artifactId>requirePluginVersions_Expressions</artifactId> |
| 25 |
<version>1.0-SNAPSHOT</version> |
| 26 |
|
| 27 |
<properties> |
| 28 |
<expressionplugin.groupId>org.apache.maven.enforcer.its</expressionplugin.groupId> |
| 29 |
<expressionplugin.artifactId>menforcer126_maven-plugin</expressionplugin.artifactId> |
| 30 |
<expressionplugin.version>1.0</expressionplugin.version> |
| 31 |
</properties> |
| 32 |
|
| 33 |
<build> |
| 34 |
<pluginManagement> |
| 35 |
<plugins> |
| 36 |
<plugin> |
| 37 |
<groupId>org.apache.maven.plugins</groupId> |
| 38 |
<artifactId>maven-clean-plugin</artifactId> |
| 39 |
<version>@version.maven-clean-plugin@</version> |
| 40 |
</plugin> |
| 41 |
<plugin> |
| 42 |
<groupId>org.apache.maven.plugins</groupId> |
| 43 |
<artifactId>maven-resources-plugin</artifactId> |
| 44 |
<version>@version.maven-resources-plugin@</version> |
| 45 |
</plugin> |
| 46 |
<plugin> |
| 47 |
<groupId>org.apache.maven.plugins</groupId> |
| 48 |
<artifactId>maven-compiler-plugin</artifactId> |
| 49 |
<version>@version.maven-compiler-plugin@</version> |
| 50 |
</plugin> |
| 51 |
<plugin> |
| 52 |
<groupId>org.apache.maven.plugins</groupId> |
| 53 |
<artifactId>maven-surefire-plugin</artifactId> |
| 54 |
<version>@version.maven-surefire@</version> |
| 55 |
</plugin> |
| 56 |
<plugin> |
| 57 |
<groupId>org.apache.maven.plugins</groupId> |
| 58 |
<artifactId>maven-jar-plugin</artifactId> |
| 59 |
<version>@version.maven-jar-plugin@</version> |
| 60 |
</plugin> |
| 61 |
<plugin> |
| 62 |
<groupId>org.apache.maven.plugins</groupId> |
| 63 |
<artifactId>maven-install-plugin</artifactId> |
| 64 |
<version>@version.maven-install-plugin@</version> |
| 65 |
</plugin> |
| 66 |
<plugin> |
| 67 |
<groupId>org.apache.maven.plugins</groupId> |
| 68 |
<artifactId>maven-deploy-plugin</artifactId> |
| 69 |
<version>@version.maven-deploy-plugin@</version> |
| 70 |
</plugin> |
| 71 |
<plugin> |
| 72 |
<groupId>org.apache.maven.plugins</groupId> |
| 73 |
<artifactId>maven-site-plugin</artifactId> |
| 74 |
<version>@version.maven-site-plugin@</version> |
| 75 |
</plugin> |
| 76 |
<plugin> |
| 77 |
<groupId>org.apache.maven.plugins</groupId> |
| 78 |
<artifactId>maven-wrapper-plugin</artifactId> |
| 79 |
<version>@version.maven-wrapper-plugin@</version> |
| 80 |
</plugin> |
| 81 |
<plugin> |
| 82 |
<groupId>${expressionplugin.groupId}</groupId> |
| 83 |
<artifactId>${expressionplugin.artifactId}</artifactId> |
| 84 |
<version>${expressionplugin.version}</version> |
| 85 |
</plugin> |
| 86 |
</plugins> |
| 87 |
</pluginManagement> |
| 88 |
<plugins> |
| 89 |
<plugin> |
| 90 |
<groupId>org.apache.maven.plugins</groupId> |
| 91 |
<artifactId>maven-enforcer-plugin</artifactId> |
| 92 |
<version>@project.version@</version> |
| 93 |
<executions> |
| 94 |
<execution> |
| 95 |
<id>test</id> |
| 96 |
<goals> |
| 97 |
<goal>enforce</goal> |
| 98 |
</goals> |
| 99 |
<configuration> |
| 100 |
<rules> |
| 101 |
<requirePluginVersions> |
| 102 |
<banSnapshots>false</banSnapshots> |
| 103 |
</requirePluginVersions> |
| 104 |
</rules> |
| 105 |
</configuration> |
| 106 |
</execution> |
| 107 |
</executions> |
| 108 |
</plugin> |
| 109 |
<plugin> |
| 110 |
<groupId>${expressionplugin.groupId}</groupId> |
| 111 |
<artifactId>${expressionplugin.artifactId}</artifactId> |
| 112 |
<version>${expressionplugin.version}</version> |
| 113 |
</plugin> |
| 114 |
</plugins> |
| 115 |
</build> |
| 116 |
|
| 117 |
<reporting> |
| 118 |
<plugins> |
| 119 |
<plugin> |
| 120 |
<groupId>${expressionplugin.groupId}</groupId> |
| 121 |
<artifactId>${expressionplugin.artifactId}</artifactId> |
| 122 |
<version>${expressionplugin.version}</version> |
| 123 |
</plugin> |
| 124 |
</plugins> |
| 125 |
</reporting> |
| 126 |
|
| 127 |
<profiles> |
| 128 |
<profile> |
| 129 |
<id>menforcer126</id> |
| 130 |
<build> |
| 131 |
<pluginManagement> |
| 132 |
<plugins> |
| 133 |
<plugin> |
| 134 |
<groupId>${expressionplugin.groupId}</groupId> |
| 135 |
<artifactId>${expressionplugin.artifactId}</artifactId> |
| 136 |
<version>${expressionplugin.version}</version> |
| 137 |
</plugin> |
| 138 |
</plugins> |
| 139 |
</pluginManagement> |
| 140 |
<plugins> |
| 141 |
<plugin> |
| 142 |
<groupId>${expressionplugin.groupId}</groupId> |
| 143 |
<artifactId>${expressionplugin.artifactId}</artifactId> |
| 144 |
<version>${expressionplugin.version}</version> |
| 145 |
</plugin> |
| 146 |
</plugins> |
| 147 |
</build> |
| 148 |
<reporting> |
| 149 |
<plugins> |
| 150 |
<plugin> |
| 151 |
<groupId>${expressionplugin.groupId}</groupId> |
| 152 |
<artifactId>${expressionplugin.artifactId}</artifactId> |
| 153 |
<version>${expressionplugin.version}</version> |
| 154 |
</plugin> |
| 155 |
</plugins> |
| 156 |
</reporting> |
| 157 |
</profile> |
| 158 |
</profiles> |
| 159 |
|
| 160 |
</project> |