anatoly-spb commented on issue #11906:
URL: https://github.com/apache/maven/issues/11906#issuecomment-4207322989

   @cstamas Thank you for your check.  In my environment there is authorized 
access to our enterpise nexus repository:
   
   settings.xml:
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <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 
http://maven.apache.org/xsd/settings-1.0.0.xsd";>
   
     <servers>
       <server>
         <id>nexus-public</id>
         <username>xxx</username>
         <password>yyy</password>
       </server>
     </servers>
   
     <mirrors>
       <mirror>
         <id>nexus-public</id>
         <name>Nexus Public Group</name>
         <url>https://nexus.xxx/repository/public</url>
         <mirrorOf>central</mirrorOf>
       </mirror>
     </mirrors>
   
     <profiles>
       <profile>
         <id>central</id>
         <repositories>
           <repository>
             <id>central</id>
             <url>http://central</url>
             <releases>
               <enabled>true</enabled>
             </releases>
             <snapshots>
               <enabled>true</enabled>
             </snapshots>
           </repository>
         </repositories>
         <pluginRepositories>
           <pluginRepository>
             <id>central</id>
             <url>http://central</url>
             <releases>
               <enabled>true</enabled>
             </releases>
             <snapshots>
               <enabled>true</enabled>
             </snapshots>
           </pluginRepository>
         </pluginRepositories>
       </profile>
     </profiles>
   
     <activeProfiles>
       <activeProfile>central</activeProfile>
     </activeProfiles>
   </settings>
   
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to