[ https://issues.apache.org/jira/browse/FELIX-6403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454687#comment-17454687 ]
Jean-Baptiste Onofré commented on FELIX-6403: --------------------------------------------- Does it work fine without {{altDeploymentRepository}} ? I guess yes, as I'm using it to release Karaf bundles. > Maven doesn't authenticate during upload with bundle plugin > ----------------------------------------------------------- > > Key: FELIX-6403 > URL: https://issues.apache.org/jira/browse/FELIX-6403 > Project: Felix > Issue Type: Bug > Components: Maven Bundle Plugin > Affects Versions: maven-bundle-plugin-5.1.2 > Environment: Linux > Reporter: Pawel Veselov > Assignee: Jean-Baptiste Onofré > Priority: Major > Fix For: maven-bundle-plugin-5.1.3 > > > To reproduce: > # Have a POM with the plugin (e.g. > [https://bitbucket.org/asomov/snakeyaml-engine/src], disable Sonatype plugin > for testing) > # Have a repository that requires upload authentication > # Configure repo credentials in ~/.m2/settings.xml > # Attempt to deploy using alternative repository: > {code} > mvn deploy -DskipTests=true > -DaltDeploymentRepository=repo.id::default::https://repo.url > {code} > The upload process does not attempt authentication in this case. > -- This message was sent by Atlassian Jira (v8.20.1#820001)