D:\simple-weather>mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building simple-weather
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e
. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\simple-weather\src\main\resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 5 source files to D:\simple-weather\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
D:\simple-weather\src\main\java\com\fan\weather\YahooParser.java:[36,7] -source
1.3 中不支持泛型
(请使用 -source 5 或更高版本以启用泛型)
Map uris = new HashMap();
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Oct 23 18:32:08 CST 2009
[INFO] Final Memory: 8M/14M
[INFO] ------------------------------------------------------------------------