jford 2004/09/28 13:42:43
Added: components/search maven.xml locator.ent project.xml
project.properties
Log:
Added a Lucene based implementation of the search component
Revision Changes Path
1.1 jakarta-jetspeed-2/components/search/maven.xml
Index: maven.xml
===================================================================
<!--
Copyright 2004 The Apache Software Foundation
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 default="java:jar"
xmlns:j="jelly:core"
xmlns:define="jelly:define">
<property name='testcase' value='org.apache.jetspeed.search.TestSearch'/>
<goal name="deployJar">
<property name='maven.test.skip' value='true'/>
<attainGoal name="jar:install"/>
<copy file="${basedir}/target/${maven.final.name}.jar"
todir="${org.apache.jetspeed.deploy.war.dir}/jetspeed/WEB-INF/lib"/>
</goal>
</project>
1.1 jakarta-jetspeed-2/components/search/locator.ent
Index: locator.ent
===================================================================
<!-- Project dependencies -->
<!ENTITY pico-nano-groovy SYSTEM
"file:../../etc/project-dependencies/pico-nano-groovy.xml">
<!-- Project resources -->
<!ENTITY log4j-resources SYSTEM
"file:../../etc/project-resources/log4j-resources.xml">
<!-- Project reports -->
<!ENTITY j2-reports SYSTEM "file:../../etc/project-reports/j2-reports.xml">
1.1 jakarta-jetspeed-2/components/search/project.xml
Index: project.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project [
<!ENTITY % locator-entities SYSTEM "file:locator.ent"> %locator-entities;
]>
<!--
Copyright 2004 The Apache Software Foundation
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>
<extend>${basedir}/../../project.xml</extend>
<pomVersion>3</pomVersion>
<id>jetspeed-search</id>
<groupId>jetspeed2</groupId>
<name>Jetspeed-2 Search Component</name>
<currentVersion>2.0-a1-dev</currentVersion>
<package>org.apache.jetspeed</package>
<description>
Search component for Jetspeed.
</description>
<repository>
<connection>scm:cvs:pserver:[EMAIL
PROTECTED]:/home/cvspublic:jakarta-jetspeed-2/components/registry</connection>
<url>http://cvs.apache.org/viewcvs/jakarta-jetspeed-2/components/registry/</url>
</repository>
<shortDescription>Search</shortDescription>
<dependencies>
<dependency>
<id>jetspeed-api</id>
<groupId>jetspeed2</groupId>
<version>2.0-a1-dev</version>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
<!--
<dependency>
<id>jetspeed2:jetspeed-commons</id>
<version>2.0-a1-dev</version>
</dependency>
-->
<dependency>
<id>commons-httpclient</id>
<version>2.0</version>
</dependency>
<dependency>
<id>lucene</id>
<version>1.4.1</version>
</dependency>
<!-- Testing only -->
<dependency>
<id>commons-lang</id>
<version>2.0</version>
</dependency>
<dependency>
<id>commons-logging</id>
<version>1.0.3</version>
</dependency>
<dependency>
<id>commons-beanutils</id>
<version>1.6.1</version>
</dependency>
<dependency>
<id>commons-configuration</id>
<version>1.0-dev</version>
</dependency>
<dependency>
<id>junit</id>
<version>3.8.1</version>
</dependency>
<dependency>
<id>log4j</id>
<version>1.2.6</version>
</dependency>
<dependency>
<id>commons-collections</id>
<version>3.0</version>
</dependency>
<dependency>
<id>commons-io</id>
<version>0.1</version>
</dependency>
<dependency>
<id>xerces</id>
<version>2.3.0</version>
</dependency>
<dependency>
<id>xml-apis</id>
<version>2.0.2</version>
</dependency>
<dependency>
<id>pluto</id>
<groupId>pluto</groupId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<!-- portlet-api.jar must be in %MAVEN_HOME%respository/portlet-api/jars -->
<id>portlet-api</id>
<version>1.0</version>
</dependency>
<dependency>
<id>servletapi</id>
<version>2.3</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/java</sourceDirectory>
<unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory>
<unitTest>
<includes>
<include>**/Test*.java</include>
</includes>
<resources>
<resource>
<directory>${basedir}/src/test</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
<resource>
<directory>${basedir}/src/java</directory>
<excludes>
<exclude>**/*.java</exclude>
<exclude>**/META-INF/**</exclude>
</excludes>
</resource>
&log4j-resources;
</resources>
</unitTest>
<resources>
<resource>
<directory>${basedir}/src/java</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
</build>
<reports>
&j2-reports;
</reports>
</project>
1.1 jakarta-jetspeed-2/components/search/project.properties
Index: project.properties
===================================================================
# Copyright 2004 The Apache Software Foundation
#
# 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.
#
# $Id: project.properties,v 1.1 2004/09/28 20:42:43 jford Exp $
#
maven.multiproject.type=jar
maven.license.licenseFile=${basedir}/../../LICENSE.TXT
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]