[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ee4j-pmc] Migration to Jakarta installation of Nexus
|
Mikael Barbero wrote on 1/23/20 2:08 AM:
There is no change to do in the settings.xml file. It only
contains credentials for repositories with the id "ossrh":
<settings>
<servers>
<server>
<id>ossrh</id>
<username>jaf-bot</username>
<password>*********</password>
</server>
</servers>
</settings>
Where do the credentials for the jakarta
repository come from?
Where should they come from?
If I use the -Pstaging profile, I seem to get the required
credentials.
Isn't the parent pom redefining "ossrh" to refer to the Jakarta
Nexus? Isn't that supposed to make everything "just work"?
I don't understand your comment at all, sorry.
Back in the java.net days, I had profiles defined in my pom.xml for
deployment. With the move to Eclipse, most of the configuration for
those profiles disappeared and was moved to the parent pom. I kept
the profile names around to avoid break scripts, but it sometimes
meant that I had to use two profiles when deploying - one from the
parent pom and one from my pom.
You can see in the comments in the commit above the reason that
profile exists.