使用maven管理引入jdk1.8
来源:互联网 发布:手机淘宝店招尺寸多少 编辑:程序博客网 时间:2024/06/05 09:54
需要在配置文件settings.xml中加入:
<profile> <id>jdk-1.8</id> <activation> <activeByDefault>true</activeByDefault> <jdk>1.8</jdk> </activation> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> </properties> <repositories> <repository> <id>nexus</id> <name>local private nexus</name> <url>http://maven.oschina.net/content/groups/public/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>nexus</id> <name>local private nexus</name> <url>http://maven.oschina.net/content/groups/public/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile>
0 0
- 使用maven管理引入jdk1.8
- maven配置文件引入jdk1.8和阿里云仓库
- eclipse中使用Maven管理java工程设置jdk版本为jdk1.8
- 关于使用Maven管理引入Oracle驱动报错
- maven 使用(引入项目)
- Web项目中引入maven依赖管理
- maven配置jdk1.8环境
- maven配置jdk1.8版本
- maven jdk1.7 rt包使用
- 使用maven引入weblogic.jar的问题
- 使用MAVEN请注意,MAVEN不支持最新版jdk1.7
- JDK1.8使用JDK1.7编译
- jdk1.8对于HashMap碰撞处理的优化-引入红黑树
- JDK1.8发现无法引入javax.servlet包
- maven管理工程,引入MyBatis、MySQL遇到的问题
- 使用Maven管理项目
- 使用Maven管理Spring
- 使用Maven管理Spring
- 数据结构 二叉搜索树
- Python 中append和extend 方法的区别
- 题目1066:字符串排序
- nginx实现tomcat的负载均衡
- Spring3.2和jdk1.8之间的兼容性错误
- 使用maven管理引入jdk1.8
- Q102:光线追踪场景(4)——面朝大海
- 题目1067:n的阶乘
- 改变编辑框下拉框字体大小
- gitHub删除默认的master分支
- JDBC学习入门
- css入门知识
- org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [XXXX]
- vue component组件小结