<settings>
  <servers>
    <!-- Quarkus-->
    <server>
      <id>sonatype-nexus-snapshots</id>
      <username>${env.SERVER_USERNAME}</username>
      <password>${env.SERVER_PASSWORD}</password>
    </server>
    <!-- END OF Quarkus-->
  </servers>
  <profiles>
    <profile>
      <id>google-mirror</id>
      <repositories>
        <repository>
          <id>google-maven-central</id>
          <name>GCS Maven Central mirror EU</name>
          <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>google-maven-central</id>
          <name>GCS Maven Central mirror EU</name>
          <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>google-mirror</activeProfile>
  </activeProfiles>
</settings>

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
  <servers>
    <!-- Quarkus-->
    <server>
      <id>sonatype-nexus-snapshots</id>
      <username>${env.SERVER_USERNAME}</username>
      <password>${env.SERVER_PASSWORD}</password>
    </server>
    <!-- END OF Quarkus-->
  </servers>
  <profiles>
    <profile>
      <id>google-mirror</id>
      <repositories>
        <repository>
          <id>google-maven-central</id>
          <name>GCS Maven Central mirror EU</name>
          <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>google-maven-central</id>
          <name>GCS Maven Central mirror EU</name>
          <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>google-mirror</activeProfile>
  </activeProfiles>
</settings>

Disable snapshot artifacts for Google Mirror
Disable snapshot artifacts for Google Mirror
