cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [2/2] git commit: updated refs/heads/master to 4146813
Date Thu, 22 Oct 2015 09:45:14 GMT
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 <github@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 <github@remi.nl>
Authored: Thu Oct 22 11:44:28 2015 +0200
Committer: Remi Bergsma <github@remi.nl>
Committed: Thu Oct 22 11:44:28 2015 +0200

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



Mime
View raw message