Skip to content

Instantly share code, notes, and snippets.

@MenukaIshan
Last active December 20, 2017 06:00
Show Gist options
  • Save MenukaIshan/4e37275c08cedbda7dbe19c9f1ce4bf3 to your computer and use it in GitHub Desktop.
Save MenukaIshan/4e37275c08cedbda7dbe19c9f1ce4bf3 to your computer and use it in GitHub Desktop.
This is a child module pom.xml example for Spring boot multi module example. Created for blog post https://goo.gl/Fo7iur If You want take look at Parent pom of this click https://goo.gl/77aQcP
<?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">
<parent>
<artifactId>multi-module-spring-boot</artifactId>
<groupId>hsenid</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>child-module-one</artifactId>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment