Maven
起于山野之风
醉后不知天在水,满船清梦压星河
展开
-
java: -source 1.5 中不支持 diamond 运算符 / Set language level to 8 - Lambdas, type annotations etc.
经查看,发现 Target bytecode version 为 1.5 版本,Language level 版本也为 5解决办法:方法一(推荐) <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artif原创 2021-03-22 12:10:50 · 1436 阅读 · 0 评论 -
GeoServer 或 GeoTools 等依赖下载不下来
在 pom.xml 文件的 project 标签内添加如下配置: <repositories> <!--GeoServer--> <repository> <id>GeoSolutions</id> <url>http://maven.geo-solutions.it/</url> </repository>原创 2020-11-20 10:59:48 · 2329 阅读 · 3 评论 -
pom.xml文件关于打包的配置
以下俩配置都是写在pom.xml文件的 <build> 标签里的 <!--配置打包时,哪些文件需要打包,哪些不需要--> <resources> <resource> <directory>src/main/java</directory> <inclu...原创 2020-01-15 11:48:24 · 1346 阅读 · 0 评论