On job as freelancer working with Java, JDK17+, Jenkins, Maven, Docker, K3S, Git, In my spare time I'm trying to blog about something useful(?) or try to hack on things I like.
For this article the profile was a write once and forget, also I was able to isolate the profile while testing locally from may main configuration.
You can place the profile in the settings.xml file using the whelk-io/maven-settings-xml-action@v11 plugin, however, the different touchpoints of credentials and mappings (between the pom.xml, settings.xml and main.yml build file) just made it easier putting the profile in the pom.xml.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is there a good reason why you defined the repositories via a profile in your pom file and not within
settings.xml
?For this article the profile was a write once and forget, also I was able to isolate the profile while testing locally from may main configuration.
You can place the profile in the settings.xml file using the whelk-io/maven-settings-xml-action@v11 plugin, however, the different touchpoints of credentials and mappings (between the pom.xml, settings.xml and main.yml build file) just made it easier putting the profile in the pom.xml.