Added a seperate module, photark-face-recognition to photark trunk

git-svn-id: https://svn.apache.org/repos/asf/incubator/photark/trunk@1126112 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/photark-face-recognition/pom.xml b/photark-face-recognition/pom.xml
new file mode 100644
index 0000000..fe65ab0
--- /dev/null
+++ b/photark-face-recognition/pom.xml
@@ -0,0 +1,112 @@
+<?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>
+	<modelVersion>4.0.0</modelVersion>
+	<parent>
+		<groupId>org.apache.photark</groupId>
+		<artifactId>photark-parent</artifactId>
+		<version>1.0-incubating-SNAPSHOT</version>
+		<relativePath>../pom.xml</relativePath>
+	</parent>
+	<artifactId>photark-face-recognition</artifactId>
+	<name>Apache PhotArk Face Recognition Implementation</name>
+
+	<dependencies>
+        
+                <dependency>
+			<groupId>org.apache.photark</groupId>
+			<artifactId>photark-picasa</artifactId>
+			<version>1.0-incubating-SNAPSHOT</version>
+		</dependency>
+		
+        <!-- Tuscany Dependencies -->
+		<dependency>
+			<groupId>org.apache.tuscany.sca</groupId>
+			<artifactId>tuscany-sca-api</artifactId>
+			<version>${tuscany.version}</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.tuscany.sca</groupId>
+			<artifactId>tuscany-data-api</artifactId>
+			<version>${tuscany.version}</version>
+		</dependency>
+
+		<!-- JackRabbit Dependencies -->
+		<!-- The JCR API -->
+		<dependency>
+			<groupId>javax.jcr</groupId>
+			<artifactId>jcr</artifactId>
+			<version>1.0</version>
+		</dependency>
+
+		<!-- Jackrabbit content repository -->
+		<dependency>
+			<groupId>org.apache.jackrabbit</groupId>
+			<artifactId>jackrabbit-core</artifactId>
+			<version>1.6.1</version>
+			<!-- 
+			<exclusions>
+				<exclusion>
+					<artifactId>jackrabbit-text-extractors</artifactId>
+					<groupId>org.apache.jackrabbit</groupId>
+				</exclusion>
+			</exclusions>
+		    -->
+		</dependency>
+
+		<!-- Use Log4J for logging -->
+		<dependency>
+			<groupId>org.slf4j</groupId>
+			<artifactId>slf4j-log4j12</artifactId>
+			<version>1.5.3</version>
+		</dependency>
+
+		<dependency>
+			<groupId>org.apache.commons</groupId>
+			<artifactId>commons-compress</artifactId>
+			<version>1.0</version>
+		</dependency>
+
+		<dependency>
+			<groupId>commons-lang</groupId>
+			<artifactId>commons-lang</artifactId>
+			<version>2.4</version>
+		</dependency>
+	
+		<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<version>4.5</version>
+			<scope>test</scope>
+		</dependency>
+
+                <dependency>
+	        	<groupId>org.face4j</groupId>
+		        <artifactId>face4j-core</artifactId>
+		        <version>1.5.1</version>
+         	</dependency>
+
+	</dependencies>
+
+	<build>
+		<finalName>${artifactId}</finalName>
+	</build>
+</project>
diff --git a/pom.xml b/pom.xml
index a0027dd..ac06328 100644
--- a/pom.xml
+++ b/pom.xml
@@ -219,6 +219,7 @@
                 <module>photark-ui-admin</module>
                 <module>photark-ui-security</module>
                 <module>photark-appengine-webapp</module>                
+                <module>photark-face-recognition</module>
                 <module>photark-webapp</module>
             </modules>
         </profile>
@@ -240,7 +241,8 @@
                 <module>photark-ui</module>
                 <module>photark-ui-admin</module>
                 <module>photark-ui-security</module>
-                <module>photark-appengine-webapp</module>                
+                <module>photark-appengine-webapp</module>
+                <module>photark-face-recognition</module>
                 <module>photark-webapp</module>
             </modules>
         </profile>
@@ -263,7 +265,8 @@
                 <module>photark-ui-admin</module>
                 <module>photark-ui-security</module>
                 <module>photark-ui-test</module>                
-                <module>photark-appengine-webapp</module>                
+                <module>photark-appengine-webapp</module>
+                <module>photark-face-recognition</module>
                 <module>photark-webapp</module>
             </modules>
         </profile>