Skip to content

Commit

Permalink
升级 1.4.3 测试传递依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
青苗 committed Aug 22, 2016
1 parent d456b20 commit 9a256bc
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 21 deletions.
5 changes: 2 additions & 3 deletions mybatis-plus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus</artifactId>
<version>1.4.2</version>
<version>1.4.3</version>
<packaging>jar</packaging>

<name>mybatis-plus</name>
Expand Down Expand Up @@ -104,8 +104,7 @@
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>${ojdbc14.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/test/resources/oracle/ojdbc14.jar</systemPath>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
Expand Down
59 changes: 41 additions & 18 deletions mybatis-plus/src/test/resources/oracle/oracle.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,41 @@

# 驱动设置

> 官方地址:http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html
本地:/mybatis-plus/src/test/resources/ojdbc14.jar

# 导入本地 Maven 库

> mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.5.0 -Dpackaging=jar -Dfile=D:\jars\ojdbc14.jar
```
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.5.0</version>
</dependency>
```


# 驱动设置

> 官方地址:http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html
本地:/mybatis-plus/src/test/resources/ojdbc14.jar

# 导入本地 Maven 库

> mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.5.0 -Dpackaging=jar -Dfile=D:\jars\ojdbc14.jar

# 出现异常,使用带 "" 的导入方式!

[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/Users/hubin). Please verify you invoked Maven from the correct directory. -> [Help 1]

> mvn install:install-file "-DgroupId=com.oracle" "-DartifactId=ojdbc14" "-Dversion=10.2.0.5.0" "-Dpackaging=jar" "-Dfile=D:\jars\ojdbc14.jar" "-DgeneratePom=true"

```
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.5.0</version>
</dependency>
```



# 如果你不想导入改为如下依赖

```
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.5.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/test/resources/oracle/ojdbc14.jar</systemPath>
</dependency>
```


0 comments on commit 9a256bc

Please sign in to comment.