| <?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> |
| |
| <parent> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven</artifactId> |
| <version>3.5.3</version> |
| </parent> |
| |
| <artifactId>maven-consumer-pom</artifactId> |
| |
| <name>Maven Consumer POM Model study</name> |
| <description>Consumer POM Model study: see https://cwiki.apache.org/confluence/display/MAVEN/Build+vs+Consumer+POM</description> |
| <url>https://maven.apache.org/studies/consumer-pom/</url> |
| |
| <scm> |
| <connection>scm:git:https://git-wip-us.apache.org/repos/asf/maven-studies.git</connection> |
| <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/maven-studies.git</developerConnection> |
| <url>https://github.com/apache/maven-studies/tree/${project.scm.tag}</url> |
| <tag>consumer-pom</tag> |
| </scm> |
| <distributionManagement> |
| <site> |
| <id>apache.website</id> |
| <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/components/${maven.site.path}</url> |
| </site> |
| </distributionManagement> |
| |
| <properties> |
| <checkstyle.violation.ignore>FileLength</checkstyle.violation.ignore> |
| <maven.site.path>studies/consumer-pom</maven.site.path> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.modello</groupId> |
| <artifactId>modello-maven-plugin</artifactId> |
| <configuration> |
| <version>4.0.0</version> |
| <models> |
| <model>src/main/mdo/maven.mdo</model> |
| <model>src/main/mdo/maven-consumer.mdo</model> |
| </models> |
| </configuration> |
| </plugin> |
| <!-- don't install or deploy artifact: this study is not intended for that currently --> |
| <plugin> |
| <artifactId>maven-install-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <!-- site mono-module svnpubsub deployment optimization --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <configuration> |
| <skipDeploy>true</skipDeploy><!-- don't deploy site with maven-site-plugin --> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-scm-publish-plugin</artifactId> |
| <version>3.0.0</version> |
| <configuration> |
| <content>${project.reporting.outputDirectory}</content><!-- mono-module doesn't require site:stage --> |
| </configuration> |
| <executions> |
| <execution> |
| <id>scm-publish</id> |
| <phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin --> |
| <goals> |
| <goal>publish-scm</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |