<?xml version="1.0" encoding="UTF-8"?> <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> <artifactId>version-overriding-child-a</artifactId> <packaging>pom</packaging> <parent> <artifactId>version-overriding-plugins</artifactId> <groupId>com.baeldung</groupId> <version>0.0.1-SNAPSHOT</version> </parent> <build> <plugins> <plugin> <artifactId>maven-resources-plugin</artifactId> <configuration> <resources combine.self="override"> <resource> <directory>child-a-resources</directory> </resource> </resources> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build> </project>