I have set up Apache Archiva and added a couple of files to it:
Everything looks good, I think.
I have updated my settings.xml file to include the profile:
I then add the above mentioned dependency to my pom.xml file:
I save it so that it rebuilds and then bam!
Please, for the love of all that is good in this world can someone tell me what I'm not doing correctly?
The error message actually reads:
Changed snapshots to "true" and adding screenshot.
Making the connection between Apache Archiva and Maven was a difficult slog.
I eventually stumbled across another post here on Stack that was a tremendious help in figuring this out. For the life of me I can't seem to find again to give proper credit. If I eventually find it again I will post so you can get that sweet sweet karma.
Here is my settings.xml file:
I understand that this may not be the most efficient layout but it finally worked. If anyone has any recommendations to make this more concise please feel free to chime in.
Update on June 20, 2018:
My organization just switched to ProGet for our artifact server. It's significantly easier to use compared to Apache Archiva.
The settings.xml file for ProGet is as follows:
Then of course don't forget to reference the repository in your projects' pom file.
I hope this helps whoever is researching this stuff. Good luck!