<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><br><div>Hi all,<br><br>$ sudo find / -name .m2<br>find: `/run/user/satimis/gvfs': Permission denied<br>/home/satimis/.m2<br><br>$ sudo ls -ald /home/satimis/.m2<br>drwxrwxr-x. 3 satimis satimis 4096 Nov 14 14:12 /home/satimis/.m2<br><br><br>$ cat $HOME/.m2/settings.xml<br><settings xmlns="<a target="_blank" href="http://maven.apache.org/POM/4.0.0%22">http://maven.apache.org/POM/4.0.0"</a>;<br> xmlns:xsi="<a target="_blank" href="http://www.w3.org/2001/XMLSchema-instance%22">http://www.w3.org/2001/XMLSchema-instance"</a>;<br> xsi:schemaLocation="<a target="_blank" href="http://maven.apache.org/POM/4.0.0">http://maven.apache.org/POM/4.0.0</a><br><a target="_blank"
href="http://maven.apache.org/xsd/settings-1.0.0.xsd%22">http://maven.apache.org/xsd/settings-1.0.0.xsd"</a>;><br><br><!--**************************** PROFILES ****************************--><br><br> <activeProfiles><br> <activeProfile>oVirtEnvSettings</activeProfile><br> </activeProfiles><br><br> <profiles><br> <profile><br> <id>oVirtEnvSettings</id><br>
<properties><br> <jbossHome>/usr/share/jboss-as</jbossHome><br> <JAVA_HOME>/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java</JAVA_HOME><br> </properties><br> </profile><br> </profiles><br></settings><br><br>This file is on /home/satimis/.m2/<br><br>$ locate settings.xml<br>/home/satimis/.m2/settings.xml<br>/usr/share/maven/conf/settings.xml<br>/usr/share/mime/application/x-cisco-vpn-settings.xml<br><br>There
are 2 settings.xml files<br><br>I attend the later file on /usr/share/maven/conf/settings.xml to this email<br><br>B.R.<br>Stephen L<br><br><br><br><br>>________________________________<br>> From: Juan Hernandez <jhernand@redhat.com><br>>To: Stephen Liu <satimis@yahoo.com> <br>>Cc: "engine-devel@ovirt.org" <engine-devel@ovirt.org> <br>>Sent: Wednesday, November 14, 2012 6:36 PM<br>>Subject: Re: [Engine-devel] Building oVirt from source<br>> <br>>On 11/14/2012 11:34 AM, Stephen Liu wrote:<br>>> # find / -name jboss-as<br>>> find: `/run/user/satimis/gvfs': Permission denied<br>>> /home/satimis/jboss-as<br>>> <br>>> jbozz-as is NOT on /usr/share/jboss-as<br>><br>>Then you need to fix your $HOME/.m2/settings.xml file, the jbossHome<br>>property must contain the directory where you have installed the<br>>application server.<br>><br>>>
------------------------------------------------------------------------<br>>> *From:* Juan Hernandez <jhernand@redhat.com><br>>> *To:* Stephen Liu <satimis@yahoo.com><br>>> *Cc:* "engine-devel@ovirt.org" <engine-devel@ovirt.org><br>>> *Sent:* Wednesday, November 14, 2012 6:23 PM<br>>> *Subject:* Re: [Engine-devel] Building oVirt from source<br>>> <br>>> On 11/14/2012 11:10 AM, Stephen Liu wrote:<br>>> ><br>>> > Hi Juan,<br>>> ><br>>> > I have sent another email to the list under the subject: "Deploy error<br>>> > again". But it never came to the list. Is the
server in problem?<br>>> ><br>>> > Subject : Deploy error again<br>>> <br>>> I think you are having problems with the permissions in the<br>>> /usr/share/jboss-as directory. Make sure that you have the following<br>>> content in your $HOME/.m2/settings.xml file:<br>>> <br>>> <settings<br>>> xmlns="<a target="_blank" href="http://maven.apache.org/POM/4.0.0%22">http://maven.apache.org/POM/4.0.0"</a>;<br>>> xmlns:xsi="<a target="_blank" href="http://www.w3.org/2001/XMLSchema-instance%22">http://www.w3.org/2001/XMLSchema-instance"</a>;<br>>> xsi:schemaLocation="<a target="_blank"
href="http://maven.apache.org/POM/4.0.0">http://maven.apache.org/POM/4.0.0</a><br>>> <a target="_blank" href="http://maven.apache.org/xsd/settings-1.0.0.xsd%22">http://maven.apache.org/xsd/settings-1.0.0.xsd"</a>;><br>>> <br>>> <activeProfiles><br>>> <activeProfile>oVirtEnvSettings</activeProfile><br>>> </activeProfiles><br>>> <br>>> <profiles><br>>> <profile><br>>> <id>oVirtEnvSettings</id><br>>> <properties><br>>> <jbossHome>/home/satimis/jboss-as</jbossHome><br>>>
</properties><br>>> </profile><br>>> </profiles><br>>> <br>>> </settings><br>>> <br>>> Pay special attention to the "jbossHome" property, it should be the<br>>> directory where you have the application server installed, and you need<br>>> to have permissions to write to it. Currently you are using<br>>> /usr/share/jboss-as, and I guess you don't have permissions to write<br>>> there. Install the application server to /home/staimis/jboss-as and use<br>>> that instead.<br>>> <br>>> -- <br>>> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea
3, planta<br>>> 3ºD, 28016 Madrid, Spain<br>>> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat<br>>> S.L.<br>>> <br>>> <br>><br>><br>>-- <br>>Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta<br>>3ºD, 28016 Madrid, Spain<br>>Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.<br>><br>><br>></div> </div></body></html>