| <?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.16.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> |