-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
47 lines (39 loc) · 1.93 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?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>simplespringbootapp</groupId>
<artifactId>multi-module</artifactId>
<version>0.1.0</version>
<packaging>pom</packaging>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.3.RELEASE</version>
<relativePath/>
</parent>
<!--One reason to use a parent tag is that you have a central place to store information about versions of artifacts, compiler-settings etc. that should be used in all modules.-->
<dependencies>
<!-- these dependencies will be availabe to all child projects, no need to specify these in child pom -->
<!-- to add log4j logging -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j</artifactId>
<version>1.2.5.RELEASE</version>
</dependency>
</dependencies>
<dependencyManagement>
<!-- these dependencies will be availabe to all child projects if you specify these in child pom. no need to specify version and/or scope -->
<!-- scope tag should be there ,and value will be import -->
</dependencyManagement>
<modules>
<module>RepositoryContract</module>
<module>RepositoryService</module>
<module>RestServiceModule</module>
<module>Simple_SpringREST_SpringBoot_MAVEN</module>
</modules>
<!-- Maven does not take the module building order from what we define in the parent pom.xml. Maven decides the order by considering module dependencies with each other modules. -->
<!-- If there is no dependency between modules, then maven will use what ever order we define in parent pom -->
<properties>
<java.version>1.8</java.version>
</properties>
</project>