<?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>
  <modelVersion>4.0.0</modelVersion>

  <!--
  This POM specifies values for most of the model to check overriding/merging with the stuff inherited from its parent.
  -->

  <parent>
    <groupId>org.apache.maven.its.mng3843</groupId>
    <artifactId>parent-1</artifactId>
    <version>0.1</version>
  </parent>

  <groupId>org.apache.maven.its.mng3843.child</groupId>
  <artifactId>child-2</artifactId>
  <version>0.2</version>
  <packaging>jar</packaging>

  <name>child-name</name>
  <description>child-description</description>
  <url>http://child.url/</url>
  <inceptionYear>2009</inceptionYear>
  <organization>
    <name>child-org</name>
    <url>http://child-org.url/</url>
  </organization>
  <licenses>
    <license>
      <name>child-license</name>
      <url>http://child.url/license</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <developers>
    <developer>
      <name>child-developer</name>
    </developer>
  </developers>
  <contributors>
    <contributor>
      <name>child-contributor</name>
    </contributor>
  </contributors>

  <mailingLists>
    <mailingList>
      <name>child-mailing-list</name>
    </mailingList>
  </mailingLists>

  <prerequisites>
    <maven>2.0.1</maven>
  </prerequisites>

  <scm>
    <connection>http://child.url/scm</connection>
    <developerConnection>https://child.url/scm</developerConnection>
    <url>http://child.url/trunk</url>
  </scm>
  <issueManagement>
    <url>http://child.url/issues</url>
  </issueManagement>
  <ciManagement>
    <url>http://child.url/ci</url>
  </ciManagement>
  <distributionManagement>
    <repository>
      <id>child.distros</id>
      <url>http://child.url/dist</url>
    </repository>
    <snapshotRepository>
      <id>child.snaps</id>
      <url>http://child.url/snaps</url>
    </snapshotRepository>
    <site>
      <id>child.site</id>
      <url>http://child.url/site</url>
    </site>
    <relocation>
      <message>child-reloc-msg</message>
    </relocation>
    <downloadUrl>http://child.url/download</downloadUrl>
  </distributionManagement>

  <properties>
    <childProperty>child-property</childProperty>
    <overriddenProperty>child-override</overriddenProperty>
  </properties>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.apache.maven.its.mng3843</groupId>
        <artifactId>parent-dep-a</artifactId>
        <version>2</version>
      </dependency>
      <dependency>
        <groupId>org.apache.maven.its.mng3843</groupId>
        <artifactId>child-dep-a</artifactId>
        <version>1</version>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven.its.mng3843</groupId>
      <artifactId>parent-dep-b</artifactId>
      <version>2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3843</groupId>
      <artifactId>child-dep-b</artifactId>
      <version>1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3843</groupId>
      <artifactId>child-dep-c</artifactId>
      <version>1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3843</groupId>
      <artifactId>child-dep-d</artifactId>
      <version>1</version>
    </dependency>
  </dependencies>

  <repositories>
    <repository>
      <id>child-remote-repo</id>
      <url>http://child.url/remote</url>
    </repository>
  </repositories>

  <build>
    <defaultGoal>validate</defaultGoal>
    <directory>build</directory>
    <finalName>coreit</finalName>
    <resources>
      <resource>
        <directory>resources/main</directory>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <directory>resources/test</directory>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.its.plugins</groupId>
        <artifactId>maven-it-plugin-expression</artifactId>
        <version>2.1-SNAPSHOT</version>
        <executions>
          <execution>
            <goals>
              <goal>eval</goal>
            </goals>
            <phase>validate</phase>
            <configuration>
              <outputFile>target/pom.properties</outputFile>
              <expressions>
                <expression>project</expression>
              </expressions>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
    <sourceDirectory>sources/main</sourceDirectory>
    <scriptSourceDirectory>sources/scripts</scriptSourceDirectory>
    <testSourceDirectory>sources/test</testSourceDirectory>
    <outputDirectory>build/main</outputDirectory>
    <testOutputDirectory>build/test</testOutputDirectory>
  </build>

  <reporting>
    <outputDirectory>docs</outputDirectory>
    <excludeDefaults>false</excludeDefaults>
  </reporting>
</project>
