Thanks @slide, but you got quite complicated settings.xml, and if I use 
this i still do not fix my problems in CI.
I managed to fix it toady.
Parent pom-xml plugin was the culprit.
I reverted it to 4.42 and it's working again.

piątek, 21 października 2022 o 15:07:11 UTC+2 slide napisał(a):

> Hi,
>
> I just cloned the repo, ran mvn clean package and I did not see the error 
> you are seeing. Here is my settings.xml
>
> <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>maven.jenkins-ci.org</id>
>       <username>slide_o_mix</username>
>       <password><REDACTED></password>
>     </server>
>   </servers>
>   <mirrors>
>     <mirror>
>       <id>repo.jenkins-ci.org</id>
>       <mirrorOf>*,!repo.jenkins-ci.org,!incrementals</mirrorOf>
>       <url>https://repo.jenkins-ci.org/public/</url>
>     </mirror>
>   </mirrors>
>   <pluginGroups>
>     <pluginGroup>org.jenkins-ci.tools</pluginGroup>
>   </pluginGroups>
>   <profiles>
>     <!-- Give access to Jenkins plugins -->
>     <profile>
>       <id>jenkins</id>
>       <activation>
>         <activeByDefault>true</activeByDefault>
>       </activation>
>       <repositories>
>         <repository>
>           <id>repo.jenkins-ci.org</id>
>           <url>https://repo.jenkins-ci.org/public/</url>
>         </repository>
>       </repositories>
>       <pluginRepositories>
>         <pluginRepository>
>           <id>repo.jenkins-ci.org</id>
>           <url>https://repo.jenkins-ci.org/public/</url>
>         </pluginRepository>
>       </pluginRepositories>
>     </profile>
>   </profiles>
> </settings>
>
>
> On Thursday, October 20, 2022 at 3:40:00 PM UTC-7 [email protected] 
> wrote:
>
>> Hi,
>>
>> I'm still fighting with this problem.
>> I think it's not a settings.xml fault, because it happens on Jenkins CI 
>> infra too.
>>
>> https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fcrowd2-plugin/detail/master/177/pipeline/63
>>
>> I use standard settings.xml, fetched with curl from artifactory.
>> I noticed that this error disappeared when I'm setting a default profile 
>> in settings.xml.
>> I guess it's my pom.xml fault.
>> I would be grateful if somebody could take a look on it and give me some 
>> advice what i did wrong.
>>
>> Thanks
>>
>> środa, 28 września 2022 o 16:07:18 UTC+2 [email protected] napisał(a):
>>
>>> On Wed, Sep 28, 2022 at 3:21 PM DuMaM <[email protected]> wrote:
>>>
>>>>
>>>> Could you share sample of correct settings.xml file so i can compare it?
>>>>
>>>
>>> The linked documentation has two complete examples of the settings.xml 
>>> file you need (just needs replacing username/password entries as 
>>> appropriate).
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/de41c20e-1074-4ec2-8882-8ab3a29b3f5an%40googlegroups.com.

Reply via email to