Bug 1176970
Summary: | The settings.xml file gets deleted along with the repository directory after enabling the force clean build | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Luke Meyer <lmeyer> |
Component: | Image | Assignee: | Jakub Hadvig <jhadvig> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.x | CC: | eseymour, jdetiber, jokerman, libra-bugs, libra-onpremise-devel, lmeyer, misalunk, mmccomas, wzheng |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1176507 | Environment: | |
Last Closed: | 2015-02-18 16:53:35 UTC | Type: | Bug |
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: | |||
Bug Blocks: | 1176507 |
Description
Luke Meyer
2014-12-23 16:37:57 UTC
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/70ed80147c4043a669f9b99ab47e0472aaeb105f BUG 1176970: Delete all dependencies except settings.xml Now the settings.xml file will be preserved even if the force clean build marker will be added. Verified on devenv_5381. 1. Configure to use global maven settings.xml with below steps: # mkdir -p /etc/openshift/skel/.m2/ # cp $(rpm -ql $(rpm -qa | grep maven) | grep settings.xml) /etc/openshift/skel/.m2/ 2. Create a jboss app,here I have tested with jbosseap-6, jbossas-7, jbossews 1. and 2.0 3. Check the settings.xml exists under ${OPENSHIFT_HOMEDIR}.m2 after ssh to app 4. touch .openshift/markers/force_clean_build 5. Push changes 6. Check the settings.xml still exists. |