reef-examples-clr
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.microsoft.reef</groupId>
<artifactId>reef-examples-clr</artifactId>
<version>0.9</version>
</dependency><?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>reef-examples-clr</artifactId>
<name>REEF Examples CLR</name>
<description>Examples that use the JVM/CLR interop of REEF.</description>
<parent>
<groupId>com.microsoft.reef</groupId>
<artifactId>reef-project</artifactId>
<version>0.9</version>
</parent>
<dependencies>
<!-- REEF -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>reef-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>reef-runtime-local</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>reef-runtime-yarn</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>reef-io</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>reef-checkpoint</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.microsoft.reef</groupId>
<artifactId>reef-webserver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.microsoft.reef</groupId>
<artifactId>reef-examples</artifactId>
<version>${project.version}</version>
</dependency>
<!-- End of REEF -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<outputFile>
${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar
</outputFile>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>yarn-default.xml</exclude>
<exclude>yarn-version-info.properties</exclude>
<exclude>core-default.xml</exclude>
<exclude>LICENSE</exclude>
<exclude>META-INF/*</exclude>
</excludes>
</filter>
</filters>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>RetainedEvalCLR</id>
<build>
<defaultGoal>exec:exec</defaultGoal>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath />
<argument>-Djava.util.logging.config.class=com.microsoft.reef.util.logging.Config
</argument>
<argument>-Dcom.microsoft.reef.runtime.local.folder=${project.build.directory}
</argument>
<argument>com.microsoft.reef.examples.retained_evalCLR.Launch</argument>
<argument>dotnetDistributedShell</argument>
<!-- <argument>-cmd</argument>
<argument>date</argument>
<argument>-num_runs</argument>
<argument>20</argument>
<argument>-local</argument>
<argument>true</argument> -->
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>HelloCLR</id>
<build>
<defaultGoal>exec:exec</defaultGoal>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath />
<argument>-Djava.util.logging.config.class=com.microsoft.reef.util.logging.Config
</argument>
<!-- <argument>-Dlog4j.debug=true</argument> -->
<argument>-Dcom.microsoft.reef.runtime.local.folder=${project.build.directory}
</argument>
<argument>com.microsoft.reef.examples.helloCLR.HelloCLR</argument>
<argument>dotnetHello</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>