[
https://issues.jboss.org/browse/FORGE-1321?page=com.atlassian.jira.plugin...
]
David Beer commented on FORGE-1321:
-----------------------------------
Artifactory can be configured as follows:
Install default setup and configuration add the jboss repositories to the remote
repositories section and add them to the remote-repos virtual repository. Create a second
user other than admin, set the users password. Change the General Settings to disallow
anomous access. Log in as the new user and generate the maven file to point to repo
(contains all repositories). Download the maven settings file and put in your m2
directory. Add your password in for the user in clear text resolution in forge2 fails.
Go back to artifactory login in as admin and change the security settings, make sure the
Password Encryption Policy is set to Supported. Then login as the user and follow the
instruction in the above article to get your encrypted key. Copy the key as it says to
your maven settings file and try and resolve dependencies in forge2.
Failure to install addons when using Artifactory repositories using
centrally secured passwords
-----------------------------------------------------------------------------------------------
Key: FORGE-1321
URL:
https://issues.jboss.org/browse/FORGE-1321
Project: Forge
Issue Type: Bug
Components: Build Tools - Maven
Affects Versions: 2.0.0.Beta3
Reporter: Vineet Reynolds
After FORGE-1307, Forge seems to be able to access secure repositories, but fails to
install the addon:
{noformat}
forge-distribution-2.0.0.Beta2$ ./bin/forge --install shell
Using Forge at forge-distribution-2.0.0.Beta2
Warning: JAVA_HOME environment variable is not set.
Downloading:
http://xxxxxx/artifactory/repo/org/jboss/forge/addon/shell/maven-metadata...
Downloading:
http://xxxxxx/artifactory/repo/org/jboss/forge/addon/shell/maven-metadata...
java.lang.IllegalArgumentException: No Artifact version found for
org.jboss.forge.addon:shell
at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:199)
at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:88)
> Forge version [2.0.0.Beta1]
{noformat}
The Artifactory repository used this feature:
http://www.jfrog.com/confluence/display/RTF/Centrally+Secure+Passwords
Additional info:
{noformat}
<dbeer> think I have found part of issue I have removed security constraint briefly
from our server and is now downloading a load of forge addon snapshots, will investigate
the security further tomorrow
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira