Author: riverma
Date: Tue Jun 10 21:20:03 2014
New Revision: 1601774

URL: http://svn.apache.org/r1601774
Log:
OODT-706 OODT-707

Added:
    
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/README.txt
    
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.fm-solr-catalog.xml
    
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/etc/filemgr.fm-solr-catalog.properties
Modified:
    
oodt/trunk/mvn/archetypes/radix/src/main/resources/META-INF/maven/archetype-metadata.xml
    
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/pom.xml
    
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/pom.xml
    
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.xml
    
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/etc/filemgr.properties

Modified: 
oodt/trunk/mvn/archetypes/radix/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: 
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=1601774&r1=1601773&r2=1601774&view=diff
==============================================================================
--- 
oodt/trunk/mvn/archetypes/radix/src/main/resources/META-INF/maven/archetype-metadata.xml
 (original)
+++ 
oodt/trunk/mvn/archetypes/radix/src/main/resources/META-INF/maven/archetype-metadata.xml
 Tue Jun 10 21:20:03 2014
@@ -20,9 +20,17 @@
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   <requiredProperties>
     <requiredProperty key="oodt">
-      <defaultValue>0.6-SNAPSHOT</defaultValue>
+      <defaultValue>0.7-SNAPSHOT</defaultValue>
     </requiredProperty>
   </requiredProperties>
+  <fileSets>
+    <fileSet filtered="true" packaged="false">
+      <directory></directory>
+      <includes>
+        <include>README.txt</include>
+      </includes>
+    </fileSet>
+  </fileSets>
   <modules>
     <module id="extensions" dir="extensions" name="extensions">
       <fileSets>

Added: 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/README.txt
URL: 
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/README.txt?rev=1601774&view=auto
==============================================================================
--- 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/README.txt
 (added)
+++ 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/README.txt
 Tue Jun 10 21:20:03 2014
@@ -0,0 +1,48 @@
+# 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.
+
+######################################################################################
+#     OODT RADiX README
+#
+#     Description:
+#              This project is meant as template to support faster
+#       data system deployment. Configurable OODT deployments
+#       are possible using Maven profiles (see below).
+#       
+#       OODT version 0.7-SNAPSHOT 
+######################################################################################
+
+REQUIREMENTS:
+* Java Development Kit (JDK) 1.6+
+* JAVA_HOME set 
+  see: 
http://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/index.html
+* (Snapshot releases only) OODT source tree installed. 
+  see: http://oodt.apache.org/components/maven/filemgr/user/basic.html
+
+INSTALLATION:
+  $ mvn clean package <OPTIONAL PROFILES> -C /my/deployment/directory/oodt
+
+  For other build configurations, add the following arguments:
+  (default)           : bin, crawler, data, extensions,
+                        filemgr (Lucene), logs, pcs, resmgr,
+                        tomcat, workflow
+
+  -Pfm-solr-catalog   : default components, filemgr (Solr),
+                        solr, tomcat/webapps/solr
+
+RUN:
+  $ cd /my/deployment/directory/oodt
+  $ cd bin
+  $ ./oodt start

Modified: 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/pom.xml
URL: 
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/pom.xml?rev=1601774&r1=1601773&r2=1601774&view=diff
==============================================================================
--- 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/pom.xml
 (original)
+++ 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/pom.xml
 Tue Jun 10 21:20:03 2014
@@ -15,175 +15,315 @@
  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";
