You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by re...@apache.org on 2015/10/22 11:45:14 UTC

[2/2] git commit: updated refs/heads/master to 4146813

Merge pull request #958 from miguelaferreira/cloud-apidoc-depends-on-cloud-client-ui

cloud-apidoc module depends on cloud-client-uiWhen building the cloud-apidoc module a script called `./build-apidoc.sh` is executed with an argument that points to `../../client/target/cloud-client-ui-${project.version}/WEB-INF/lib`. The script uses that argument to build a Java classpath. However, since the cloud-apidoc module does not explicitly depend on cloud-client-ui, a parallel maven build will often fail because the required jars are not present when needed.

Error message when build fails:
```
Error: Could not find or load main class com.cloud.api.doc.ApiXmlDocWriter
```

This PR makes the dependency explicit.

Resulting build:
```
mvn clean install -T4 -Pdeveloper,systemvm
....
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 09:02 min (Wall Clock)
[INFO] Finished at: 2015-10-20T13:31:30+02:00
[INFO] Final Memory: 98M/1526M
[INFO] ------------------------------------------------------------------------
```

* pr/958:
  cloud-apidoc module depends on cloud-client-ui

Signed-off-by: Remi Bergsma <gi...@remi.nl>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/41468133
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/41468133
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/41468133

Branch: refs/heads/master
Commit: 414681330916d46853a2f1982bb4412165713e07
Parents: e7638c0 9cbd321
Author: Remi Bergsma <gi...@remi.nl>
Authored: Thu Oct 22 11:44:28 2015 +0200
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Thu Oct 22 11:44:28 2015 +0200

----------------------------------------------------------------------
 tools/apidoc/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------