refactor pom: move repo to sub module, remove unused dependencies

This commit is contained in:
leon.li 2015-12-03 08:33:15 +08:00
parent 636a7493c8
commit 5045be2a82
2 changed files with 28 additions and 43 deletions

39
pom.xml
View file

@ -167,17 +167,6 @@
<artifactId>mybatis</artifactId>
<version>3.0.6</version>
</dependency>
<dependency>
<groupId>org.unidal.framework</groupId>
<artifactId>dal-jdbc</artifactId>
<version>2.0.3</version>
<exclusions>
<exclusion>
<artifactId>google-collections</artifactId>
<groupId>com.google.collections</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
@ -192,32 +181,4 @@
</dependencies>
</dependencyManagement>
<repositories>
<repository>
<id>project-repo</id>
<name>project-repo</name>
<url>file://${project.basedir}/repo</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>project-plugin-repo</id>
<name>project-plugin-repo</name>
<url>file://${project.basedir}/repo</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>

View file

@ -139,10 +139,6 @@
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
</dependency>
<dependency>
<groupId>org.unidal.framework</groupId>
<artifactId>dal-jdbc</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
@ -231,4 +227,32 @@
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>project-repo</id>
<name>project-repo</name>
<url>file://${project.basedir}/repo</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>project-plugin-repo</id>
<name>project-plugin-repo</name>
<url>file://${project.basedir}/repo</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>