diff options
Diffstat (limited to 'core/pom.xml')
-rw-r--r-- | core/pom.xml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/core/pom.xml b/core/pom.xml index 6cd1965ec3..e80829b7a7 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -442,4 +442,55 @@ </resources> </build> + <profiles> + <profile> + <id>Windows</id> + <activation> + <os> + <family>Windows</family> + </os> + </activation> + <properties> + <path.separator>\</path.separator> + <script.extension>.bat</script.extension> + </properties> + </profile> + <profile> + <id>unix</id> + <activation> + <os> + <family>unix</family> + </os> + </activation> + <properties> + <path.separator>/</path.separator> + <script.extension>.sh</script.extension> + </properties> + </profile> + <profile> + <id>sparkr</id> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.3.2</version> + <executions> + <execution> + <id>sparkr-pkg</id> + <phase>compile</phase> + <goals> + <goal>exec</goal> + </goals> + </execution> + </executions> + <configuration> + <executable>..${path.separator}R${path.separator}install-dev${script.extension}</executable> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> + </project> |