Le 08/11/2013 14:20, Attila Heidrich a écrit :Attila,
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
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