Skip to content

Commit

Permalink
release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarvis Song committed Jan 23, 2019
1 parent 50a9a79 commit 117b814
Show file tree
Hide file tree
Showing 6 changed files with 97 additions and 22 deletions.
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,11 @@ Download the jar through Maven:
<dependency>
<groupId>com.ifrabbit</groupId>
<artifactId>spring-data-mybatis</artifactId>
<version>2.0.0.BUILD-SNAPSHOT</version>
<version>2.0.0.RELEASE</version>
</dependency>
```


you should add repository configuration to your pom.xml like this:

```xml
<repository>
<id>oss-snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
```


The simple Spring Data Mybatis configuration with Java-Config looks like this:
```java
@Configuration
Expand Down Expand Up @@ -159,7 +147,7 @@ add the jar through Maven:
<dependency>
<groupId>com.ifrabbit</groupId>
<artifactId>spring-boot-starter-data-mybatis</artifactId>
<version>2.0.0.BUILD-SNAPSHOT</version>
<version>2.0.0.RELEASE</version>
</dependency>
```

Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<maven>3.5</maven>
</prerequisites>
<properties>
<revision>2.0.0.BUILD-SNAPSHOT</revision>
<revision>2.0.0.RELEASE</revision>

</properties>
<modules>
Expand All @@ -55,6 +55,7 @@
<version>1.0.1</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -142,7 +143,7 @@
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>sonatype</serverId>
<serverId>oss</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
Expand Down
24 changes: 23 additions & 1 deletion spring-data-mybatis-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,30 @@
<artifactId>spring-data-mybatis-boot-starter</artifactId>
<name>Spring Data MyBatis Boot Starter</name>
<description>Spring Data module for MyBatis repositories.</description>
<url>https://github.com/hatunet/spring-data-mybatis</url>
<developers>
<developer>
<id>jarvis</id>
<name>Jarvis Song</name>
<email>[email protected]</email>
</developer>
</developers>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<scm>
<url>https://github.com/hatunet/spring-data-mybatis</url>
<connection>scm:git:git://github.com/hatunet/spring-data-mybatis.git</connection>
<developerConnection>scm:git:ssh://[email protected]/hatunet/spring-data-mybatis.git
</developerConnection>
</scm>
<properties>
<spring.boot>2.1.1.RELEASE</spring.boot>
<spring.boot>2.1.2.RELEASE</spring.boot>
</properties>
<dependencies>
<dependency>
Expand Down
22 changes: 22 additions & 0 deletions spring-data-mybatis-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,28 @@
<artifactId>spring-data-mybatis-core</artifactId>
<name>Spring Data MyBatis Core</name>
<description>Spring Data module for MyBatis repositories.</description>
<url>https://github.com/hatunet/spring-data-mybatis</url>
<developers>
<developer>
<id>jarvis</id>
<name>Jarvis Song</name>
<email>[email protected]</email>
</developer>
</developers>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<scm>
<url>https://github.com/hatunet/spring-data-mybatis</url>
<connection>scm:git:git://github.com/hatunet/spring-data-mybatis.git</connection>
<developerConnection>scm:git:ssh://[email protected]/hatunet/spring-data-mybatis.git
</developerConnection>
</scm>
<dependencies>
<dependency>
<groupId>javax.persistence</groupId>
Expand Down
31 changes: 26 additions & 5 deletions spring-data-mybatis-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,36 @@
<artifactId>spring-data-mybatis-parent</artifactId>
<name>Spring Data MyBatis Parent</name>
<description>Spring Data module for MyBatis repositories.</description>

<url>https://github.com/hatunet/spring-data-mybatis</url>
<developers>
<developer>
<id>jarvis</id>
<name>Jarvis Song</name>
<email>[email protected]</email>
</developer>
</developers>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<scm>
<url>https://github.com/hatunet/spring-data-mybatis</url>
<connection>scm:git:git://github.com/hatunet/spring-data-mybatis.git</connection>
<developerConnection>scm:git:ssh://[email protected]/hatunet/spring-data-mybatis.git
</developerConnection>
</scm>
<properties>

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

<springdata.commons>2.1.3.RELEASE</springdata.commons>
<springdata.commons>2.1.4.RELEASE</springdata.commons>

<apt>1.1.3</apt>
<aspectj>1.9.1</aspectj>
Expand Down Expand Up @@ -56,9 +77,9 @@
<java-module-name/>

<!-- MyBatis version -->
<mybatis>3.5.0-SNAPSHOT</mybatis>
<mybatis.spring>2.0.0-SNAPSHOT</mybatis.spring>
<mybatis-spring-boot>2.0.0-SNAPSHOT</mybatis-spring-boot>
<mybatis>3.5.0</mybatis>
<mybatis.spring>2.0.0</mybatis.spring>
<mybatis-spring-boot>2.0.0</mybatis-spring-boot>
</properties>

<dependencyManagement>
Expand Down
21 changes: 21 additions & 0 deletions spring-data-mybatis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,28 @@
<artifactId>spring-data-mybatis</artifactId>
<name>Spring Data MyBatis</name>
<description>Spring Data module for MyBatis repositories.</description>
<url>https://github.com/hatunet/spring-data-mybatis</url>
<developers>
<developer>
<id>jarvis</id>
<name>Jarvis Song</name>
<email>[email protected]</email>
</developer>
</developers>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<scm>
<url>https://github.com/hatunet/spring-data-mybatis</url>
<connection>scm:git:git://github.com/hatunet/spring-data-mybatis.git</connection>
<developerConnection>scm:git:ssh://[email protected]/hatunet/spring-data-mybatis.git
</developerConnection>
</scm>
<properties>
</properties>

Expand Down

0 comments on commit 117b814

Please sign in to comment.