英文:
maven build expecting wrong version of jar
问题
我正在执行一个Maven构建,但由于Maven引用了错误的版本,所以构建失败了。
当我进行构建时,它失败了,并显示以下原因:无法找到组织org.projectlombok:lombok:jar:${lombok.version}的构件,不确定为什么它引用了lombok.version,而我们已经指定了版本1.18.4。
而且,这是最近突然出现的问题。
有人能够帮助我吗?
英文:
I am doing a maven build and its getting failed since the maven is referring to wrong version
pom.xml definition for lombok dependency
When i am building , its failing with below reason .Could not find artifact org.projectlombok:lombok:jar:${lombok.version} , not sure why its referring to lombok.version when we given the version 1.18.4
And this started recently all of sudden .
Can some one able to help me
答案1
得分: 0
有一些地方,可能是在您的POM文件、父POM文件或依赖项中,定义了lombok的版本为<version>${lombok.version}</version>
。
这导致了问题。
英文:
There is some place either in your POM, or your parent POM or maybe a dependency where the version of lombok is defined as <version>${lombok.version}</version>
.
This causes the problem.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论