Debian Codegraph @

maven-enforcer-plugin/src/it/projects/require-upper-bound-deps_includes/pom.xml

raw
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.plugins.enforcer.its</groupId>
24 <artifactId>menforcer128</artifactId>
25 <version>1.0-SNAPSHOT</version>
26 <packaging>jar</packaging>
27 <dependencies>
28 <dependency>
29 <groupId>org.apache.maven.plugins.enforcer.its</groupId>
30 <artifactId>menforcer128_api</artifactId>
31 <version>1.4.0</version>
32 </dependency>
33 <dependency>
34 <groupId>org.apache.maven.plugins.enforcer.its</groupId>
35 <artifactId>menforcer128_classic</artifactId>
36 <version>0.9.9</version>
37 <!-- Depends on org.apache.maven.plugins.enforcer.its:menforcer128_api:1.5.0 and should fail -->
38 </dependency>
39
40 <dependency>
41 <groupId>org.apache.maven.plugins.enforcer.its</groupId>
42 <artifactId>menforcer358_core</artifactId>
43 <version>5.2.8</version>
44 </dependency>
45 <dependency>
46 <groupId>org.apache.maven.plugins.enforcer.its</groupId>
47 <artifactId>menforcer358_parent</artifactId>
48 <version>5.2.7</version>
49 <!-- Depends on org.apache.maven.plugins.enforcer.its:menforcer358_core:5.2.7 but is not included -->
50 </dependency>
51 </dependencies>
52 <build>
53 <plugins>
54 <plugin>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-enforcer-plugin</artifactId>
57 <version>@project.version@</version>
58 <executions>
59 <execution>
60 <id>enforce</id>
61 <configuration>
62 <rules>
63 <RequireUpperBoundDeps>
64 <includes>
65 <!-- Only include menforcer128_api -->
66 <include>org.apache.maven.plugins.enforcer.its:menforcer128_api</include>
67 </includes>
68 </RequireUpperBoundDeps>
69 </rules>
70 </configuration>
71 <goals>
72 <goal>enforce</goal>
73 </goals>
74 </execution>
75 </executions>
76 </plugin>
77 </plugins>
78 </build>
79 </project>