Skip to content

Instantly share code, notes, and snippets.

@MenukaIshan
Last active December 20, 2017 06:04
Show Gist options
  • Save MenukaIshan/d51be4f066bf17aa688df2991674a134 to your computer and use it in GitHub Desktop.
Save MenukaIshan/d51be4f066bf17aa688df2991674a134 to your computer and use it in GitHub Desktop.
This is a Parent pom.xml example for Spring boot multi module example. Created for blog post https://goo.gl/Fo7iur If you want take look at child pom of this click on https://goo.gl/QTqoWS
<?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>
<groupId>hsenid</groupId>
<artifactId>multi-module-spring-boot</artifactId>
<version>1.0-SNAPSHOT</version>
<modules>
<module>childmoduleone</module>
</modules>
<packaging>pom</packaging>
<dependencyManagement>
<dependencies>
<dependency>
<!-- Import dependency management from Spring Boot -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>1.5.6.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment