troubles building RHQ

Lukas Krejci lkrejci at redhat.com
Mon Mar 25 10:30:50 UTC 2013


Hey Ian, nice to hear from you, it's been a while!

I think our results may be skewed by presence of our properly configured 
~/.m2/settings.xml.

It'd be interesting to see what happens when you try to build not only a 
freshly checked out code with cleared ~/.m2/repository but also with the 
default settings.xml. Not that we don't mention the need to do some tweaks in 
our documentation, but maybe we could see similar issues to what Ian is 
seeing. The less configuration we require from the users to do prior to 
building our stuff, the better. After all, nobody ever reads documentation 
until it's too late ;)

Lukas

On Monday, March 25, 2013 10:37:15 Heiko W.Rupp wrote:
> Hey Ian,
> 
> good to hear from you.
> 
> As mazz said, you need JDK 7 to compile RHQ (and I hope we will soon be able
> to use JDK7 language constructs as well).
> 
> I have just successfully compiled a fresh checkout on
> 
> [hrupp at pintsize rhq]$ echo $JAVA_HOME
> 
> [hrupp at pintsize rhq]$ java -version
> java version "1.7.0_09-icedtea"
> OpenJDK Runtime Environment (rhel-2.3.8.0.el6_4-x86_64)
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> [hrupp at pintsize rhq]$ cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 6.4 (Santiago)
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:25:37.489s
> [INFO] Finished at: Mon Mar 25 10:32:27 CET 2013
> 
> $ history
> 1004  mkdir rhq
>  1005  git clone http://git.fedorahosted.org/cgit/rhq/rhq.git/
>  1006  ls .git
>  1007  ls
>  1008  cd rhq
>  1009  ls -l
>  1010  echo $JAVA_HOME
>  1011  java -version
>  1012  mvn install
>  1013  mvn install -Ddbsetup-upgrade -rf :rhq-core-dbutils
> 
> 
> Did you have a clean clone and clean ~/.m2/repository?
> What JDK did you use on what platform?
> 
>   Heiko


More information about the rhq-devel mailing list