I’m trying to download dependencies from a remote repository which requires authentication. Is there a way to provide credentials in my pom configuration? Thank you
<repositories>
<repository>
<id>alfresco-private</id>
<url>https://artifacts.alfresco.com/nexus/content/groups/private</url>
</repository>
</repositories>
No there isn’t beacuse POM is a ‘public artifact’ that you could share with
your development team so it should not contains passwords.
Read here: http://maven.apache.org/settings.html