maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud bourree <arnaud.bour...@gmail.com>
Subject How maven select mirror where to download parent pom
Date Fri, 22 Feb 2019 17:17:24 GMT
Hello,

In my settings.xml, I've 3 mirrors:
<mirrors>
      <mirror>
         <id>mirror</id>
         <mirrorOf>*, !pending, !snapshots</mirrorOf>
         <url>https://acme.com/content/groups/Public</url>
      </mirror>
      <mirror>
         <id>pending</id>
         <url>https://acme.com/content/repositories/Pending</url>
         <mirrorOf>pending</mirrorOf>
      </mirror>
      <mirror>
         <id>snapshots</id>
         <url>https://acme.com/content/repositories/Snapshots</url>
         <mirrorOf>snapshots</mirrorOf>
      </mirror>
   </mirrors>

Due to some access management, I deploy artifacts to 'pending'
Before I add a parent pom, everything work good included dependencies from
'pending'.

But parent download looks different, It always take only 'mirror' what ever
mirrors order.
How can I tell maven to fetch parent from my pending mirror?

Regards,

Arnaud

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message