googleapis / google-cloud-java

Google Cloud Client Library for Java
https://cloud.google.com/java/docs/reference
Apache License 2.0
1.89k stars 1.06k forks source link

The URLs in published Maven Central is wrong #8630

Closed suztomo closed 2 years ago

suztomo commented 2 years ago
Screen Shot 2022-10-18 at 11 15 36 AM

https://search.maven.org/artifact/com.google.cloud/google-cloud-websecurityscanner/2.4.0/jar

https://github.com/googleapis/google-cloud-java/google-cloud-jar-parent/google-cloud-websecurityscanner-parent/google-cloud-websecurityscanner is invalid.

meltsufin commented 2 years ago

We still have the <url> elements in the individual modules. That's the reason.

meltsufin commented 2 years ago

Another issue is that Maven has special rules for computing effective URLs and the flatten plugin picks that up. See: https://maven.apache.org/ref/3.8.6/maven-model-builder/#inheritance-assembly