Skip to content

Commit 7142cd1

Browse files
committed
Apply https://reviews.apache.org/r/14186/ - Create parent pom to allow maven standard paths in project
1 parent 62d60c2 commit 7142cd1

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

‎maven-standard/pom.xml‎

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
-->
19+
<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">
20+
<modelVersion>4.0.0</modelVersion>
21+
<artifactId>cloud-maven-standard</artifactId>
22+
<name>Apache CloudStack Maven Contentions Parent</name>
23+
<description>Historically ACS was built with a custom build system mixing ant and wscript. When the conversion to maven was done the existing directory structure in git was kept. So the src, testing, and resources folders in ACS don't follow the standard maven conventions. This parent pom forces the folders back to the standard conventions</description>
24+
<packaging>pom</packaging>
25+
<parent>
26+
<groupId>org.apache.cloudstack</groupId>
27+
<artifactId>cloudstack</artifactId>
28+
<version>4.3.0-SNAPSHOT</version>
29+
<relativePath>../pom.xml</relativePath>
30+
</parent>
31+
<build>
32+
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
33+
<scriptSourceDirectory>${basedir}/src/main/scripts</scriptSourceDirectory>
34+
<testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
35+
<outputDirectory>${basedir}/target/classes</outputDirectory>
36+
<testOutputDirectory>${basedir}/target/test-classes</testOutputDirectory>
37+
<resources>
38+
<resource>
39+
<directory>${basedir}/src/main/resources</directory>
40+
</resource>
41+
</resources>
42+
<testResources>
43+
<testResource>
44+
<directory>${basedir}/src/test/resources</directory>
45+
</testResource>
46+
</testResources>
47+
</build>
48+
</project>

0 commit comments

Comments
 (0)