You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by sk...@apache.org on 2014/06/11 20:33:52 UTC
svn commit: r1601982 - in
/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources: ./
distribution/src/main/resources/bin/ pge/ pge/src/ pge/src/main/
pge/src/main/assembly/ pge/src/main/resources/
pge/src/main/resources/policy/ resmgr/...
Author: skhudiky
Date: Wed Jun 11 18:33:51 2014
New Revision: 1601982
URL: http://svn.apache.org/r1601982
Log:
OODT-708 Add PGE to RADiX Archetype
Added:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/pom.xml
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/src/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/src/main/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/src/main/assembly/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/src/main/assembly/assembly.xml
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/src/main/resources/
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/src/main/resources/policy/
Modified:
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/README.txt
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/env.sh
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pom.xml
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/resmgr/pom.xml
oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/pom.xml
Modified: 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=1601982&r1=1601981&r2=1601982&view=diff
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/README.txt (original)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/README.txt Wed Jun 11 18:33:51 2014
@@ -37,7 +37,7 @@ INSTALLATION:
For other build configurations, add the following arguments:
(default) : bin, crawler, data, extensions,
filemgr (Lucene), logs, pcs, resmgr,
- tomcat, workflow
+ tomcat, workflow, pge
-Pfm-solr-catalog : default components, filemgr (Solr),
solr, tomcat/webapps/solr
Modified: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/env.sh
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/env.sh?rev=1601982&r1=1601981&r2=1601982&view=diff
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/env.sh (original)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/distribution/src/main/resources/bin/env.sh Wed Jun 11 18:33:51 2014
@@ -120,6 +120,11 @@ if [ -z "$CRAWLER_HOME" ]; then
export CRAWLER_HOME
fi
+if [ -z "$PGE_HOME" ]; then
+ PGE_HOME="$OODT_HOME"/pge
+ export PGE_HOME
+fi
+
if [ -z "$SOLR_HOME" ]; then
SOLR_HOME="$OODT_HOME"/solr
export SOLR_HOME
Added: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/pom.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/pom.xml?rev=1601982&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/pom.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/pom.xml Wed Jun 11 18:33:51 2014
@@ -0,0 +1,98 @@
+<?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/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>PGE (Apache OODT)</name>
+ <artifactId>${rootArtifactId}-pge</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>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <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-workflow</artifactId>
+ <version>${oodt.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>cas-pge</artifactId>
+ <version>0.3</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>cas-filemgr</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>cas-crawler</artifactId>
+ </exclusion>
+ </exclusions>
+ </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/pge/src/main/assembly/assembly.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/src/main/assembly/assembly.xml?rev=1601982&view=auto
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/src/main/assembly/assembly.xml (added)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pge/src/main/assembly/assembly.xml Wed Jun 11 18:33:51 2014
@@ -0,0 +1,80 @@
+<!--
+ 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>pge</baseDirectory>
+ <includeSiteDirectory>false</includeSiteDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>${basedir}</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>LICENSE.txt</include>
+ <include>CHANGES.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/bin</directory>
+ <outputDirectory>pge/bin</outputDirectory>
+ <includes/>
+ <fileMode>755</fileMode>
+ </fileSet>
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory>pge/logs</outputDirectory>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory>pge/run</outputDirectory>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/etc</directory>
+ <outputDirectory>pge/etc</outputDirectory>
+ <includes/>
+ </fileSet>
+ <fileSet>
+ <directory>${basedir}/src/main/resources/policy</directory>
+ <outputDirectory>pge/policy</outputDirectory>
+ <includes/>
+ </fileSet>
+ <fileSet>
+ <directory>target/site/apidocs</directory>
+ <filtered>false</filtered>
+ <outputDirectory>doc</outputDirectory>
+ <excludes/>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>pge/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/pom.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pom.xml?rev=1601982&r1=1601981&r2=1601982&view=diff
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pom.xml (original)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/pom.xml Wed Jun 11 18:33:51 2014
@@ -29,6 +29,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<oodt.version>${oodt}</oodt.version>
+ <oodt.pge.version>0.3</oodt.pge.version>
</properties>
<repositories>
Modified: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/resmgr/pom.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/resmgr/pom.xml?rev=1601982&r1=1601981&r2=1601982&view=diff
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/resmgr/pom.xml (original)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/resmgr/pom.xml Wed Jun 11 18:33:51 2014
@@ -73,6 +73,21 @@
<artifactId>cas-resource</artifactId>
<version>${oodt.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>cas-pge</artifactId>
+ <version>${oodt.pge.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>cas-filemgr</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>cas-crawler</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Modified: oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/pom.xml
URL: http://svn.apache.org/viewvc/oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/pom.xml?rev=1601982&r1=1601981&r2=1601982&view=diff
==============================================================================
--- oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/pom.xml (original)
+++ oodt/trunk/mvn/archetypes/radix/src/main/resources/archetype-resources/workflow/pom.xml Wed Jun 11 18:33:51 2014
@@ -73,6 +73,21 @@
<version>${oodt.version}</version>
</dependency>
<dependency>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>cas-pge</artifactId>
+ <version>${oodt.pge.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>cas-filemgr</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.oodt</groupId>
+ <artifactId>cas-crawler</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.2</version>