You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sdap.apache.org by GitBox <gi...@apache.org> on 2018/06/29 21:05:18 UTC

[GitHub] lewismc commented on a change in pull request #31: SDAP-118 create a new ranking module

lewismc commented on a change in pull request #31: SDAP-118 create a new ranking module
URL: https://github.com/apache/incubator-sdap-mudrod/pull/31#discussion_r199276119
 
 

 ##########
 File path: ranking/pom.xml
 ##########
 @@ -0,0 +1,215 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Licensed 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/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+
+	<parent>
+		<groupId>org.apache.sdap</groupId>
+		<artifactId>mudrod-parent</artifactId>
+		<version>0.0.1-SNAPSHOT</version>
+		<relativePath>../</relativePath>
+	</parent>
+
+	<artifactId>mudrod-ranking</artifactId>
+
+	<name>Mudrod :: Ranking</name>
+	<description>Mudrod ranking algorithm implementation.</description>
+
+	<properties>
+		<!-- This property is the name of the directory containing the SVM/SGD 
+			Model. It is used during build to create a zip file from this directory -->
+		<svmSgdModel.value>javaSVMWithSGDModel</svmSgdModel.value>
+	</properties>
+	
+	<dependencies>
+        <!-- Core Module -->
+        <dependency>
+            <groupId>org.apache.sdap.mudrod</groupId>
+            <artifactId>mudrod-core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+    </dependencies>   
+
+	<build>
+		<resources>
+			<resource>
+				<directory>${basedir}/src/main/resources</directory>
+				<filtering>true</filtering>
+				<excludes>
+					<exclude>${svmSgdModel.value}/**</exclude>
+				</excludes>
+			</resource>
+
+			<resource>
+				<directory>${project.build.directory}</directory>
+				<includes>
+					<include>${svmSgdModel.value}.zip</include>
+				</includes>
+			</resource>
+
+			<resource>
+				<directory>${basedir}/../</directory>
+				<targetPath>META-INF</targetPath>
+				<includes>
+					<include>LICENSE.txt</include>
+					<include>NOTICE.txt</include>
+				</includes>
+			</resource>
+		</resources>
+
+		<plugins>
 
 Review comment:
   We do not need the appassembler-maven-plugin configuration

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services