mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-14 16:12:11 +00:00
Remove lombok dependency override.
Lombok issues are resolved. With the Lombok customization, we no longer can resolve the artifact that breaks the build, so removing it. See #2585
This commit is contained in:
parent
354c5938b6
commit
ecc5c54139
18
pom.xml
18
pom.xml
@ -261,24 +261,6 @@
|
|||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!--
|
|
||||||
we don't use lombok in Spring Data Elasticsearch anymore. But the dependency is set in the parent project, and so the
|
|
||||||
lombok compiler stuff is executed regardless of the fact that we don't need it.
|
|
||||||
On AdoptOpenJdk 16.0.0 this leads to an error, so the project does not build.
|
|
||||||
Therefore we replace lombok with a jar - that just contains an empty file - that lives in a local maven repository in
|
|
||||||
src/test/resources/local-maven-repo/
|
|
||||||
It was installed with
|
|
||||||
mvn deploy:deploy-file -DgroupId=org.projectlombok -DartifactId=lombok -Dversion=999999 -Durl=file:./src/test/resources/local-maven-repo/ -DrepositoryId=local-maven-repo -DupdateReleaseInfo=true -Dfile=path/to/empty.jar
|
|
||||||
-->
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.projectlombok</groupId>
|
|
||||||
<artifactId>lombok</artifactId>
|
|
||||||
<!--suppress MavenPackageUpdate -->
|
|
||||||
<version>999999</version>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.skyscreamer</groupId>
|
<groupId>org.skyscreamer</groupId>
|
||||||
<artifactId>jsonassert</artifactId>
|
<artifactId>jsonassert</artifactId>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user