-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maven settings file does not define any server whit username 'aws' #5
Comments
Hi, could you send me your settings.xml file?
(overwrite any sensitive information, of course)
Best regards,
L.
…On Thu, Dec 16, 2021 at 12:54 PM MTurraPpa ***@***.***> wrote:
I get this message but my ~/.m2/settings.xml have the server with username
aws
<servers>
<server>
<id>myserverid</id>
<username>aws</username>
<password>${env.CODEARTIFACT_AUTH_TOKEN}</password>
</server>
</servers>
On MacOs 12.0.1 and IntellyJ 2021.3 (Community Edition)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH54ILBRLKV32QOFCZCCNDURHHOBANCNFSM5KGDMWDA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Is the one you see in the issue
Il gio 16 dic 2021, 13:03 coderazzi ***@***.***> ha scritto:
… Hi, could you send me your settings.xml file?
(overwrite any sensitive information, of course)
Best regards,
L.
On Thu, Dec 16, 2021 at 12:54 PM MTurraPpa ***@***.***> wrote:
> I get this message but my ~/.m2/settings.xml have the server with
username
> aws
>
> <servers>
> <server>
> <id>myserverid</id>
> <username>aws</username>
> <password>${env.CODEARTIFACT_AUTH_TOKEN}</password>
> </server>
> </servers>
>
> On MacOs 12.0.1 and IntellyJ 2021.3 (Community Edition)
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#5>, or
> unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AAH54ILBRLKV32QOFCZCCNDURHHOBANCNFSM5KGDMWDA
>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
>
> or Android
> <
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
>.
>
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWQRABICA2CUCOPEZSJQAWDURHISBANCNFSM5KGDMWDA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi, I thought you had only sent the part about the servers.
Your settings.xml is incorrect You need to surround your XML with a
settings element:
<settings>
</settings>
So it will look like:
<settings>
<servers>
<server>
<id>myserverid</id>
<username>aws</username>
<password>${env.CODEARTIFACT_AUTH_TOKEN}</password>
</server>
</servers>
</settings>
In fact the first line should not be just <settings>, but:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><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">
Best regards,
…On Thu, Dec 16, 2021 at 1:47 PM MTurraPpa ***@***.***> wrote:
Is the one you see in the issue
Il gio 16 dic 2021, 13:03 coderazzi ***@***.***> ha scritto:
> Hi, could you send me your settings.xml file?
> (overwrite any sensitive information, of course)
>
> Best regards,
>
> L.
>
> On Thu, Dec 16, 2021 at 12:54 PM MTurraPpa ***@***.***> wrote:
>
> > I get this message but my ~/.m2/settings.xml have the server with
> username
> > aws
> >
> > <servers>
> > <server>
> > <id>myserverid</id>
> > <username>aws</username>
> > <password>${env.CODEARTIFACT_AUTH_TOKEN}</password>
> > </server>
> > </servers>
> >
> > On MacOs 12.0.1 and IntellyJ 2021.3 (Community Edition)
> >
> > —
> > You are receiving this because you are subscribed to this thread.
> > Reply to this email directly, view it on GitHub
> > <#5>, or
> > unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AAH54ILBRLKV32QOFCZCCNDURHHOBANCNFSM5KGDMWDA
> >
> > .
> > Triage notifications on the go with GitHub Mobile for iOS
> > <
>
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
> >
> > or Android
> > <
>
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
> >.
> >
> >
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <
#5 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AWQRABICA2CUCOPEZSJQAWDURHISBANCNFSM5KGDMWDA
>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
>
> or Android
> <
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
>.
>
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH54IKVAU5WXN34EOK3WLDURHNUXANCNFSM5KGDMWDA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Right! Sorry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get this message but my ~/.m2/settings.xml have the server with username aws
On MacOs 12.0.1 and IntellyJ 2021.3 (Community Edition)
The text was updated successfully, but these errors were encountered: