Skip to content

Commit 117b814

Browse files
author
Jarvis Song
committed
release 2.0.0
1 parent 50a9a79 commit 117b814

File tree

6 files changed

+97
-22
lines changed

6 files changed

+97
-22
lines changed

README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,11 @@ Download the jar through Maven:
3838
<dependency>
3939
<groupId>com.ifrabbit</groupId>
4040
<artifactId>spring-data-mybatis</artifactId>
41-
<version>2.0.0.BUILD-SNAPSHOT</version>
41+
<version>2.0.0.RELEASE</version>
4242
</dependency>
4343
```
4444

4545

46-
you should add repository configuration to your pom.xml like this:
47-
48-
```xml
49-
<repository>
50-
<id>oss-snapshots-repo</id>
51-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
52-
<releases><enabled>false</enabled></releases>
53-
<snapshots><enabled>true</enabled></snapshots>
54-
</repository>
55-
```
56-
57-
5846
The simple Spring Data Mybatis configuration with Java-Config looks like this:
5947
```java
6048
@Configuration
@@ -159,7 +147,7 @@ add the jar through Maven:
159147
<dependency>
160148
<groupId>com.ifrabbit</groupId>
161149
<artifactId>spring-boot-starter-data-mybatis</artifactId>
162-
<version>2.0.0.BUILD-SNAPSHOT</version>
150+
<version>2.0.0.RELEASE</version>
163151
</dependency>
164152
```
165153

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<maven>3.5</maven>
3838
</prerequisites>
3939
<properties>
40-
<revision>2.0.0.BUILD-SNAPSHOT</revision>
40+
<revision>2.0.0.RELEASE</revision>
4141

4242
</properties>
4343
<modules>
@@ -55,6 +55,7 @@
5555
<version>1.0.1</version>
5656
<configuration>
5757
<updatePomFile>true</updatePomFile>
58+
<flattenMode>oss</flattenMode>
5859
</configuration>
5960
<executions>
6061
<execution>
@@ -142,7 +143,7 @@
142143
<version>1.6.7</version>
143144
<extensions>true</extensions>
144145
<configuration>
145-
<serverId>sonatype</serverId>
146+
<serverId>oss</serverId>
146147
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
147148
<autoReleaseAfterClose>false</autoReleaseAfterClose>
148149
</configuration>

spring-data-mybatis-boot-starter/pom.xml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,30 @@
1313
<artifactId>spring-data-mybatis-boot-starter</artifactId>
1414
<name>Spring Data MyBatis Boot Starter</name>
1515
<description>Spring Data module for MyBatis repositories.</description>
16+
<url>https://github.com/hatunet/spring-data-mybatis</url>
17+
<developers>
18+
<developer>
19+
<id>jarvis</id>
20+
<name>Jarvis Song</name>
21+
<email>[email protected]</email>
22+
</developer>
23+
</developers>
24+
25+
<licenses>
26+
<license>
27+
<name>Apache License, Version 2.0</name>
28+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
29+
</license>
30+
</licenses>
31+
32+
<scm>
33+
<url>https://github.com/hatunet/spring-data-mybatis</url>
34+
<connection>scm:git:git://github.com/hatunet/spring-data-mybatis.git</connection>
35+
<developerConnection>scm:git:ssh://[email protected]/hatunet/spring-data-mybatis.git
36+
</developerConnection>
37+
</scm>
1638
<properties>
17-
<spring.boot>2.1.1.RELEASE</spring.boot>
39+
<spring.boot>2.1.2.RELEASE</spring.boot>
1840
</properties>
1941
<dependencies>
2042
<dependency>

spring-data-mybatis-core/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,28 @@
1313
<artifactId>spring-data-mybatis-core</artifactId>
1414
<name>Spring Data MyBatis Core</name>
1515
<description>Spring Data module for MyBatis repositories.</description>
16+
<url>https://github.com/hatunet/spring-data-mybatis</url>
17+
<developers>
18+
<developer>
19+
<id>jarvis</id>
20+
<name>Jarvis Song</name>
21+
<email>[email protected]</email>
22+
</developer>
23+
</developers>
24+
25+
<licenses>
26+
<license>
27+
<name>Apache License, Version 2.0</name>
28+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
29+
</license>
30+
</licenses>
31+
32+
<scm>
33+
<url>https://github.com/hatunet/spring-data-mybatis</url>
34+
<connection>scm:git:git://github.com/hatunet/spring-data-mybatis.git</connection>
35+
<developerConnection>scm:git:ssh://[email protected]/hatunet/spring-data-mybatis.git
36+
</developerConnection>
37+
</scm>
1638
<dependencies>
1739
<dependency>
1840
<groupId>javax.persistence</groupId>

spring-data-mybatis-parent/pom.xml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,36 @@
1313
<artifactId>spring-data-mybatis-parent</artifactId>
1414
<name>Spring Data MyBatis Parent</name>
1515
<description>Spring Data module for MyBatis repositories.</description>
16-
16+
<url>https://github.com/hatunet/spring-data-mybatis</url>
17+
<developers>
18+
<developer>
19+
<id>jarvis</id>
20+
<name>Jarvis Song</name>
21+
<email>[email protected]</email>
22+
</developer>
23+
</developers>
24+
25+
<licenses>
26+
<license>
27+
<name>Apache License, Version 2.0</name>
28+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
29+
</license>
30+
</licenses>
31+
32+
<scm>
33+
<url>https://github.com/hatunet/spring-data-mybatis</url>
34+
<connection>scm:git:git://github.com/hatunet/spring-data-mybatis.git</connection>
35+
<developerConnection>scm:git:ssh://[email protected]/hatunet/spring-data-mybatis.git
36+
</developerConnection>
37+
</scm>
1738
<properties>
1839

1940
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2041
<project.root>${basedir}</project.root>
2142
<source.level>1.8</source.level>
2243
<dist.id>${project.artifactId}</dist.id>
2344

24-
<springdata.commons>2.1.3.RELEASE</springdata.commons>
45+
<springdata.commons>2.1.4.RELEASE</springdata.commons>
2546

2647
<apt>1.1.3</apt>
2748
<aspectj>1.9.1</aspectj>
@@ -56,9 +77,9 @@
5677
<java-module-name/>
5778

5879
<!-- MyBatis version -->
59-
<mybatis>3.5.0-SNAPSHOT</mybatis>
60-
<mybatis.spring>2.0.0-SNAPSHOT</mybatis.spring>
61-
<mybatis-spring-boot>2.0.0-SNAPSHOT</mybatis-spring-boot>
80+
<mybatis>3.5.0</mybatis>
81+
<mybatis.spring>2.0.0</mybatis.spring>
82+
<mybatis-spring-boot>2.0.0</mybatis-spring-boot>
6283
</properties>
6384

6485
<dependencyManagement>

spring-data-mybatis/pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,28 @@
1313
<artifactId>spring-data-mybatis</artifactId>
1414
<name>Spring Data MyBatis</name>
1515
<description>Spring Data module for MyBatis repositories.</description>
16+
<url>https://github.com/hatunet/spring-data-mybatis</url>
17+
<developers>
18+
<developer>
19+
<id>jarvis</id>
20+
<name>Jarvis Song</name>
21+
<email>[email protected]</email>
22+
</developer>
23+
</developers>
1624

25+
<licenses>
26+
<license>
27+
<name>Apache License, Version 2.0</name>
28+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
29+
</license>
30+
</licenses>
31+
32+
<scm>
33+
<url>https://github.com/hatunet/spring-data-mybatis</url>
34+
<connection>scm:git:git://github.com/hatunet/spring-data-mybatis.git</connection>
35+
<developerConnection>scm:git:ssh://[email protected]/hatunet/spring-data-mybatis.git
36+
</developerConnection>
37+
</scm>
1738
<properties>
1839
</properties>
1940

0 commit comments

Comments
 (0)