Bug 1313124 - Unauthorized (401) when deploying artifact with encrypted server and master passwords
Summary: Unauthorized (401) when deploying artifact with encrypted server and master p...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER1
: 6.3.0
Assignee: manstis
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks: 1313125
TreeView+ depends on / blocked
 
Reported: 2016-03-01 02:12 UTC by Hiroko Miura
Modified: 2020-03-27 19:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1313125 (view as bug list)
Environment:
Last Closed: 2020-03-27 19:36:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GUVNOR-2279 0 Major Resolved Unauthorized (401) when deploying artifact with encrypted server and master passwords 2016-09-23 08:09:40 UTC

Description Hiroko Miura 2016-03-01 02:12:40 UTC
Description of problem:

The project is configured to deploy artifacts to a remote nexus repository. Distribution management is set up in project poms.
The jboss user's ~/.m2/settings.xml is configured with matching repo id, username, and encrypted password. The master password is configured in ~/.m2/settings-security.xml. When a kjar is built, the build fails with a 401 unauthorized error, and artifacts are not published to remote nexus.

This issue has already been fixed in the upstream via this JIRA 

https://issues.jboss.org/browse/GUVNOR-2279 

Kindly fix the same issue for our future versions of BRMS/BPMS 6 releases too.



Version-Release number of selected component (if applicable):
6.2.0


How reproducible:
-always 


Steps to Reproduce:
1. configure B*MS6.2.0  project to deploy artifacts to a remote nexus repository by pom.xml in Business Central.

2. encrypt password of remote repository in settings.xml by settings-security.xml
 
   Ref: https://maven.apache.org/guides/mini/guide-encryption.html

3. perform Build&Deploy the project


Actual results:
Deployment fails with error 401.

Expected results:
Deployment succeed.

Additional info:

Comment 2 Pavel Kralik 2016-03-24 13:13:57 UTC
BPMS 6.3.0.ER1 - deployment fails with error 401 in Business central.
RHEL7/EAP6.4

Comment 4 Pavel Kralik 2016-03-30 16:24:25 UTC
BPMS 6.3.0.ER2 verified with example from GUVNOR-2279.


Note You need to log in before you can comment on or make changes to this bug.