Please I would like to ask some help, probably someone already had this problem:
If I use this, for the
<repository> <id>github</id> <name>GitHub OWNER Apache Maven Packages</name> <url>https://maven.pkg.github.com/OWNER</url> </repository>
and to publish a package:
<distributionManagement> <repository> <id>github</id> <name>GitHub OWNER Apache Maven Packages</name> <url>https://maven.pkg.github.com/OWNER/REPOSITORY</url> </repository> </distributionManagement>
this is good that the packages got uploaded correctly and I can see under each repository the packages published.
But to resolve the package, it requires to add the package before the group-id:
<dependency> <groupId>REPOSITORY.GROUP-ID</groupId> <artifactId>ARTIFACT-ID</artifactId> </dependency>
Or to my
setting.xml requires one repository tag to each library we have in the company.
Too much configuration.
Is there a better way to do that? or I can’t use the publish packages under each repository and use just the OWNER level?