Base Framework
使用说明
稳定版
Maven Release
<repositories> <repository> <id>aliyun-maven</id> <name>aliyun maven</name> <url>https://maven.aliyun.com/repository/public</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots> </repository> </repositories><dependencyManagement> <dependencies> <dependency> <groupId>com.github.liaomengge</groupId> <artifactId>base-framework-bom</artifactId> <version>${latest-release-version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>Gradle Release
repositories { mavenLocal() maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/spring' } maven { url 'https://maven.aliyun.com/repository/spring-plugin' } mavenCentral() }dependencyManagement { imports { mavenBom "com.github.liaomengge:base-framework-bom:${latest-release-version}" } }
快照版
Maven Snapshot
<repositories> <repository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots> </repository> </repositories><dependencyManagement> <dependencies> <dependency> <groupId>com.github.liaomengge</groupId> <artifactId>base-framework-bom</artifactId> <version>${latest-snapshot-version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>Gradle Snapshot
repositories { mavenLocal() maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/spring' } maven { url 'https://maven.aliyun.com/repository/spring-plugin' } maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } mavenCentral() }dependencyManagement { imports { mavenBom "com.github.liaomengge:base-framework-bom:${latest-snapshot-version}" } }