famod commented on PR #180: URL: https://github.com/apache/maven-compiler-plugin/pull/180#issuecomment-1877280262
> I think the missing relocation warning has the same cause - the plugin (or more precisely the dependency resolution mechanism the plugin uses) simply does not know that the artifact was relocated, because without version, it cannot fetch the relocation config. > > I believe the relocation warning gets printed in case you depend on the old artifact, but the version must be known, explicitly or via depMgmt: e.g: > > ``` > <dependency> > <groupId>org.hibernate</groupId> > <artifactId>hibernate-jpamodelgen</artifactId> > <verison>6.0.0</version> > ``` > > In that case, the POM is fetched, relocation config found and the warning can be printed. I guess I should have been more precise: I had exactly that (only a version property instead of the version literal, but that shouldn't make any difference) and still no warning. Maven 3.9.6, btw. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org