You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration combine.children="append">
<showWarnings>true</showWarnings>
<compilerArgs>
<arg>-XDcompilePolicy=simple</arg>
<arg>
-Xplugin:ErrorProne \
-Xep:ClassCanBeStatic:ERROR \
-Xep:FieldCanBeStatic:ERROR \
-Xep:MethodCanBeStatic:ERROR
</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>${error-prone.version}</version>
</path>
<path>
<groupId>com.palantir.assertj-automation</groupId>
<artifactId>assertj-error-prone</artifactId>
<version>${assertj-error-prone.version}</version>
</path>
<!-- Other annotation processors go here. If 'annotationProcessorPaths' is set, processors will no longer be discovered on the regular -classpath; see also 'Using Error Prone together with other annotation processors' below. -->
</annotationProcessorPaths>
</configuration>
</plugin>
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project assertj-core: Resolution of annotationProcessorPath dependencies failed: Missing:
[ERROR] ----------
[ERROR] 1) com.palantir.assertj-automation:assertj-automation-root:jar:0.6.0
[ERROR]
[ERROR] Try downloading the file manually from the project website.
....
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) com.palantir.assertj-automation:assertj-error-prone:jar:0.6.0
[ERROR] 2) com.palantir.assertj-automation:assertj-automation-root:jar:0.6.0
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[ERROR]
[ERROR] for artifact:
[ERROR] com.palantir.assertj-automation:assertj-error-prone:jar:0.6.0
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
What did you want to happen?
It would be best if assertj-error-prone/pom.xml would not reference assertj-automation-root
The text was updated successfully, but these errors were encountered:
Same issue here. I think this is coming from settings.gradle (the root project) and is added during conversion from the palantir gradle-external-publish-plugin. But for now it looks like being unusable - at least from maven - without publishing a fixed fork to the company repo.
What happened?
I'm adding
assertj-error-prone
to a Maven project, and Maven fails :(See the very end of https://repo1.maven.org/maven2/com/palantir/assertj-automation/assertj-error-prone/0.6.0/assertj-error-prone-0.6.0.pom
My configuration:
What did you want to happen?
It would be best if
assertj-error-prone/pom.xml
would not referenceassertj-automation-root
The text was updated successfully, but these errors were encountered: