johnyangk closed pull request #127: [NEMO-225] Drop REEF JARs from source tree URL: https://github.com/apache/incubator-nemo/pull/127
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/NOTICE b/NOTICE new file mode 100644 index 000000000..4144dd18e --- /dev/null +++ b/NOTICE @@ -0,0 +1,5 @@ +Apache Nemo +Copyright 2018 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). diff --git a/client/pom.xml b/client/pom.xml index 1fb19198e..f48919170 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-client</artifactId> <name>Nemo Client</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.nemo</groupId> diff --git a/client/src/main/java/org/apache/reef/runtime/yarn/ClassPathBuilder.java b/client/src/main/java/org/apache/reef/runtime/yarn/ClassPathBuilder.java new file mode 100644 index 000000000..9b53d8c3f --- /dev/null +++ b/client/src/main/java/org/apache/reef/runtime/yarn/ClassPathBuilder.java @@ -0,0 +1,121 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.reef.runtime.yarn; + +import org.apache.reef.util.HadoopEnvironment; + +import javax.annotation.concurrent.NotThreadSafe; +import java.util.ArrayList; +import java.util.Collections; +import java.util.LinkedHashSet; +import java.util.List; + +/** + * A helper class to assemble a class path. + * <p> + * It uses a TreeSet internally for both a prefix and a suffix of the classpath. This makes sure that duplicate entries + * are avoided. + */ +@NotThreadSafe +final class ClassPathBuilder { + private final LinkedHashSet<String> prefix = new LinkedHashSet<>(); + private final LinkedHashSet<String> suffix = new LinkedHashSet<>(); + + /** + * The oracle that tells us whether a given path could be a YARN configuration path. + * + * @param path + * @return + */ + private static boolean couldBeYarnConfigurationPath(final String path) { + return path.contains("conf") || + path.contains("etc") || + path.contains(HadoopEnvironment.HADOOP_CONF_DIR); + } + + /** + * Adds the given classpath entry. A guess will be made whether it refers to a configuration folder, in which case + * it will be added to the prefix. Else, it will be added to the suffix. + * + * @param classPathEntry + */ + void add(final String classPathEntry) { + // Make sure that the cluster configuration is in front of user classes + if (couldBeYarnConfigurationPath(classPathEntry)) { + this.addToPrefix(classPathEntry); + } else { + this.addToSuffix(classPathEntry); + } + } + + /** + * Adds the given classPathEntry to the classpath suffix. + * + * @param classPathEntry + */ + void addToSuffix(final String classPathEntry) { + this.suffix.add(classPathEntry); + } + + /** + * Adds the given classPathEntry to the classpath prefix. + * + * @param classPathEntry + */ + void addToPrefix(final String classPathEntry) { + this.prefix.add(classPathEntry); + } + + /** + * Adds all entries given using the <code>add()</code> method. + * + * @param entries + */ + void addAll(final String... entries) { + for (final String classPathEntry : entries) { + this.add(classPathEntry); + } + } + + /** + * Adds all the given entries to the classpath suffix. + * + * @param entries + */ + void addAllToSuffix(final String... entries) { + for (final String classPathEntry : entries) { + this.addToSuffix(classPathEntry); + } + } + + + /** + * @return the suffix in an immutable list. + */ + List<String> getSuffixAsImmutableList() { + return Collections.unmodifiableList(new ArrayList<>(this.suffix)); + } + + /** + * @return the prefix in an immutable list. + */ + List<String> getPrefixAsImmutableList() { + return Collections.unmodifiableList(new ArrayList<>(this.prefix)); + } +} diff --git a/common/pom.xml b/common/pom.xml index 976dee752..0c0fc6d41 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-common</artifactId> <name>Nemo Common</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.reef</groupId> diff --git a/common/src/main/resources/repository/org/apache/reef/reef-annotations/0.17.0-SNAPSHOT/reef-annotations-0.17.0-SNAPSHOT.jar b/common/src/main/resources/repository/org/apache/reef/reef-annotations/0.17.0-SNAPSHOT/reef-annotations-0.17.0-SNAPSHOT.jar deleted file mode 100644 index 57d5b9ac5..000000000 Binary files a/common/src/main/resources/repository/org/apache/reef/reef-annotations/0.17.0-SNAPSHOT/reef-annotations-0.17.0-SNAPSHOT.jar and /dev/null differ diff --git a/common/src/main/resources/repository/org/apache/reef/reef-annotations/0.17.0-SNAPSHOT/reef-annotations-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/reef-annotations/0.17.0-SNAPSHOT/reef-annotations-0.17.0-SNAPSHOT.pom deleted file mode 100644 index c3df159c4..000000000 --- a/common/src/main/resources/repository/org/apache/reef/reef-annotations/0.17.0-SNAPSHOT/reef-annotations-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<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> - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>reef-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <properties> - <rootPath>${basedir}/../../..</rootPath> - </properties> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>lang/java/reef-common/src/main/resources/checkstyle-strict.xml</configLocation> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <artifactId>reef-annotations</artifactId> - <name>REEF Annotations</name> -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/reef-common/0.17.0-SNAPSHOT/reef-common-0.17.0-SNAPSHOT.jar b/common/src/main/resources/repository/org/apache/reef/reef-common/0.17.0-SNAPSHOT/reef-common-0.17.0-SNAPSHOT.jar deleted file mode 100644 index 49fe731a0..000000000 Binary files a/common/src/main/resources/repository/org/apache/reef/reef-common/0.17.0-SNAPSHOT/reef-common-0.17.0-SNAPSHOT.jar and /dev/null differ diff --git a/common/src/main/resources/repository/org/apache/reef/reef-common/0.17.0-SNAPSHOT/reef-common-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/reef-common/0.17.0-SNAPSHOT/reef-common-0.17.0-SNAPSHOT.pom deleted file mode 100644 index 94e66c30a..000000000 --- a/common/src/main/resources/repository/org/apache/reef/reef-common/0.17.0-SNAPSHOT/reef-common-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,173 +0,0 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<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> - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>reef-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <properties> - <rootPath>${basedir}/../../..</rootPath> - <protoPath>${rootPath}/lang/common/proto</protoPath> - </properties> - - <artifactId>reef-common</artifactId> - <name>REEF Common</name> - - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>lang/java/reef-common/src/main/resources/checkstyle-strict.xml</configLocation> - </configuration> - </plugin> - </plugins> - </pluginManagement> - <plugins> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>generate-sources</id> - <phase>generate-sources</phase> - <configuration> - <target> - <exec executable="protoc" outputproperty="protoc.version"> - <arg value="--version"/> - </exec> - <fail message="${protobuf.version} expected, but protoc version was: ${protoc.version}"> - <condition> - <not> - <contains substring="${protobuf.version}" string="${protoc.version}"/> - </not> - </condition> - </fail> - <mkdir dir="target/generated-sources/proto"/> - <exec executable="protoc"> - <arg value="--proto_path=${protoPath}"/> - <arg value="--java_out=target/generated-sources/proto"/> - <arg value="${protoPath}/reef_service_protos.proto"/> - <arg value="${protoPath}/evaluator_runtime.proto"/> - <arg value="${protoPath}/client_runtime.proto"/> - <arg value="${protoPath}/reef_protocol.proto"/> - </exec> - </target> - <sourceRoot>target/generated-sources/proto</sourceRoot> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source>target/generated-sources/proto</source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - <resources> - <resource> - <directory>${basedir}/src/main/resources</directory> - <includes> - <include>version.properties</include> - </includes> - <filtering>true</filtering> - </resource> - <resource> - <directory>${basedir}/src/main/resources</directory> - <excludes> - <exclude>version.properties</exclude> - </excludes> - <filtering>false</filtering> - </resource> - </resources> - </build> - - <dependencies> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-annotations</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-utils</artifactId> - <version>${project.version}</version> - </dependency> - - <dependency> - <groupId>com.google.protobuf</groupId> - <artifactId>protobuf-java</artifactId> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>wake</artifactId> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>tang</artifactId> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-core</artifactId> - </dependency> - <dependency> - <groupId>net.jcip</groupId> - <artifactId>jcip-annotations</artifactId> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - </dependency> - <dependency> - <groupId>com.google.code.findbugs</groupId> - <artifactId>jsr305</artifactId> - <version>${jsr305.version}</version> - </dependency> - </dependencies> - -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/reef-io/0.17.0-SNAPSHOT/reef-io-0.17.0-SNAPSHOT.jar b/common/src/main/resources/repository/org/apache/reef/reef-io/0.17.0-SNAPSHOT/reef-io-0.17.0-SNAPSHOT.jar deleted file mode 100644 index 202a45f8f..000000000 Binary files a/common/src/main/resources/repository/org/apache/reef/reef-io/0.17.0-SNAPSHOT/reef-io-0.17.0-SNAPSHOT.jar and /dev/null differ diff --git a/common/src/main/resources/repository/org/apache/reef/reef-io/0.17.0-SNAPSHOT/reef-io-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/reef-io/0.17.0-SNAPSHOT/reef-io-0.17.0-SNAPSHOT.pom deleted file mode 100644 index bd49e3f87..000000000 --- a/common/src/main/resources/repository/org/apache/reef/reef-io/0.17.0-SNAPSHOT/reef-io-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,158 +0,0 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" - 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> - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>reef-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <properties> - <rootPath>${basedir}/../../..</rootPath> - </properties> - - <artifactId>reef-io</artifactId> - <name>REEF IO</name> - - <build> - <plugins> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>generate-sources</id> - <phase>generate-sources</phase> - <configuration> - <target> - <mkdir dir="target/generated-sources/proto"/> - <exec executable="protoc"> - <arg value="--proto_path=src/main/proto/"/> - <arg value="--java_out=target/generated-sources/proto"/> - <arg value="src/main/proto/ns_protocol.proto"/> - </exec> - <exec executable="protoc"> - <arg value="--proto_path=src/main/proto/"/> - <arg value="--java_out=target/generated-sources/proto"/> - <arg value="src/main/proto/group_comm_protocol.proto"/> - </exec> - </target> - <sourceRoot>target/generated-sources/proto</sourceRoot> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source>target/generated-sources/proto</source> - <source>target/generated-sources/avro</source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.avro</groupId> - <artifactId>avro-maven-plugin</artifactId> - </plugin> - </plugins> - </build> - - <dependencies> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-common</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-webserver</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.avro</groupId> - <artifactId>avro</artifactId> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - </dependency> - <!-- HADOOP --> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-common</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-yarn-common</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-yarn</artifactId> - <version>${hadoop.version}</version> - <type>pom</type> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-hdfs</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-yarn-client</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-minicluster</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-core</artifactId> - </dependency> - <!-- END OF HADOOP --> - </dependencies> - -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/reef-project/0.17.0-SNAPSHOT/reef-project-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/reef-project/0.17.0-SNAPSHOT/reef-project-0.17.0-SNAPSHOT.pom deleted file mode 100644 index 6072ade66..000000000 --- a/common/src/main/resources/repository/org/apache/reef/reef-project/0.17.0-SNAPSHOT/reef-project-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,902 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" - 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> - <groupId>org.apache.reef</groupId> - <version>0.17.0-SNAPSHOT</version> - <packaging>pom</packaging> - <name>REEF</name> - <artifactId>reef-project</artifactId> - <description>Retainable Evaluator Execution Framework</description> - <url>http://reef.apache.org</url> - - <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>16</version> - </parent> - - <licenses> - <license> - <name>The Apache Software License, Version 2.0</name> - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> - <distribution>repo</distribution> - </license> - </licenses> - - <properties> - <!-- The latest released version. This is used e.g. on the website --> - <currentStableVersion>0.16.0</currentStableVersion> - <reef.conf.dir>${project.build.directory}/conf</reef.conf.dir> - <reef.log.dir>${project.build.directory}/log</reef.log.dir> - <bundle.snappy>false</bundle.snappy> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <hadoop.version>2.7.0</hadoop.version> - <spark.version>2.1.0</spark.version> - <avro.version>1.8.1</avro.version> - <parquet.version>1.9.0</parquet.version> - <jetty.version>6.1.26</jetty.version> - <jackson.version>1.9.13</jackson.version> - <protobuf.version>2.5.0</protobuf.version> - <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version> - <sevntu.checkstyle.plugin.version>1.20.0</sevntu.checkstyle.plugin.version> - <checkstyle.version>6.17</checkstyle.version> - <findbugs.version>3.0.2</findbugs.version> - <reflections.version>0.9.9-RC1</reflections.version> - <jsr305.version>3.0.1</jsr305.version> - <kryo.version>3.0.3</kryo.version> - <kryo-serializers.version>0.37</kryo-serializers.version> - <fast-classpath-scanner.version>2.4.5</fast-classpath-scanner.version> - <rootPath>${user.dir}</rootPath> - </properties> - - <scm> - <connection>scm:git:[email protected]:apache/reef</connection> - <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/reef</developerConnection> - <url>scm:git:[email protected]:apache/reef</url> - <tag>HEAD</tag> - </scm> - - <developers> - </developers> - - <issueManagement> - <system>JIRA</system> - <url>https://issues.apache.org/jira/browse/REEF</url> - </issueManagement> - - <mailingLists> - <mailingList> - <name>Dev Mailing List</name> - <post>[email protected]</post> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <archive>http://mail-archives.apache.org/mod_mbox/reef-dev/</archive> - </mailingList> - </mailingLists> - - <prerequisites> - <maven>3.0</maven> - </prerequisites> - - <pluginRepositories> - <pluginRepository> - <id>sevntu-maven</id> - <name>sevntu-maven</name> - <url>http://sevntu-checkstyle.github.io/sevntu.checkstyle/maven2</url> - </pluginRepository> - </pluginRepositories> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>1.7</source> - <target>1.7</target> - <showDeprecation>true</showDeprecation> - <encoding>${project.build.sourceEncoding}</encoding> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.19.1</version> - <configuration> - <argLine>-Xmx2g</argLine> - <systemProperties> - <property> - <name>org.apache.reef.runtime.local.folder</name> - <value>${project.build.directory}</value> - </property> - </systemProperties> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>3.4</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-deploy-plugin</artifactId> - <version>2.8.2</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-install-plugin</artifactId> - <version>2.5.2</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-clean-plugin</artifactId> - <version>2.5</version> - </plugin> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <version>1.7</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <version>1.9.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>2.6</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.10.3</version> - <configuration> - <show>public</show> - <linksource>true</linksource> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.4.1</version> - </plugin> - <plugin> - <!-- Create the property $buildNumber holding the current Git revision --> - <groupId>org.codehaus.mojo</groupId> - <artifactId>buildnumber-maven-plugin</artifactId> - <version>1.3</version> - <executions> - <execution> - <phase>validate</phase> - <goals> - <goal>create</goal> - </goals> - </execution> - </executions> - <configuration> - <doCheck>false</doCheck> - <doUpdate>false</doUpdate> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>exec-maven-plugin</artifactId> - <version>1.3.2</version> - </plugin> - <plugin> - <!-- Add the default metadata to any JAR created --> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <version>2.5</version> - <configuration> - <archive> - <manifest> - <!--<Implementation-Title>${project.name}</Implementation-Title>--> - <!--<Implementation-Version>${project.version} ${buildNumber}</Implementation-Version>--> - <addDefaultImplementationEntries>true</addDefaultImplementationEntries> - <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> - - </manifest> - </archive> - <excludes> - <exclude>**/log4j.properties</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>com.mycila.maven-license-plugin</groupId> - <artifactId>maven-license-plugin</artifactId> - <version>1.9.0</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-shade-plugin</artifactId> - <version>2.3</version> - </plugin> - <plugin> - <groupId>org.apache.avro</groupId> - <artifactId>avro-maven-plugin</artifactId> - <version>${avro.version}</version> - <executions> - <execution> - <phase>generate-sources</phase> - <goals> - <goal>schema</goal> - </goals> - <configuration> - <sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory> - <outputDirectory>${project.basedir}/target/generated-sources/avro/</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <version>2.9</version> - </plugin> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <version>0.11</version> - <dependencies> - <dependency> - <groupId>org.apache.maven.doxia</groupId> - <artifactId>doxia-core</artifactId> - <version>1.6</version> - <exclusions> - <exclusion> - <groupId>xerces</groupId> - <artifactId>xercesImpl</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - <configuration> - <excludes> - <exclude>.gitattributes</exclude> - <exclude>.gitignore</exclude> - <exclude>.git/**</exclude> - <!-- Intellij idea project files --> - <exclude>**/.idea/**</exclude> - <exclude>**/*.iml</exclude> - <exclude>**/target/**</exclude> - <!-- ReadMe files --> - <exclude>**/README.*</exclude> - <exclude>**/*.md</exclude> - <!-- The below are sometimes created during tests --> - <exclude>REEF_LOCAL_RUNTIME/**</exclude> - <exclude>REEF_MESOS_RUNTIME/**</exclude> - <exclude>REEF_STANDALONE_RUNTIME/**</exclude> - <!-- Error logs --> - <exclude>**/*.log</exclude> - <!-- The Visual Studio and Nuget build files --> - <exclude>**/.vs/**</exclude> - <exclude>**/*.sln*</exclude> - <exclude>**/*.vcxproj*</exclude> - <exclude>**/*.csproj*</exclude> - <exclude>**/*.opensdf*</exclude> - <exclude>**/*.sdf*</exclude> - <exclude>**/*.snk</exclude> - <exclude>**/*.opendb</exclude> - <!-- The below are auto generated during the .Net build --> - <exclude>**/bin/**</exclude> - <exclude>**/obj/**</exclude> - <exclude>**/Release/**</exclude> - <exclude>**/Debug/**</exclude> - <exclude>**/TestResults/**</exclude> - <exclude>**/x64/**</exclude> - <exclude>**/StyleCop.Cache</exclude> - - <!-- NuGet dependencies downloaded as part of the build --> - <exclude>**/packages/**</exclude> - <!-- The below are auto generated files for serialization --> - <exclude>Org.Apache.REEF.Common/Protobuf/ReefProtocol/*</exclude> - <exclude>Org.Apache.REEF.Common/Avro/*</exclude> - <!-- The below are binary data files used in tests --> - <exclude>Org.Apache.REEF.Examples/ConfigFiles/*</exclude> - <exclude>Org.Apache.REEF.Tang.Tests/simpleConstructorJavaProto.bin</exclude> - <!-- Bibliography info for papers about REEF --> - <exclude>**/bib/**</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>${maven-checkstyle-plugin.version}</version> - <dependencies> - <dependency> - <groupId>com.puppycrawl.tools</groupId> - <artifactId>checkstyle</artifactId> - <version>${checkstyle.version}</version> - </dependency> - <dependency> - <groupId>com.github.sevntu.checkstyle</groupId> - <artifactId>sevntu-checkstyle-maven-plugin</artifactId> - <version>${sevntu.checkstyle.plugin.version}</version> - </dependency> - </dependencies> - <configuration> - <configLocation>lang/java/reef-common/src/main/resources/checkstyle.xml</configLocation> - <suppressionsLocation>lang/java/reef-common/src/main/resources/checkstyle-suppress.xml</suppressionsLocation> - <packageNamesLocation>lang/java/reef-common/src/main/resources/packagenames.xml</packageNamesLocation> - <failOnViolation>true</failOnViolation> - <format>xml</format> - <format>html</format> - <outputFile>${project.build.directory}/test/checkstyle-errors.xml</outputFile> - <includeTestSourceDirectory>true</includeTestSourceDirectory> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>${findbugs.version}</version> - <configuration> - <effort>Max</effort> - <threshold>Default</threshold> - <failOnError>true</failOnError> - <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory> - <excludeFilterFile>${rootPath}/lang/java/reef-common/src/main/resources/findbugs-exclude.xml</excludeFilterFile> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>xml-maven-plugin</artifactId> - <version>1.0</version> - <dependencies> - <dependency> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>${findbugs.version}</version> - </dependency> - </dependencies> - <configuration> - <transformationSets> - <transformationSet> - <dir>${project.build.directory}/findbugs</dir> - <includes> - <include>findbugsXml.xml</include> - </includes> - <outputDir>${project.build.directory}/findbugs</outputDir> - <stylesheet>default.xsl</stylesheet> - <fileMappers> - <!-- Configures the file extension of the output files. --> - <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.FileExtensionMapper"> - <targetExtension>.html</targetExtension> - </fileMapper> - </fileMappers> - </transformationSet> - </transformationSets> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>2.7</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-pmd-plugin</artifactId> - <version>3.5</version> - <configuration> - <targetJdk>1.7</targetJdk> - <excludes> - <exclude>*/target/generated-sources/*</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>net.alchim31.maven</groupId> - <artifactId>scala-maven-plugin</artifactId> - <version>3.2.1</version> - <executions> - <execution> - <goals> - <goal>compile</goal> - <goal>testCompile</goal> - </goals> - </execution> - </executions> - <configuration> - <args> - <!-- work-around for https://issues.scala-lang.org/browse/SI-8358 --> - <arg>-nobootcp</arg> - </args> - </configuration> - </plugin> - </plugins> - </pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <source>1.7</source> - <target>1.7</target> - <showDeprecation>true</showDeprecation> - <encoding>${project.build.sourceEncoding}</encoding> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <configuration> - <encoding>${project.build.sourceEncoding}</encoding> - </configuration> - </plugin> - </plugins> - </build> - - <dependencyManagement> - <dependencies> - <!-- Tang and Wake --> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>tang</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>wake</artifactId> - <version>${project.version}</version> - </dependency> - - <!-- Testing --> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-tests</artifactId> - <type>test-jar</type> - <version>${project.version}</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-core</artifactId> - <version>1.9.5</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-all</artifactId> - <version>1.9.5</version> - </dependency> - - <!-- Protocol Buffers --> - <dependency> - <groupId>com.google.protobuf</groupId> - <artifactId>protobuf-java</artifactId> - <version>${protobuf.version}</version> - </dependency> - <!-- End of Protocol Buffers --> - - <!-- HADOOP --> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-common</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-jcl</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-client</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-jcl</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-yarn-common</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-jcl</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-yarn</artifactId> - <version>${hadoop.version}</version> - <type>pom</type> - <scope>provided</scope> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-jcl</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-hdfs</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-jcl</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-yarn-client</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-jcl</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-minicluster</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-yarn-api</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-jcl</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-mapreduce-client-core</artifactId> - <version>${hadoop.version}</version> - <scope>provided</scope> - <exclusions> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-jcl</artifactId> - </exclusion> - <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-log4j12</artifactId> - </exclusion> - </exclusions> - </dependency> - <!-- END OF HADOOP --> - - <!-- Spark --> - <dependency> - <groupId>org.apache.spark</groupId> - <artifactId>spark-core_2.11</artifactId> - <version>${spark.version}</version> - <scope>provided</scope> - </dependency> - <!-- End of Spark --> - - <!-- Apache Commons --> - <dependency> - <groupId>commons-cli</groupId> - <artifactId>commons-cli</artifactId> - <version>1.2</version> - </dependency> - <dependency> - <groupId>commons-configuration</groupId> - <artifactId>commons-configuration</artifactId> - <version>1.10</version> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-math3</artifactId> - <version>3.3</version> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <version>3.3.2</version> - </dependency> - <!-- End of Apache Commons --> - - <!-- AVRO --> - <dependency> - <groupId>org.apache.avro</groupId> - <artifactId>avro</artifactId> - <version>${avro.version}</version> - </dependency> - <!-- End of AVRO --> - - <!-- JETTY --> - <dependency> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jetty</artifactId> - <version>${jetty.version}</version> - </dependency> - <dependency> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jetty-util</artifactId> - <version>${jetty.version}</version> - </dependency> - <!-- End of JETTY --> - <dependency> - <groupId>net.jcip</groupId> - <artifactId>jcip-annotations</artifactId> - <version>1.0</version> - </dependency> - - <!-- SLF4J --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-jdk14</artifactId> - <version>1.7.7</version> - </dependency> - <!-- End of SLF4J --> - - - <dependency> - <groupId>io.netty</groupId> - <artifactId>netty-all</artifactId> - <version>4.0.23.Final</version> - </dependency> - - <dependency> - <groupId>cglib</groupId> - <artifactId>cglib</artifactId> - <version>3.1</version> - </dependency> - - <dependency> - <groupId>javax.inject</groupId> - <artifactId>javax.inject</artifactId> - <version>1</version> - </dependency> - - <!-- Microsoft Azure libraries --> - <dependency> - <groupId>com.microsoft.windowsazure.storage</groupId> - <artifactId>microsoft-windowsazure-storage-sdk</artifactId> - <version>0.5.0</version> - </dependency> - <!-- End of Microsoft Azure libraries --> - - <!-- Apache HTTP components --> - <dependency> - <groupId>org.apache.httpcomponents</groupId> - <artifactId>httpclient</artifactId> - <version>4.3.4</version> - </dependency> - <!-- End of Apache HTTP components --> - - - <!-- Jackson --> - <dependency> - <groupId>org.codehaus.jackson</groupId> - <artifactId>jackson-mapper-asl</artifactId> - <version>${jackson.version}</version> - </dependency> - <dependency> - <groupId>org.codehaus.jackson</groupId> - <artifactId>jackson-core-asl</artifactId> - <version>${jackson.version}</version> - </dependency> - <!-- End of Jackson --> - - <dependency> - <groupId>org.apache.mesos</groupId> - <artifactId>mesos</artifactId> - <version>0.25.0</version> - </dependency> - </dependencies> - </dependencyManagement> - - <modules> - <module>lang/cs</module> - <module>lang/java/reef-annotations</module> - <module>lang/java/reef-applications</module> - <module>lang/java/reef-bridge-client</module> - <module>lang/java/reef-bridge-java</module> - <module>lang/java/reef-checkpoint</module> - <module>lang/java/reef-common</module> - <module>lang/java/reef-examples</module> - <module>lang/java/reef-examples-clr</module> - <module>lang/java/reef-examples-hdinsight</module> - <module>lang/java/reef-experimental</module> - <module>lang/java/reef-io</module> - <module>lang/java/reef-poison</module> - <module>lang/java/reef-runtime-hdinsight</module> - <module>lang/java/reef-runtime-local</module> - <module>lang/java/reef-runtime-yarn</module> - <module>lang/java/reef-runtime-mesos</module> - <module>lang/java/reef-runtime-mock</module> - <module>lang/java/reef-runtime-multi</module> - <module>lang/java/reef-runtime-standalone</module> - <module>lang/java/reef-tang</module> - <module>lang/java/reef-tests</module> - <module>lang/java/reef-wake</module> - <module>lang/java/reef-webserver</module> - <module>lang/java/reef-utils-hadoop</module> - <module>lang/java/reef-utils</module> - <module>lang/scala/reef-examples-scala</module> - <module>website</module> - </modules> - - <profiles> - <profile> - <id>log</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <forkMode>pertest</forkMode> - <systemProperties> - <property> - <name>java.util.logging.config.class</name> - <value>org.apache.reef.util.logging.Config</value> - </property> - </systemProperties> - </configuration> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>code-quality</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <build> - <plugins> - <plugin> - <groupId>com.mycila.maven-license-plugin</groupId> - <artifactId>maven-license-plugin</artifactId> - <configuration> - <header>LICENSE_HEADER.txt</header> - <strictCheck>true</strictCheck> - <excludes> - <exclude>LICENSE.txt</exclude> - <exclude>NOTICES.txt</exclude> - <exclude>README.*</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <executions> - <execution> - <id>validate</id> - <phase>validate</phase> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>${maven-checkstyle-plugin.version}</version> - <executions> - <execution> - <id>validate</id> - <phase>validate</phase> - <goals> - <goal>check</goal> - <goal>checkstyle</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <executions> - <execution> - <id>analyze-compile</id> - <phase>compile</phase> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <configuration> - <instrumentation> - <excludes> - <exclude>org/apache/reef/examples/**/*.class</exclude> - <exclude>org/apache/reef/tang/examples/**/*.class</exclude> - <exclude>org/apache/reef/vortex/examples/**/*.class</exclude> - <exclude>org/apache/reef/wake/examples/**/*.class</exclude> - </excludes> - </instrumentation> - <aggregate>true</aggregate> - </configuration> - <executions> - <execution> - <goals> - <goal>clean</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> - -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/reef-runtime-local/0.17.0-SNAPSHOT/reef-runtime-local-0.17.0-SNAPSHOT.jar b/common/src/main/resources/repository/org/apache/reef/reef-runtime-local/0.17.0-SNAPSHOT/reef-runtime-local-0.17.0-SNAPSHOT.jar deleted file mode 100644 index 3aaeccfd3..000000000 Binary files a/common/src/main/resources/repository/org/apache/reef/reef-runtime-local/0.17.0-SNAPSHOT/reef-runtime-local-0.17.0-SNAPSHOT.jar and /dev/null differ diff --git a/common/src/main/resources/repository/org/apache/reef/reef-runtime-local/0.17.0-SNAPSHOT/reef-runtime-local-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/reef-runtime-local/0.17.0-SNAPSHOT/reef-runtime-local-0.17.0-SNAPSHOT.pom deleted file mode 100644 index a674728cf..000000000 --- a/common/src/main/resources/repository/org/apache/reef/reef-runtime-local/0.17.0-SNAPSHOT/reef-runtime-local-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,84 +0,0 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<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> - - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>reef-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <properties> - <rootPath>${basedir}/../../..</rootPath> - </properties> - - <artifactId>reef-runtime-local</artifactId> - <name>REEF Runtime Local</name> - <description>A local implementation of REEF that uses local JVMs for execution.</description> - - <dependencies> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-common</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-core</artifactId> - <scope>test</scope> - </dependency> - </dependencies> - - <build> - <resources> - <resource> - <targetPath>META-INF/</targetPath> - <filtering>false</filtering> - <directory>${basedir}/conf</directory> - <includes> - <include>*.xml</include> - <include>*.properties</include> - </includes> - <excludes> - </excludes> - </resource> - </resources> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>lang/java/reef-common/src/main/resources/checkstyle-strict.xml</configLocation> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/reef-runtime-yarn/0.17.0-SNAPSHOT/reef-runtime-yarn-0.17.0-SNAPSHOT.jar b/common/src/main/resources/repository/org/apache/reef/reef-runtime-yarn/0.17.0-SNAPSHOT/reef-runtime-yarn-0.17.0-SNAPSHOT.jar deleted file mode 100644 index eca7f5fb9..000000000 Binary files a/common/src/main/resources/repository/org/apache/reef/reef-runtime-yarn/0.17.0-SNAPSHOT/reef-runtime-yarn-0.17.0-SNAPSHOT.jar and /dev/null differ diff --git a/common/src/main/resources/repository/org/apache/reef/reef-runtime-yarn/0.17.0-SNAPSHOT/reef-runtime-yarn-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/reef-runtime-yarn/0.17.0-SNAPSHOT/reef-runtime-yarn-0.17.0-SNAPSHOT.pom deleted file mode 100644 index 0f0aecce9..000000000 --- a/common/src/main/resources/repository/org/apache/reef/reef-runtime-yarn/0.17.0-SNAPSHOT/reef-runtime-yarn-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,107 +0,0 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<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> - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>reef-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <properties> - <rootPath>${basedir}/../../..</rootPath> - </properties> - - <name>REEF Runtime for YARN</name> - <artifactId>reef-runtime-yarn</artifactId> - - <dependencies> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-common</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-webserver</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-utils-hadoop</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-yarn-common</artifactId> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-common</artifactId> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-yarn-client</artifactId> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-all</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - </dependencies> - - <build> - <resources> - <resource> - <targetPath>META-INF/</targetPath> - <filtering>false</filtering> - <directory>${basedir}/conf</directory> - <includes> - <include>*.xml</include> - <include>*.properties</include> - </includes> - <excludes> - </excludes> - </resource> - </resources> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>lang/java/reef-common/src/main/resources/checkstyle-strict.xml</configLocation> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/reef-utils-hadoop/0.17.0-SNAPSHOT/reef-utils-hadoop-0.17.0-SNAPSHOT.jar b/common/src/main/resources/repository/org/apache/reef/reef-utils-hadoop/0.17.0-SNAPSHOT/reef-utils-hadoop-0.17.0-SNAPSHOT.jar deleted file mode 100644 index 46d1ea222..000000000 Binary files a/common/src/main/resources/repository/org/apache/reef/reef-utils-hadoop/0.17.0-SNAPSHOT/reef-utils-hadoop-0.17.0-SNAPSHOT.jar and /dev/null differ diff --git a/common/src/main/resources/repository/org/apache/reef/reef-utils-hadoop/0.17.0-SNAPSHOT/reef-utils-hadoop-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/reef-utils-hadoop/0.17.0-SNAPSHOT/reef-utils-hadoop-0.17.0-SNAPSHOT.pom deleted file mode 100644 index e898d1eef..000000000 --- a/common/src/main/resources/repository/org/apache/reef/reef-utils-hadoop/0.17.0-SNAPSHOT/reef-utils-hadoop-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,64 +0,0 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<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> - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>reef-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <properties> - <rootPath>${basedir}/../../..</rootPath> - </properties> - - <artifactId>reef-utils-hadoop</artifactId> - <name>REEF Utils for Hadoop</name> - <description>Utilities for using REEF on Hadoop.</description> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>lang/java/reef-common/src/main/resources/checkstyle-strict.xml</configLocation> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <dependencies> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-common</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-common</artifactId> - <scope>provided</scope> - </dependency> - </dependencies> -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/reef-utils/0.17.0-SNAPSHOT/reef-utils-0.17.0-SNAPSHOT.jar b/common/src/main/resources/repository/org/apache/reef/reef-utils/0.17.0-SNAPSHOT/reef-utils-0.17.0-SNAPSHOT.jar deleted file mode 100644 index 80c6d00f4..000000000 Binary files a/common/src/main/resources/repository/org/apache/reef/reef-utils/0.17.0-SNAPSHOT/reef-utils-0.17.0-SNAPSHOT.jar and /dev/null differ diff --git a/common/src/main/resources/repository/org/apache/reef/reef-utils/0.17.0-SNAPSHOT/reef-utils-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/reef-utils/0.17.0-SNAPSHOT/reef-utils-0.17.0-SNAPSHOT.pom deleted file mode 100644 index b5943cda5..000000000 --- a/common/src/main/resources/repository/org/apache/reef/reef-utils/0.17.0-SNAPSHOT/reef-utils-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,69 +0,0 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<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> - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>reef-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <properties> - <rootPath>${basedir}/../../..</rootPath> - </properties> - - <artifactId>reef-utils</artifactId> - <name>REEF Utils</name> - <description>Utilities used across REEF modules.</description> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>lang/java/reef-common/src/main/resources/checkstyle-strict.xml</configLocation> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <!-- This module shouldn't have many dependencies to make sure it is broadly usable across reef subprojects --> - <dependencies> - <dependency> - <groupId>javax.inject</groupId> - <artifactId>javax.inject</artifactId> - <version>1</version> - </dependency> - <dependency> - <groupId>net.jcip</groupId> - <artifactId>jcip-annotations</artifactId> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - </dependencies> -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/reef-webserver/0.17.0-SNAPSHOT/reef-webserver-0.17.0-SNAPSHOT.jar b/common/src/main/resources/repository/org/apache/reef/reef-webserver/0.17.0-SNAPSHOT/reef-webserver-0.17.0-SNAPSHOT.jar deleted file mode 100644 index 8d9163181..000000000 Binary files a/common/src/main/resources/repository/org/apache/reef/reef-webserver/0.17.0-SNAPSHOT/reef-webserver-0.17.0-SNAPSHOT.jar and /dev/null differ diff --git a/common/src/main/resources/repository/org/apache/reef/reef-webserver/0.17.0-SNAPSHOT/reef-webserver-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/reef-webserver/0.17.0-SNAPSHOT/reef-webserver-0.17.0-SNAPSHOT.pom deleted file mode 100644 index 8c2b3d962..000000000 --- a/common/src/main/resources/repository/org/apache/reef/reef-webserver/0.17.0-SNAPSHOT/reef-webserver-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,119 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>reef-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <properties> - <rootPath>${basedir}/../../..</rootPath> - </properties> - - <modelVersion>4.0.0</modelVersion> - <artifactId>reef-webserver</artifactId> - <name>REEF HTTP Server</name> - <description>HTTP Server component to implement a REST API for the Driver or Evaluators.</description> - <build> - <plugins> - <plugin> - <groupId>org.apache.avro</groupId> - <artifactId>avro-maven-plugin</artifactId> - <executions> - <execution> - <phase>generate-sources</phase> - <goals> - <goal>schema</goal> - </goals> - <configuration> - <sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory> - <outputDirectory>${project.basedir}/target/generated-sources/avro/</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source>target/generated-sources/avro</source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>lang/java/reef-common/src/main/resources/checkstyle-strict.xml</configLocation> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jetty</artifactId> - </dependency> - <dependency> - <groupId>org.mortbay.jetty</groupId> - <artifactId>jetty-util</artifactId> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>wake</artifactId> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>tang</artifactId> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>reef-common</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.avro</groupId> - <artifactId>avro</artifactId> - </dependency> - </dependencies> -</project> - diff --git a/common/src/main/resources/repository/org/apache/reef/tang-project/0.17.0-SNAPSHOT/tang-project-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/tang-project/0.17.0-SNAPSHOT/tang-project-0.17.0-SNAPSHOT.pom deleted file mode 100644 index 09dde0b1e..000000000 --- a/common/src/main/resources/repository/org/apache/reef/tang-project/0.17.0-SNAPSHOT/tang-project-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<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> - <packaging>pom</packaging> - <name>REEF Tang Project</name> - <artifactId>tang-project</artifactId> - - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>reef-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <properties> - <rootPath>${basedir}/../../../..</rootPath> - </properties> - - <modules> - <module>tang-test-jarA</module> - <module>tang-test-jarB</module> - <module>tang-test-jarAB</module> - <module>tang-test-jarB-conflictA</module> - <module>tang-tint</module> - <module>tang</module> - </modules> -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/tang/0.17.0-SNAPSHOT/tang-0.17.0-SNAPSHOT.jar b/common/src/main/resources/repository/org/apache/reef/tang/0.17.0-SNAPSHOT/tang-0.17.0-SNAPSHOT.jar deleted file mode 100644 index 0eb2f75f3..000000000 Binary files a/common/src/main/resources/repository/org/apache/reef/tang/0.17.0-SNAPSHOT/tang-0.17.0-SNAPSHOT.jar and /dev/null differ diff --git a/common/src/main/resources/repository/org/apache/reef/tang/0.17.0-SNAPSHOT/tang-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/tang/0.17.0-SNAPSHOT/tang-0.17.0-SNAPSHOT.pom deleted file mode 100644 index e68c2cdb2..000000000 --- a/common/src/main/resources/repository/org/apache/reef/tang/0.17.0-SNAPSHOT/tang-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,167 +0,0 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" - 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> - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>tang-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - </parent> - - <artifactId>tang</artifactId> - <name>REEF Tang</name> - <build> - <plugins> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>generate-sources</id> - <phase>generate-sources</phase> - <configuration> - <target> - <mkdir dir="target/generated-sources/proto"/> - <exec executable="protoc"> - <arg value="--proto_path=src/main/proto/"/> - <arg value="--java_out=target/generated-sources/proto"/> - <arg value="src/main/proto/injection_plan.proto"/> - <arg value="src/main/proto/class_hierarchy.proto"/> - </exec> - </target> - <sourceRoot>target/generated-sources/proto</sourceRoot> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source>target/generated-sources/proto</source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <configuration> - <descriptorRefs> - <descriptorRef>jar-with-dependencies</descriptorRef> - </descriptorRefs> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.avro</groupId> - <artifactId>avro-maven-plugin</artifactId> - <executions> - <execution> - <phase>generate-sources</phase> - <goals> - <goal>schema</goal> - </goals> - <configuration> - <sourceDirectory>${project.basedir}/src/main/avro/</sourceDirectory> - <outputDirectory>${project.basedir}/target/generated-sources/avro/</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <configuration> - <excludes> - <!-- The following binary files are generated from the sources and shouldn't be checked --> - <exclude>src/test/resources/Event.bin</exclude> - <exclude>src/test/resources/Task.bin</exclude> - - </excludes> - </configuration> - </plugin> - </plugins> - </build> - - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>com.google.protobuf</groupId> - <artifactId>protobuf-java</artifactId> - </dependency> - <dependency> - <groupId>commons-configuration</groupId> - <artifactId>commons-configuration</artifactId> - </dependency> - <dependency> - <groupId>commons-cli</groupId> - <artifactId>commons-cli</artifactId> - </dependency> - <dependency> - <groupId>javax.inject</groupId> - <artifactId>javax.inject</artifactId> - </dependency> - <dependency> - <groupId>org.apache.avro</groupId> - <artifactId>avro</artifactId> - </dependency> - </dependencies> - - <profiles> - <profile> - <id>PrintTypeHierarchy</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>org.apache.reef.tang.examples.PrintTypeHierarchy</argument> - </arguments> - </configuration> - </plugin> - </plugins> - </build> - </profile> - </profiles> - -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/wake-project/0.17.0-SNAPSHOT/wake-project-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/wake-project/0.17.0-SNAPSHOT/wake-project-0.17.0-SNAPSHOT.pom deleted file mode 100644 index 3d75c6a5a..000000000 --- a/common/src/main/resources/repository/org/apache/reef/wake-project/0.17.0-SNAPSHOT/wake-project-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<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> - <packaging>pom</packaging> - <name>REEF Wake Project</name> - <artifactId>wake-project</artifactId> - - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>reef-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <properties> - <rootPath>${basedir}/../../../..</rootPath> - </properties> - - <modules> - <module>wake</module> - </modules> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <configuration> - <configLocation>lang/java/reef-common/src/main/resources/checkstyle-strict.xml</configLocation> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> -</project> diff --git a/common/src/main/resources/repository/org/apache/reef/wake/0.17.0-SNAPSHOT/wake-0.17.0-SNAPSHOT.jar b/common/src/main/resources/repository/org/apache/reef/wake/0.17.0-SNAPSHOT/wake-0.17.0-SNAPSHOT.jar deleted file mode 100644 index 1a6db5b77..000000000 Binary files a/common/src/main/resources/repository/org/apache/reef/wake/0.17.0-SNAPSHOT/wake-0.17.0-SNAPSHOT.jar and /dev/null differ diff --git a/common/src/main/resources/repository/org/apache/reef/wake/0.17.0-SNAPSHOT/wake-0.17.0-SNAPSHOT.pom b/common/src/main/resources/repository/org/apache/reef/wake/0.17.0-SNAPSHOT/wake-0.17.0-SNAPSHOT.pom deleted file mode 100644 index 3362fea34..000000000 --- a/common/src/main/resources/repository/org/apache/reef/wake/0.17.0-SNAPSHOT/wake-0.17.0-SNAPSHOT.pom +++ /dev/null @@ -1,181 +0,0 @@ -<?xml version="1.0"?> -<!-- -Licensed to the Apache Software Foundation (ASF) under one -or more contributor license agreements. See the NOTICE file -distributed with this work for additional information -regarding copyright ownership. The ASF licenses this file -to you under the Apache License, Version 2.0 (the -"License"); you may not use this file except in compliance -with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, -software distributed under the License is distributed on an -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the -specific language governing permissions and limitations -under the License. ---> -<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>wake</artifactId> - <name>REEF Wake</name> - - <parent> - <groupId>org.apache.reef</groupId> - <artifactId>wake-project</artifactId> - <version>0.17.0-SNAPSHOT</version> - </parent> - - <properties> - <rootPath>${basedir}/../../../..</rootPath> - <protoPath>${rootPath}/lang/common/proto</protoPath> - </properties> - - <build> - - <resources> - <resource> - <targetPath>META-INF/conf</targetPath> - <filtering>false</filtering> - <directory>${basedir}/src/main/conf</directory> - <includes> - <include>*.xml</include> - <include>*.properties</include> - </includes> - <excludes> - </excludes> - </resource> - </resources> - - <plugins> - <plugin> - <groupId>org.apache.avro</groupId> - <artifactId>avro-maven-plugin</artifactId> - <executions> - <execution> - <phase>generate-sources</phase> - <goals> - <goal>schema</goal> - </goals> - <configuration> - <sourceDirectory>${rootPath}/lang/common/wake/avro/</sourceDirectory> - <outputDirectory>${project.basedir}/target/generated-sources/avro/</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>generate-sources</id> - <phase>generate-sources</phase> - <configuration> - <target> - <mkdir dir="target/generated-sources/proto"/> - <exec executable="protoc"> - <arg value="--proto_path=${protoPath}"/> - <arg value="--java_out=target/generated-sources/proto"/> - <arg value="${protoPath}/RemoteProtocol.proto"/> - </exec> - <exec executable="protoc"> - <arg value="--proto_path=src/test/proto/"/> - <arg value="--java_out=target/generated-sources/proto"/> - <arg value="src/test/proto/TestProtocol.proto"/> - </exec> - </target> - <sourceRoot>target/generated-sources/proto</sourceRoot> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <executions> - <execution> - <id>add-source</id> - <phase>generate-sources</phase> - <goals> - <goal>add-source</goal> - </goals> - <configuration> - <sources> - <source>target/generated-sources/proto</source> - </sources> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <dependencies> - <dependency> - <groupId>cglib</groupId> - <artifactId>cglib</artifactId> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>io.netty</groupId> - <artifactId>netty-all</artifactId> - </dependency> - <dependency> - <groupId>com.google.protobuf</groupId> - <artifactId>protobuf-java</artifactId> - </dependency> - <dependency> - <groupId>org.apache.reef</groupId> - <artifactId>tang-test-jarA</artifactId> - <version>${project.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.reef</groupId> - <artifactId>tang-test-jarB</artifactId> - <version>${project.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.reef</groupId> - <artifactId>tang-test-jarAB</artifactId> - <version>${project.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>org.apache.reef</groupId> - <artifactId>tang-test-jarB-conflictA</artifactId> - <version>${project.version}</version> - <scope>provided</scope> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>tang</artifactId> - </dependency> - <dependency> - <groupId>net.jcip</groupId> - <artifactId>jcip-annotations</artifactId> - </dependency> - <dependency> - <groupId>org.apache.avro</groupId> - <artifactId>avro</artifactId> - </dependency> - <dependency> - <groupId>io.github.lukehutch</groupId> - <artifactId>fast-classpath-scanner</artifactId> - <version>${fast-classpath-scanner.version}</version> - </dependency> - </dependencies> - -</project> diff --git a/compiler/backend/pom.xml b/compiler/backend/pom.xml index 165b4a8ea..083272c45 100644 --- a/compiler/backend/pom.xml +++ b/compiler/backend/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-compiler-backend</artifactId> <name>Nemo Compiler Backend</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.nemo</groupId> diff --git a/compiler/frontend/beam/pom.xml b/compiler/frontend/beam/pom.xml index 58cb8b698..7ea41220b 100644 --- a/compiler/frontend/beam/pom.xml +++ b/compiler/frontend/beam/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-compiler-frontend-beam</artifactId> <name>Nemo Compiler Frontend: Beam</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.nemo</groupId> diff --git a/compiler/frontend/spark/pom.xml b/compiler/frontend/spark/pom.xml index b352b396d..5775b4e6f 100644 --- a/compiler/frontend/spark/pom.xml +++ b/compiler/frontend/spark/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-compiler-frontend-spark</artifactId> <name>Nemo Compiler Frontend: Spark</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.nemo</groupId> diff --git a/compiler/optimizer/pom.xml b/compiler/optimizer/pom.xml index 562fc312f..b9398aee0 100644 --- a/compiler/optimizer/pom.xml +++ b/compiler/optimizer/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-compiler-optimizer</artifactId> <name>Nemo Compiler Optimizer</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.commons</groupId> diff --git a/compiler/test/pom.xml b/compiler/test/pom.xml index ad258bded..d635eca48 100644 --- a/compiler/test/pom.xml +++ b/compiler/test/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-compiler-test</artifactId> <name>Nemo Compiler Test</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.nemo</groupId> @@ -79,4 +72,4 @@ limitations under the License. <version>${powermock.version}</version> </dependency> </dependencies> -</project> \ No newline at end of file +</project> diff --git a/conf/pom.xml b/conf/pom.xml index d1d6bb131..c8c27bca0 100644 --- a/conf/pom.xml +++ b/conf/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-conf</artifactId> <name>Nemo Job Configuration</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.reef</groupId> diff --git a/examples/beam/pom.xml b/examples/beam/pom.xml index f6fc5e08d..33a0792c7 100644 --- a/examples/beam/pom.xml +++ b/examples/beam/pom.xml @@ -26,13 +26,6 @@ limitations under the License. </parent> <artifactId>nemo-examples-beam</artifactId> - - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../common/src/main/resources/repository</url> - </repository> - </repositories> <name>Nemo Examples: Beam</name> <dependencies> diff --git a/examples/spark/pom.xml b/examples/spark/pom.xml index ca09493f8..7dd793ba4 100644 --- a/examples/spark/pom.xml +++ b/examples/spark/pom.xml @@ -26,13 +26,6 @@ limitations under the License. </parent> <artifactId>nemo-examples-spark</artifactId> - - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../common/src/main/resources/repository</url> - </repository> - </repositories> <name>Nemo Examples: Spark</name> <dependencies> @@ -149,4 +142,4 @@ limitations under the License. </plugin> </plugins> </build> -</project> \ No newline at end of file +</project> diff --git a/pom.xml b/pom.xml index 33ff9fe39..e3dbe6159 100644 --- a/pom.xml +++ b/pom.xml @@ -32,7 +32,7 @@ limitations under the License. <spark.version>2.2.0</spark.version> <scala.version>2.11.8</scala.version> <kryo.version>4.0.1</kryo.version> - <reef.version>0.17.0-SNAPSHOT</reef.version> + <reef.version>0.16.0</reef.version> <protobuf.version>2.5.0</protobuf.version> <hadoop.version>2.7.2</hadoop.version> <log4j.configuration>file://log4j.properties</log4j.configuration> @@ -180,6 +180,7 @@ limitations under the License. <encoding>UTF-8</encoding> <consoleOutput>true</consoleOutput> <failsOnError>true</failsOnError> + <excludes>**/org/apache/reef/**/*</excludes> </configuration> <goals> <goal>check</goal> diff --git a/runtime/common/pom.xml b/runtime/common/pom.xml index d92ac9ab7..d91aca249 100644 --- a/runtime/common/pom.xml +++ b/runtime/common/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-runtime-common</artifactId> <name>Nemo Runtime Common</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.nemo</groupId> diff --git a/runtime/driver/pom.xml b/runtime/driver/pom.xml index ff547027c..20a1b3521 100644 --- a/runtime/driver/pom.xml +++ b/runtime/driver/pom.xml @@ -27,13 +27,6 @@ limitations under the License. <artifactId>nemo-driver</artifactId> <name>Nemo Driver</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.nemo</groupId> diff --git a/runtime/executor/pom.xml b/runtime/executor/pom.xml index 02a7e3335..97748074b 100644 --- a/runtime/executor/pom.xml +++ b/runtime/executor/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-runtime-executor</artifactId> <name>Nemo Runtime Executor</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.nemo</groupId> diff --git a/runtime/master/pom.xml b/runtime/master/pom.xml index 1f3f70e15..a086bca0b 100644 --- a/runtime/master/pom.xml +++ b/runtime/master/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-runtime-master</artifactId> <name>Nemo Runtime Master</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.nemo</groupId> diff --git a/runtime/test/pom.xml b/runtime/test/pom.xml index 7484f1f28..5b8babdeb 100644 --- a/runtime/test/pom.xml +++ b/runtime/test/pom.xml @@ -28,13 +28,6 @@ limitations under the License. <artifactId>nemo-runtime-test</artifactId> <name>Nemo Runtime Test</name> - <repositories> - <repository> - <id>Bundled Maven Repository</id> - <url>file://${basedir}/../../common/src/main/resources/repository</url> - </repository> - </repositories> - <dependencies> <dependency> <groupId>org.apache.nemo</groupId> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
