SLIDER-655 fixup app-package/pom to select different modules based on platform
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/0692d635 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/0692d635 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/0692d635 Branch: refs/heads/branches/branch-0.6 Commit: 0692d635f75f67c63826d33dad14ead65d0901de Parents: 44c471a Author: Steve Loughran <[email protected]> Authored: Wed Dec 3 18:28:13 2014 +0000 Committer: Steve Loughran <[email protected]> Committed: Sat Jan 10 16:39:47 2015 +0000 ---------------------------------------------------------------------- app-packages/pom.xml | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/0692d635/app-packages/pom.xml ---------------------------------------------------------------------- diff --git a/app-packages/pom.xml b/app-packages/pom.xml index cb45e98..7925cfb 100644 --- a/app-packages/pom.xml +++ b/app-packages/pom.xml @@ -27,20 +27,46 @@ <groupId>org.apache.slider.packages</groupId> <artifactId>slider-app-packages</artifactId> <packaging>pom</packaging> - <name>Slider Storm App Package</name> - <description>Slider Storm App Packages: Zip files containing applications that slider can deploy</description> + <name>Slider App Packages</name> + <description>Slider App Packages: Zip files containing applications that slider can deploy</description> <modules> - <module>hbase</module> - <module>accumulo</module> - <module>storm</module> + </modules> <build> </build> - <dependencies> - </dependencies> + <profiles> + + <profile> + <id>Non-Windows</id> + <activation> + <os> + <family>!windows</family> + </os> + </activation> + <modules> + <module>accumulo</module> + <module>hbase</module> + <module>storm</module> + </modules> + </profile> + + <profile> + <id>Windows</id> + <activation> + <os> + <family>windows</family> + </os> + </activation> + <modules> + <module>hbase-win</module> + <module>storm-win</module> + </modules> + </profile> + </profiles> + </project>
