首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

编译运作spring-data-document

2012-08-25 
编译运行spring-data-document想看看spring与mongodb结合起来如何使用。从 https://github.com/SpringSourc

编译运行spring-data-document
想看看spring与mongodb结合起来如何使用。

从 https://github.com/SpringSource/spring-data-document 上下载demo
用eclipse3.6-javaee版本打开demo的根目录

右键点 spring-data-document-parent, run as --> maven install
控制台出现警告:

[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.springframework.data:spring-data-document-parent:pom:1.0.0.BUILD-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 314, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 328, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]

大概意思是, 没有对 org.apache.maven.plugins:maven-source-plugin 这个插件指定版本号,指定一下就不报这个了!可以去 http://repo1.maven.org/maven2/org/apache/maven/plugins/ 上查找某些插件的版本。
1 楼 ouyangshixiong 2011-06-19   怎么指定插件版本号?

热点排行