整理示例代码的pom文件
diff --git a/samples/pom.xml b/samples/pom.xml
index b84b88f..c55d603 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -3,19 +3,56 @@
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>
+ <parent>
+ <groupId>com.supwisdom.buildcommons</groupId>
+ <artifactId>spring-boot-starter-parent</artifactId>
+ <version>2.0.1.RELEASE-1.0-SNAPSHOT</version>
+ </parent>
+
<groupId>com.supwisdom.leaveschool</groupId>
- <artifactId>samples-aggregator</artifactId>
+ <artifactId>samples-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
+
+ <infras.version>0.0.1-SNAPSHOT</infras.version>
</properties>
+
+ <repositories>
+ <repository>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <id>supwisdom</id>
+ <url>http://app.supwisdom.com/nexus/content/groups/public/</url>
+ </repository>
+ <repository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>central</id>
+ <url>http://repo.maven.apache.org/maven2</url>
+ </repository>
+ </repositories>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>com.supwisdom.infras</groupId>
+ <artifactId>infras-bom</artifactId>
+ <version>${infras.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+
+ </dependencyManagement>
<modules>
<module>foo</module>
<module>bar</module>
- <module>../dependencies</module>
</modules>
</project>