直接从GitHub拉下来的源码,wk-ucenter项目下的pom文件中,以下配置hutool-crypto打包package的时候报错:
'dependencies.dependency.version' for cn.hutool:hutool-crypto:jar is missing. @ line 99, column 21
直接在idea里启动项目正常,但是想打jar包发布到服务器,打包时报错。请问大家怎么解决?谢谢
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-crypto</artifactId>
</dependency>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.budwk.starter</groupId>
<artifactId>wk-starter-dependencies</artifactId>
<version>${wk.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>