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/3b1c2fa0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/3b1c2fa0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/3b1c2fa0 Branch: refs/heads/feature/SLIDER-151_REST_API Commit: 3b1c2fa00f7d007a52f2b8aee7b3e9431ffe565a Parents: a147d73 Author: Steve Loughran <[email protected]> Authored: Wed Dec 3 18:28:13 2014 +0000 Committer: Steve Loughran <[email protected]> Committed: Wed Dec 3 18:28:13 2014 +0000 ---------------------------------------------------------------------- app-packages/pom.xml | 42 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/3b1c2fa0/app-packages/pom.xml ---------------------------------------------------------------------- diff --git a/app-packages/pom.xml b/app-packages/pom.xml index b02b79c..2dbbccf 100644 --- a/app-packages/pom.xml +++ b/app-packages/pom.xml @@ -21,26 +21,52 @@ <groupId>org.apache.slider</groupId> <artifactId>slider</artifactId> <version>0.61.0-SNAPSHOT</version> - <relativePath>../../pom.xml</relativePath> + <relativePath>../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <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> \ No newline at end of file
