anyway... why is there the profile "enterprise" in the building sample, since there's nothing like that in the xml!

A


2013/11/8 Attila Heidrich <attila.heidrich@gmail.com>
I haven't set anything till now... now I have set the recommended values... results are the same after

mvn -Penterprise,dev -Ddbsetup -DskipTests install -rf :rhq-enterprise-server-appserver

or what's recommended after changing the settings.xml?

A


2013/11/8 Thomas Segismont <tsegismo@redhat.com>
Le 08/11/2013 14:20, Attila Heidrich a écrit :

The build really took soma time, but the problem isn't that, but the result:

[INFO] Creating
../../../../dev-container/rhq-server/bin/rhq-storage.properties
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] RHQ Enterprise Server Application Server Container  FAILURE [43.065s]
[INFO] RHQ Server JAR Integration Tests .................. SKIPPED
[INFO] RHQ Code Coverage ................................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 49.295s
[INFO] Finished at: Fri Nov 08 13:47:07 CET 2013
[INFO] Final Memory: 66M/247M
[INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "enterprise" could not be activated
because it does not exist.
[ERROR] Failed to execute goal
org.codehaus.gmaven:groovy-maven-plugin:2.0-SNAPSHOT:execute
(storage-setup) on project rhq-enterprise-server-appserver: Execution
storage-setup of goal
org.codehaus.gmaven:groovy-maven-plugin:2.0-SNAPSHOT:execute failed:
java.io.FileNotFoundException:
../../../../dev-container/rhq-server/bin/rhq-storage.properties (No such
file or directory) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal
org.codehaus.gmaven:groovy-maven-plugin:2.0-SNAPSHOT:execute
(storage-setup) on project rhq-enterprise-server-appserver: Execution
storage-setup of goal
org.codehaus.gmaven:groovy-maven-plugin:2.0-SNAPSHOT:execute failed:
java.io.FileNotFoundException:
../../../../dev-container/rhq-server/bin/rhq-storage.properties (No such
file or directory)


While:
root@rhq-test:~/projects/rhq# ls -l
dev-container/rhq-server/bin/rhq-storage.properties
-rw-r--r-- 1 root root 5429 Nov  8 13:47
dev-container/rhq-server/bin/rhq-storage.properties

Attila

Attila,

What did you set in your Maven settings file for the rhq.rootDir and rhq.containerDir ?

Try with:
<rhq.rootDir><your_home>/projects/rhq</rhq.rootDir>
and rhq.containerDir unset.

One other thing: you're building a dev-container. This is useful for RHQ hacking but what you need is a distribution build (dev profile deactivated).

Thomas

_______________________________________________
rhq-users mailing list
rhq-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-users