Debian Codegraph @

maven-enforcer-extension/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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <modelVersion>4.0.0</modelVersion>
23 <parent>
24 <groupId>org.apache.maven.enforcer</groupId>
25 <artifactId>enforcer</artifactId>
26 <version>3.5.0</version>
27 </parent>
28 <groupId>org.apache.maven.extensions</groupId>
29 <artifactId>maven-enforcer-extension</artifactId>
30 <name>Apache Maven Enforcer Extension</name>
31
32 <dependencies>
33 <dependency>
34 <groupId>org.apache.maven</groupId>
35 <artifactId>maven-core</artifactId>
36 </dependency>
37 <dependency>
38 <groupId>org.apache.maven</groupId>
39 <artifactId>maven-model</artifactId>
40 <scope>provided</scope>
41 </dependency>
42 <dependency>
43 <groupId>javax.inject</groupId>
44 <artifactId>javax.inject</artifactId>
45 <version>1</version>
46 </dependency>
47 <dependency>
48 <groupId>org.codehaus.plexus</groupId>
49 <artifactId>plexus-xml</artifactId>
50 <scope>provided</scope>
51 </dependency>
52 </dependencies>
53
54 <build>
55 <plugins>
56 <plugin>
57 <groupId>org.eclipse.sisu</groupId>
58 <artifactId>sisu-maven-plugin</artifactId>
59 </plugin>
60 </plugins>
61 </build>
62
63 <profiles>
64 <profile>
65 <id>run-its</id>
66 <build>
67 <plugins>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-invoker-plugin</artifactId>
71 <configuration>
72 <showErrors>true</showErrors>
73 <debug>true</debug>
74 <projectsDirectory>src/it/projects</projectsDirectory>
75 <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
76 <preBuildHookScript>setup</preBuildHookScript>
77 <postBuildHookScript>verify</postBuildHookScript>
78 <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
79 <settingsFile>src/it/mrm/settings.xml</settingsFile>
80 <extraArtifacts>
81 <!-- Artifacts in test scope are not installed by default. -->
82 <!-- We only need this one, not everything from test scope. -->
83 <extraArtifact>org.apache.maven.plugins:maven-enforcer-plugin:${project.version}</extraArtifact>
84 </extraArtifacts>
85 <goals>
86 <goal>validate</goal>
87 </goals>
88 </configuration>
89 <executions>
90 <execution>
91 <id>integration-test</id>
92 <goals>
93 <goal>install</goal>
94 <goal>integration-test</goal>
95 <goal>verify</goal>
96 </goals>
97 </execution>
98 </executions>
99 </plugin>
100 <plugin>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>mrm-maven-plugin</artifactId>
103 <version>1.6.0</version>
104 <configuration>
105 <propertyName>repository.proxy.url</propertyName>
106 <repositories>
107 <localRepo>
108 <source>${project.build.directory}/local-repo</source>
109 </localRepo>
110 <proxyRepo />
111 </repositories>
112 </configuration>
113 <executions>
114 <execution>
115 <goals>
116 <goal>start</goal>
117 <goal>stop</goal>
118 </goals>
119 </execution>
120 </executions>
121 </plugin>
122 </plugins>
123 </build>
124 </profile>
125 </profiles>
126 </project>