Bug 900649 (JBPAPP6-1195)
| Summary: | Installer: Add support for a remote location in Maven Repo location | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Thomas Hauser <thauser> | ||||||
| Component: | Installer | Assignee: | Default User <jbpapp-maint> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 6.1.0 | CC: | atangrin, msadhukh, pkremens, rsvoboda, thauser, tkirby | ||||||
| Target Milestone: | ER6 | ||||||||
| Target Release: | EAP 6.1.0 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| URL: | http://jira.jboss.org/jira/browse/JBPAPP6-1195 | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-12-15 17:01:33 UTC | Type: | Enhancement | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | 953529 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Thomas Hauser
2012-06-19 15:33:28 UTC
Please add Affects Version so that this issue can be triaged into the correct major version of EAP or EWS. Thanks! This feature exists in the 6.0.1 installer I found option for specifying only local maven repository.Could you please attach screenshot or provide further details? I am reopening this as I do not find this fix in EAP 6.0.1.ER3....please resolve with details or move the fix version to correct one.(attaching screenshot for what I see currently) Attachment: Added: mavenrepo_quickstarts.png Specifying a URL as the location works transparently. Confirmed to work with the following values: http://maven.repository.redhat.com/techpreview/all/ /tmp/example-settings.xml We're looking at changing the text of the option to remove the local qualifier. Release Notes Docs Status: Added: Not Required Release Notes Docs Status: Removed: Not Required Docs QE Status: Removed: NEW We will check current status when installer is available, should be with ER1 or ER3. I tried to enter remote location for existing file http://maven.repository.redhat.com/techpreview/all/example-settings.xml However it always gives me error message that settings.xml does not exist. However specifying a maven repository and settings.xml available on local works. Is this fix in 6.1.0.ER1? Created attachment 705460 [details]
mavensettings-error
Madhumita, What this part of the installer does is add an active profile to the given (local) settings.xml with the location of the maven repository configured (the locaiton of the maven repo can be remote). This is to simplify the building of the quickstarts. One cannot specify a remote location for the settings.xml (the installer is modifying the file). Scenarios: a) Local repo location, local settings.xml - Useful if the user has downloaded the JBoss maven repo, can specify the local location b) Remote repo location, local settings.xml - Useful if the user hosts their own maven repository, or for using the public JBoss repos c) Local repo location, no settings.xml exists - Basic settings.xml will be created at the given local path d) Remote repo location, no settings.xml exists - Same as above So it seems like the issue you've described, we should prevent by making sure the user is not trying to specify a remote settings.xml location. Does that sound about right? Thanks, Tom Confirming that the basic settings.xml functionality is not present in ER1. This will be present in ER2. Hi Thomas,
Above scenarios proposed by you look good from my POV.Petr will verify if the changes are available with 6.1.0.ER2 installer
Hi Tom, I tried all four scenarios you mentioned and it works fine. I have just one really tiny note. In Maven Repository Setup screen we should remove word "local" in: Skip local maven-repository set up; as we can use also remote repo. I also find that I am able to specify remote settings.xml location. If I enter eg. http://google.com as settings.xml location I am asked whether I want to create settings.xml file at that location. At the end of installation, when the settings.xml should be actually created, Post processing error is thrown. I cannot verify this, until BZ953529 is resolved. Hi Tom, I can still specify remote settings.xml if using -console mode. Will be in ER6. Verified on EAP 6.1.0 ER6 |