NutzCN Logo
问答 关于pom.xml
发布于 3106天前 作者 qq_e7da0606 2133 次浏览 复制 上一个帖子 下一个帖子
标签: maven

nutbook向导中,关于引入包:
1. 引入shiro,会引入

	shiro-all-1.2.3.jar
	slf4j-api-1.7.12.jar
	slf4j-log4j12-1.7.12.jar
	commons-beanutils-1.9.2.jar
	commons-logging-1.2.jar
	nutz-integration-shiro-1.b.52.jar

2.引入quartz,会引入

	quartz-2.2.1.jar
	quartz-jobs-2.2.1.jar
	nutz-integration-quartz-1.b.52.jar

但是我看现在的nutzbook源码的pom.xml文件,很多包都未引入。是不是新的nutz-integration-xxx,添加了这些依赖

4 回复

是的,maven的特性之一

来自炫酷的 NutzCN

nutzboot
的pom.xml
中报错
很多包没有版本号?
不知道是否是由于eclipse m2e 的版本问题还是有别的原因

Project build error: Non-resolvable import POM: Failure to transfer org.nutz:nutzboot-parent:pom:2.1-SNAPSHOT from https://jfrog.nutz.cn/artifactory/jcenter was cached in the local repository, resolution will not be reattempted until the update interval of nutz has elapsed or updates are forced. Original error: Could not transfer artifact org.nutz:nutzboot-parent:pom:2.1-SNAPSHOT from/to nutz (https://jfrog.nutz.cn/artifactory/jcenter): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Project build error: 'dependencies.dependency.version' for org.nutz:nutzboot-starter-nutz-mvc:jar is missing.

请另启一个帖子

添加回复
请先登陆
回到顶部