+<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>${groupId}</groupId>
-    <artifactId>${rootArtifactId}</artifactId>
-    <version>${version}</version>
-    <relativePath>../pom.xml</relativePath> 
-  </parent>
-  <artifactId>${rootArtifactId}-${artifactId}</artifactId>
-  <name>Distribution (RADiX Distro of OODT)</name>
-  <packaging>pom</packaging>
- 
-  <properties>
-    <tomcat.version>5.5.23</tomcat.version>
-  </properties>
-
-  <dependencies>
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-filemgr</artifactId>
-      <version>${project.parent.version}</version>
-      <type>tar.gz</type>
-      <classifier>bin</classifier>
-    </dependency>
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-crawler</artifactId>
-      <version>${project.parent.version}</version>
-      <type>tar.gz</type>
-      <classifier>bin</classifier>
-    </dependency>
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-workflow</artifactId>
-      <version>${project.parent.version}</version>
-      <type>tar.gz</type>
-      <classifier>bin</classifier>
-    </dependency>
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-pcs</artifactId>
-      <version>${project.parent.version}</version>
-      <type>tar.gz</type>
-      <classifier>bin</classifier>
-    </dependency>
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-resmgr</artifactId>
-      <version>${project.parent.version}</version>
-      <type>tar.gz</type>
-      <classifier>bin</classifier>
-    </dependency>
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-extensions</artifactId>
-      <version>${project.parent.version}</version>
-      <type>tar.gz</type>
-      <classifier>bin</classifier>
-    </dependency>
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-solr</artifactId>
-      <version>${project.parent.version}</version>
-      <type>tar.gz</type>
-      <classifier>bin</classifier>
-    </dependency> 
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-opsui</artifactId>
-      <version>${project.parent.version}</version>
-      <type>war</type>
-    </dependency>
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-pcs-services</artifactId>
-      <version>${project.parent.version}</version>
-      <type>war</type>
-    </dependency>
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-fmprod</artifactId>
-      <version>${project.parent.version}</version>
-      <type>war</type>
-    </dependency>
-    <dependency>
-      <groupId>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-solr-webapp</artifactId>
-      <version>${project.parent.version}</version>
-      <type>war</type>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <version>2.3</version>
-        <executions>
-          <execution>
-            <id>unpack-tomcat</id>
-            <phase>process-sources</phase>
-            <goals>
-              <goal>unpack</goal>
-            </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>tomcat</groupId>
-                  <artifactId>apache-tomcat</artifactId>
-                  <version>${tomcat.version}</version>
-                  <type>zip</type>
-                  <overWrite>false</overWrite>
-                  
<outputDirectory>${project.build.directory}/</outputDirectory>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>${groupId}</groupId>
-                  <artifactId>${parent.artifactId}-opsui</artifactId>
-                  <type>war</type>
-                  <overWrite>false</overWrite>
-                  
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/opsui</outputDirectory>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>${groupId}</groupId>
-                  <artifactId>${parent.artifactId}-pcs-services</artifactId>
-                  <type>war</type>
-                  <overWrite>false</overWrite>
-                  
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/pcs</outputDirectory>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>${groupId}</groupId>
-                  <artifactId>${parent.artifactId}-fmprod</artifactId>
-                  <type>war</type>
-                  <overWrite>false</overWrite>
-                  
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/fmprod</outputDirectory>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>${groupId}</groupId>
-                  <artifactId>${parent.artifactId}-solr-webapp</artifactId>
-                  <type>war</type>
-                  <overWrite>false</overWrite>
-                  
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/solr</outputDirectory>
-                </artifactItem>
-              </artifactItems>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.2</version>
-        <configuration>
-          <descriptors>
-            <descriptor>src/main/assembly/assembly.xml</descriptor>
-          </descriptors>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
+   
+   <modelVersion>4.0.0</modelVersion>
+   <parent>
+      <groupId>${groupId}</groupId>
+      <artifactId>${rootArtifactId}</artifactId>
+      <version>${version}</version>
+      <relativePath>../pom.xml</relativePath>
+   </parent>
+   <artifactId>${rootArtifactId}-${artifactId}</artifactId>
+   <name>Distribution (RADiX Distro of OODT)</name>
+   <packaging>pom</packaging>
+   <properties>
+      <tomcat.version>5.5.23</tomcat.version>
+   </properties>
+   <profiles>
+      <profile>
+         <id>default</id>
+         <activation>
+            <activeByDefault>true</activeByDefault>
+         </activation>
+         <dependencies>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-filemgr</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-crawler</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-workflow</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-pcs</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-resmgr</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-extensions</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-opsui</artifactId>
+               <version>${project.parent.version}</version>
+               <type>war</type>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-pcs-services</artifactId>
+               <version>${project.parent.version}</version>
+               <type>war</type>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-fmprod</artifactId>
+               <version>${project.parent.version}</version>
+               <type>war</type>
+            </dependency>
+         </dependencies>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-dependency-plugin</artifactId>
+                  <version>2.3</version>
+                  <executions>
+                     <execution>
+                        <id>unpack-tomcat</id>
+                        <phase>process-sources</phase>
+                        <goals>
+                           <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                           <artifactItems>
+                              <artifactItem>
+                                 <groupId>tomcat</groupId>
+                                 <artifactId>apache-tomcat</artifactId>
+                                 <version>${tomcat.version}</version>
+                                 <type>zip</type>
+                                 <overWrite>false</overWrite>
+                                 
<outputDirectory>${project.build.directory}/</outputDirectory>
+                              </artifactItem>
+                              <artifactItem>
+                                 <groupId>${groupId}</groupId>
+                                 
<artifactId>${parent.artifactId}-opsui</artifactId>
+                                 <type>war</type>
+                                 <overWrite>false</overWrite>
+                                 
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/opsui</outputDirectory>
+                              </artifactItem>
+                              <artifactItem>
+                                 <groupId>${groupId}</groupId>
+                                 
<artifactId>${parent.artifactId}-pcs-services</artifactId>
+                                 <type>war</type>
+                                 <overWrite>false</overWrite>
+                                 
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/pcs</outputDirectory>
+                              </artifactItem>
+                              <artifactItem>
+                                 <groupId>${groupId}</groupId>
+                                 
<artifactId>${parent.artifactId}-fmprod</artifactId>
+                                 <type>war</type>
+                                 <overWrite>false</overWrite>
+                                 
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/fmprod</outputDirectory>
+                              </artifactItem>
+                           </artifactItems>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-assembly-plugin</artifactId>
+                  <version>2.2</version>
+                  <configuration>
+                     <descriptors>
+                        <descriptor>src/main/assembly/assembly.xml</descriptor>
+                     </descriptors>
+                  </configuration>
+                  <executions>
+                     <execution>
+                        <phase>package</phase>
+                        <goals>
+                           <goal>single</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+      <profile>
+         <id>fm-solr-catalog</id>
+         <activation/>
+         <dependencies>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-filemgr</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-crawler</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-workflow</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-pcs</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-resmgr</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-extensions</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-solr</artifactId>
+               <version>${project.parent.version}</version>
+               <type>tar.gz</type>
+               <classifier>bin</classifier>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-opsui</artifactId>
+               <version>${project.parent.version}</version>
+               <type>war</type>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-pcs-services</artifactId>
+               <version>${project.parent.version}</version>
+               <type>war</type>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-fmprod</artifactId>
+               <version>${project.parent.version}</version>
+               <type>war</type>
+            </dependency>
+            <dependency>
+               <groupId>${groupId}</groupId>
+               <artifactId>${rootArtifactId}-solr-webapp</artifactId>
+               <version>${project.parent.version}</version>
+               <type>war</type>
+            </dependency>
+         </dependencies>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-dependency-plugin</artifactId>
+                  <version>2.3</version>
+                  <executions>
+                     <execution>
+                        <id>unpack-tomcat</id>
+                        <phase>process-sources</phase>
+                        <goals>
+                           <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                           <artifactItems>
+                              <artifactItem>
+                                 <groupId>tomcat</groupId>
+                                 <artifactId>apache-tomcat</artifactId>
+                                 <version>${tomcat.version}</version>
+                                 <type>zip</type>
+                                 <overWrite>false</overWrite>
+                                 
<outputDirectory>${project.build.directory}/</outputDirectory>
+                              </artifactItem>
+                              <artifactItem>
+                                 <groupId>${groupId}</groupId>
+                                 
<artifactId>${parent.artifactId}-opsui</artifactId>
+                                 <type>war</type>
+                                 <overWrite>false</overWrite>
+                                 
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/opsui</outputDirectory>
+                              </artifactItem>
+                              <artifactItem>
+                                 <groupId>${groupId}</groupId>
+                                 
<artifactId>${parent.artifactId}-pcs-services</artifactId>
+                                 <type>war</type>
+                                 <overWrite>false</overWrite>
+                                 
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/pcs</outputDirectory>
+                              </artifactItem>
+                              <artifactItem>
+                                 <groupId>${groupId}</groupId>
+                                 
<artifactId>${parent.artifactId}-fmprod</artifactId>
+                                 <type>war</type>
+                                 <overWrite>false</overWrite>
+                                 
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/fmprod</outputDirectory>
+                              </artifactItem>
+                              <artifactItem>
+                                 <groupId>${groupId}</groupId>
+                                 
<artifactId>${parent.artifactId}-solr-webapp</artifactId>
+                                 <type>war</type>
+                                 <overWrite>false</overWrite>
+                                 
<outputDirectory>${project.build.directory}/apache-tomcat-${tomcat.version}/webapps/solr</outputDirectory>
+                              </artifactItem>
+                           </artifactItems>
+                        </configuration>
+                     </execution>
+                  </executions>
+               </plugin>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-assembly-plugin</artifactId>
+                  <version>2.2</version>
+                  <configuration>
+                     <descriptors>
+                        <descriptor>src/main/assembly/assembly.xml</descriptor>
+                     </descriptors>
+                  </configuration>
+                  <executions>
+                     <execution>
+                        <phase>package</phase>
+                        <goals>
+                           <goal>single</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+   </profiles>
 </project>

