<プロジェクトのxmlns = "http://maven.apache.org/POM/4.0.0" のxmlns:XSI = "http://www.w3.org/2001/XMLSchema-instance" XSI:のschemaLocation = "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > <modelVersion> 4.0.0 </ modelVersion> <親> <groupIdを> com.xx </ groupIdを> <たartifactId> XX -manager </たartifactId> <バージョン> 0.0.1-SNAPSHOT </バージョン> </親> <たartifactId> xxの -manager- DAO </たartifactId> <! - 依存関係を追加 - > <依存性> <依存> <groupIdを> com.taotao </ groupIdを> <たartifactId> taotao -manager- POJO </たartifactId> <バージョン> 0.0.1-SNAPSHOT </バージョン> </依存関係> <! - MyBatisの - > <依存> <groupIdを> org.mybatis </ groupIdを> <たartifactId> MyBatisの </たartifactId> </依存関係> <依存> <groupIdを> org.mybatis </ groupIdを> <たartifactId> MyBatisの -spring </たartifactId> </依存関係> <依存> <groupIdを> com.github.miemiedev </ groupIdを> <たartifactId> MyBatisの - ページネータ </たartifactId> </依存関係> <依存> <groupIdを> com.github.pagehelper </ groupIdを> <たartifactId> pagehelper </たartifactId> </依存関係> <! - MySQLの - > <依存> <groupIdを> mysqlの </ groupIdを> <artifactId>mysql-connector-java</artifactId> </dependency> <!-- 连接池 --> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> </dependency> </dependencies> </project> |
配置のJava-のmaven-上城・マネージャー-dao-
おすすめ
転載: www.cnblogs.com/gangzi4321/p/11497211.html
おすすめ
ランキング