diff options
Diffstat (limited to 'framework/src/maven/apache-maven-3.3.3/maven-core/src/test/resources-project-builder/basedir-aligned-interpolation/pom.xml')
-rw-r--r-- | framework/src/maven/apache-maven-3.3.3/maven-core/src/test/resources-project-builder/basedir-aligned-interpolation/pom.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/framework/src/maven/apache-maven-3.3.3/maven-core/src/test/resources-project-builder/basedir-aligned-interpolation/pom.xml b/framework/src/maven/apache-maven-3.3.3/maven-core/src/test/resources-project-builder/basedir-aligned-interpolation/pom.xml new file mode 100644 index 00000000..1885fc48 --- /dev/null +++ b/framework/src/maven/apache-maven-3.3.3/maven-core/src/test/resources-project-builder/basedir-aligned-interpolation/pom.xml @@ -0,0 +1,60 @@ +<?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> + + <groupId>org.apache.maven.its.mng3822</groupId> + <artifactId>test1</artifactId> + <version>1.0-SNAPSHOT</version> + + <name>Maven Integration Test :: MNG-3822</name> + <description> + Verify that POM interpolation uses basedir-aligned build directories. + </description> + + <properties> + <!-- this is where we collect all the interpolated values for the POM dump --> + <buildMainSrc>${project.build.sourceDirectory}</buildMainSrc> + <buildTestSrc>${project.build.testSourceDirectory}</buildTestSrc> + <buildScriptSrc>${project.build.scriptSourceDirectory}</buildScriptSrc> + <buildOut>${project.build.directory}</buildOut> + <buildMainOut>${project.build.outputDirectory}</buildMainOut> + <buildTestOut>${project.build.testOutputDirectory}</buildTestOut> + <siteOut>${project.reporting.outputDirectory}</siteOut> + </properties> + + <build> + <!-- + NOTE: Deliberately set all build directories to relative paths to ensure they really need basedir alignment. + --> + <sourceDirectory>src/main/java</sourceDirectory> + <testSourceDirectory>src/test/java</testSourceDirectory> + <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory> + <directory>target</directory> + <outputDirectory>target/classes</outputDirectory> + <testOutputDirectory>target/test-classes</testOutputDirectory> + </build> + + <reporting> + <outputDirectory>target/site</outputDirectory> + </reporting> +</project> |