Modified: 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/pom.xml
URL: 
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/pom.xml?rev=1601774&r1=1601773&r2=1601774&view=diff
==============================================================================
--- 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/pom.xml
 (original)
+++ 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/pom.xml
 Tue Jun 10 21:20:03 2014
@@ -15,70 +15,102 @@
  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>${groupId}</groupId>
-    <artifactId>${rootArtifactId}</artifactId>
-    <version>${version}</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <name>File Manager (Apache OODT)</name>
-  <artifactId>${rootArtifactId}-${artifactId}</artifactId>
-  <packaging>jar</packaging>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.2-beta-2</version>
-        <configuration>
-          <descriptors>
-            <descriptor>src/main/assembly/assembly.xml</descriptor>
-          </descriptors>
-        </configuration>
-        <executions>
-          <execution>
-            <id>dist-assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
+<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>${groupId}</groupId>
-      <artifactId>${rootArtifactId}-extensions</artifactId>
-      <version>${project.parent.version}</version>
-      <type>jar</type>
-      <scope>runtime</scope>
-      <exclusions>
-        <exclusion>
-          <groupId>org.apache.oodt</groupId>
-          <artifactId>cas-filemgr</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.oodt</groupId>
-      <artifactId>cas-filemgr</artifactId>
-      <version>${oodt.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.2</version>
-      <scope>test</scope>
-    </dependency>
-
-  </dependencies>
+      <artifactId>${rootArtifactId}</artifactId>
+      <version>${version}</version>
+      <relativePath>../pom.xml</relativePath>
+   </parent>
+   <name>File Manager (Apache OODT)</name>
+   <artifactId>${rootArtifactId}-${artifactId}</artifactId>
+   <packaging>jar</packaging>
+   <profiles>
+      <profile>
+         <id>default</id>
+         <activation>
+            <activeByDefault>true</activeByDefault>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-assembly-plugin</artifactId>
+                  <version>2.2-beta-2</version>
+                  <configuration>
+                     <descriptors>
+                        <descriptor>src/main/assembly/assembly.xml</descriptor>
+                     </descriptors>
+                  </configuration>
+                  <executions>
+                     <execution>
+                        <id>dist-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                           <goal>single</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+      <profile>
+         <id>fm-solr-catalog</id>
+         <activation/>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-assembly-plugin</artifactId>
+                  <version>2.2-beta-2</version>
+                  <configuration>
+                     <descriptors>
+                        
<descriptor>src/main/assembly/assembly.fm-solr-catalog.xml</descriptor>
+                     </descriptors>
+                  </configuration>
+                  <executions>
+                     <execution>
+                        <id>dist-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                           <goal>single</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+   </profiles>
+   <dependencies>
+      <dependency>
+         <groupId>${groupId}</groupId>
+         <artifactId>${rootArtifactId}-extensions</artifactId>
+         <version>${project.parent.version}</version>
+         <type>jar</type>
+         <scope>runtime</scope>
+         <exclusions>
+            <exclusion>
+               <groupId>org.apache.oodt</groupId>
+               <artifactId>cas-filemgr</artifactId>
+            </exclusion>
+         </exclusions>
+      </dependency>
+      <dependency>
+         <groupId>org.apache.oodt</groupId>
+         <artifactId>cas-filemgr</artifactId>
+         <version>${oodt.version}</version>
+      </dependency>
+      <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit</artifactId>
+         <version>3.8.2</version>
+         <scope>test</scope>
+      </dependency>
+   </dependencies>
 </project>

Added: 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.fm-solr-catalog.xml
URL: 
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.fm-solr-catalog.xml?rev=1601774&view=auto
==============================================================================
--- 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.fm-solr-catalog.xml
 (added)
+++ 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.fm-solr-catalog.xml
 Tue Jun 10 21:20:03 2014
@@ -0,0 +1,100 @@
+<!--
+ 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.
+-->
+<assembly>
+  <id>bin</id>
+  <formats>
+    <format>tar.gz</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <baseDirectory>filemgr</baseDirectory>
+  <includeSiteDirectory>false</includeSiteDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>${basedir}</directory>
+      <outputDirectory>.</outputDirectory>
+      <includes>
+        <include>LICENSE.txt</include>
+        <include>CHANGES.txt</include>
+      </includes>
+      <fileMode>775</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>${basedir}/src/main/resources/bin</directory>
+      <outputDirectory>filemgr/bin</outputDirectory>
+      <includes/>
+      <fileMode>775</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>target</directory>
+      <outputDirectory>filemgr/logs</outputDirectory>
+      <excludes>
+        <exclude>**/*</exclude>
+      </excludes>
+    </fileSet>
+    <fileSet>
+      <directory>target</directory>
+      <outputDirectory>filemgr/run</outputDirectory>
+      <excludes>
+        <exclude>**/*</exclude>
+      </excludes>
+    </fileSet>
+    <fileSet>
+      <directory>${basedir}/src/main/resources/etc</directory>
+      <outputDirectory>filemgr/etc</outputDirectory>
+      <includes>
+        <include>**.xml</include>
+      </includes>
+      <excludes>
+        <exclude>filemgr.properties</exclude>
+      </excludes>
+      <fileMode>664</fileMode>
+      <directoryMode>775</directoryMode>
+    </fileSet>
+    <fileSet>
+      <directory>${basedir}/src/main/resources/policy</directory>
+      <outputDirectory>filemgr/policy</outputDirectory>
+      <includes>
+        <include>**/**.xml</include>
+      </includes>
+      <fileMode>664</fileMode>
+      <directoryMode>775</directoryMode>
+    </fileSet>
+    <fileSet>
+      <directory>target/site/apidocs</directory>
+      <filtered>false</filtered>
+      <outputDirectory>doc</outputDirectory>
+      <excludes/>
+    </fileSet>
+  </fileSets>
+    <files>
+      <file>
+        
<source>${basedir}/src/main/resources/etc/filemgr.fm-solr-catalog.properties</source>
+        <outputDirectory>filemgr/etc</outputDirectory>
+        <destName>filemgr.properties</destName>
+      </file>
+    </files>
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>filemgr/lib</outputDirectory>
+      <unpack>false</unpack>
+      <useProjectArtifact>true</useProjectArtifact>
+      <useTransitiveDependencies>true</useTransitiveDependencies>
+      <unpackOptions/>
+    </dependencySet>
+  </dependencySets>
+</assembly>
+

Modified: 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.xml
URL: 
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.xml?rev=1601774&r1=1601773&r2=1601774&view=diff
==============================================================================
--- 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.xml
 (original)
+++ 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/assembly/assembly.xml
 Tue Jun 10 21:20:03 2014
@@ -56,7 +56,7 @@
       <directory>${basedir}/src/main/resources/etc</directory>
       <outputDirectory>filemgr/etc</outputDirectory>
       <includes>
-        <include>**.properties</include>
+        <include>filemgr.properties</include>
         <include>**.xml</include>
       </includes>
       <fileMode>664</fileMode>

Added: 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/etc/filemgr.fm-solr-catalog.properties
URL: 
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/etc/filemgr.fm-solr-catalog.properties?rev=1601774&view=auto
==============================================================================
--- 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/etc/filemgr.fm-solr-catalog.properties
 (added)
+++ 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/etc/filemgr.fm-solr-catalog.properties
 Tue Jun 10 21:20:03 2014
@@ -0,0 +1,113 @@
+# 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.
+
+# Configuration properties for the File Manager
+
+# repository factory
+filemgr.repository.factory=org.apache.oodt.cas.filemgr.repository.XMLRepositoryManagerFactory
+
+# Solr catalog factory
+filemgr.catalog.factory=org.apache.oodt.cas.filemgr.catalog.solr.SolrCatalogFactory
+org.apache.oodt.cas.filemgr.catalog.solr.url=http://localhost:8080/solr/oodt-fm
+
+# data transfer factory
+filemgr.datatransfer.factory=org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory
+
+# validation layer factory
+filemgr.validationLayer.factory=org.apache.oodt.cas.filemgr.validation.XMLValidationLayerFactory
+
+# xml rpc client configuration
+org.apache.oodt.cas.filemgr.system.xmlrpc.connectionTimeout.minutes=20
+org.apache.oodt.cas.filemgr.system.xmlrpc.requestTimeout.minutes=60
+#org.apache.oodt.cas.filemgr.system.xmlrpc.connection.retries=0
+#org.apache.oodt.cas.filemgr.system.xmlrpc.connection.retry.interval.seconds=3
+
+# mapped data source catalog configuration
+#org.apache.oodt.cas.filemgr.catalog.mappeddatasource.mapFile=/path/to/ops.catalog.typemap.properties
+
+# lucene catalog configuration
+org.apache.oodt.cas.filemgr.catalog.lucene.idxPath=[OODT_HOME]/data/catalog
+org.apache.oodt.cas.filemgr.catalog.lucene.pageSize=20
+org.apache.oodt.cas.filemgr.catalog.lucene.commitLockTimeout.seconds=60
+org.apache.oodt.cas.filemgr.catalog.lucene.writeLockTimeout.seconds=60
+org.apache.oodt.cas.filemgr.catalog.lucene.mergeFactor=20
+
+# XML repository manager configuration
+org.apache.oodt.cas.filemgr.repositorymgr.dirs=file:[FILEMGR_HOME]/policy/oodt
+
+# XML validation layer configuration
+org.apache.oodt.cas.filemgr.validation.dirs=file:[FILEMGR_HOME]/policy/oodt
+
+# remote data transfer configuration
+org.apache.oodt.cas.filemgr.datatransfer.remote.chunkSize=1024
+
+# location of Mime-Type repository
+org.apache.oodt.cas.filemgr.mime.type.repository=[FILEMGR_HOME]/etc/mime-types.xml
+
+
+############ data source configuration ##################################
+#
+# These 3 blocks of config properties can be used to setup a catalog,
+# repository manager, and validation layer based on a RDBMS such as
+# Oracle, MySQL, PostgreSQL, or any others that support a jdbc connection.
+# Just un-comment the following blocks of properties and configure as
+# needed.
+#
+#########################################################################
+
+# datasource catalog config
+#org.apache.oodt.cas.filemgr.catalog.datasource.jdbc.url=some_jdbc_url
+#org.apache.oodt.cas.filemgr.catalog.datasource.jdbc.user=user
+#org.apache.oodt.cas.filemgr.catalog.datasource.jdbc.pass=pass
+#org.apache.oodt.cas.filemgr.catalog.datasource.jdbc.driver=driver.class.name
+#org.apache.oodt.cas.filemgr.catalog.datasource.quoteFields=false
+#org.apache.oodt.cas.filemgr.catalog.datasource.pageSize=20
+#org.apache.oodt.cas.filemgr.catalog.datasource.cacheUpdateMinutes=5
+
+# data source repository manager configuration
+#org.apache.oodt.cas.filemgr.repositorymgr.datasource.jdbc.url=some_jdbc_url
+#org.apache.oodt.cas.filemgr.repositorymgr.datasource.jdbc.user=user
+#org.apache.oodt.cas.filemgr.repositorymgr.datasource.jdbc.pass=pass
+#org.apache.oodt.cas.filemgr.repositorymgr.datasource.jdbc.driver=driver.class.name
+
+# data source validation layer configuration
+#org.apache.oodt.cas.filemgr.validation.datasource.jdbc.url=some_jdbc_url
+#org.apache.oodt.cas.filemgr.validation.datasource.jdbc.user=user
+#org.apache.oodt.cas.filemgr.validation.datasource.jdbc.pass=pass
+#org.apache.oodt.cas.filemgr.validation.datasource.jdbc.driver=driver.class.name
+#org.apache.oodt.cas.filemgr.validation.datasource.quoteFields=false
+
+
+# tells the file manager system layer to include product instance metadata
+# NOTE: here are the expected field mappings
+#
+# product.getProductId() -> ProductId
+# product.getProductName() -> ProductName
+# product.getProductStructure() -> ProductStructure
+# product.getTransferStatus() -> ProductTransferStatus
+# product.getRootRef() -> ProductRootReference
+
+# for the references returned by product.getProductReferences() the following
+# metadata fields will be added (order will be maintained, such that data store
+# ref at index 0 will map to orig ref at index 0, etc.)
+#
+# ProductDataStoreReferences (list of all data store references:
+# note already translated into path, not URI)
+# ProductOrigReferences (list of all orig references:
+# note already translated into path, not URI)
+# ProductMimeType (list of all references' mime-types)
+# ProductFileSize (list of all references' file sizes)
+
+org.apache.oodt.cas.filemgr.metadata.expandProduct=false

Modified: 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/etc/filemgr.properties
URL: 
http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/etc/filemgr.properties?rev=1601774&r1=1601773&r2=1601774&view=diff
==============================================================================
--- 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/etc/filemgr.properties
 (original)
+++ 
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/filemgr/src/main/resources/etc/filemgr.properties
 Tue Jun 10 21:20:03 2014
@@ -18,13 +18,9 @@
 # repository factory
 
filemgr.repository.factory=org.apache.oodt.cas.filemgr.repository.XMLRepositoryManagerFactory
 
-# (default) catalog factory
+# Lucene catalog factory
 
filemgr.catalog.factory=org.apache.oodt.cas.filemgr.catalog.LuceneCatalogFactory
 
-# (Solr) catalog factory
-# 
filemgr.catalog.factory=org.apache.oodt.cas.filemgr.catalog.solr.SolrCatalogFactory
-# 
org.apache.oodt.cas.filemgr.catalog.solr.url=http://localhost:8080/solr/oodt-fm
-
 # data transfer factory
 
filemgr.datatransfer.factory=org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory
 


Reply via email to