UNOMI-169 Run integration tests before deployment To achieve this I introduced a dependency of package module on itests module. It does not build if integration-tests profile is not activated.
Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/4959cd35 Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/4959cd35 Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/4959cd35 Branch: refs/heads/feature-UNOMI-5-KARAF4-1 Commit: 4959cd3599d2f0359408399c2600210d5944af9c Parents: d8bbbfa Author: Jarek Lipski <jlip...@jahia.com> Authored: Thu Mar 1 13:04:45 2018 +0100 Committer: Jarek Lipski <jlip...@jahia.com> Committed: Thu Mar 1 13:21:56 2018 +0100 ---------------------------------------------------------------------- package/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/4959cd35/package/pom.xml ---------------------------------------------------------------------- diff --git a/package/pom.xml b/package/pom.xml index a1cae4b..6dfa0d3 100644 --- a/package/pom.xml +++ b/package/pom.xml @@ -99,6 +99,14 @@ <type>xml</type> <scope>runtime</scope> </dependency> + + <dependency> + <groupId>org.apache.unomi</groupId> + <artifactId>unomi-itests</artifactId> + <version>1.3.0-incubating-SNAPSHOT</version> + <classifier>features</classifier> + <scope>test</scope> + </dependency> </dependencies> <build>