]> source.dussan.org Git - archiva.git/commitdiff
ensure we use correct lucene artifacts.
authorOlivier Lamy <olamy@apache.org>
Mon, 25 Jun 2012 15:54:21 +0000 (15:54 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 25 Jun 2012 15:54:21 +0000 (15:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353617 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml
archiva-modules/archiva-web/archiva-webapp-js/pom.xml
archiva-modules/archiva-web/archiva-webapp/pom.xml
pom.xml

index dac20a459046299e653fb1e0eb906f322121398c..4b80b46bf71c0794b3fe9373cc6605c8d261c84a 100644 (file)
       </exclusions>
     </dependency>
 
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-core</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-queries</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-memory</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-highlighter</artifactId>
+      <scope>test</scope>
+    </dependency>
+
     <dependency>
       <groupId>org.apache.archiva</groupId>
       <artifactId>archiva-repository-admin-default</artifactId>
             <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
             <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
             <basedir>${basedir}</basedir>
+            <org.apache.jackrabbit.maxCacheMemory>1</org.apache.jackrabbit.maxCacheMemory>
+            <org.apache.jackrabbit.maxMemoryPerCache>1</org.apache.jackrabbit.maxMemoryPerCache>
+            <!--org.apache.jackrabbit.minMemoryPerCache>1</org.apache.jackrabbit.minMemoryPerCache-->
           </systemPropertyVariables>
         </configuration>
       </plugin>
index a91be565681b023bd5718cb752655ccc85cafc71..35d1a23fb264a55b59e63cf4bb6e4a85ae4c88bd 100644 (file)
       <groupId>org.apache.lucene</groupId>
       <artifactId>lucene-queries</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-memory</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-highlighter</artifactId>
+    </dependency>
+
     <dependency>
       <groupId>org.apache.archiva</groupId>
       <artifactId>stage-repository-merge</artifactId>
index c8180d61d95278aad9fd5fffbec9d331c1049cbe..957f66d4ead71e736b612319b9603b176176f659 100644 (file)
       <groupId>org.apache.lucene</groupId>
       <artifactId>lucene-queries</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-memory</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-highlighter</artifactId>
+    </dependency>
     <dependency>
       <groupId>org.apache.archiva</groupId>
       <artifactId>stage-repository-merge</artifactId>
diff --git a/pom.xml b/pom.xml
index 90a245f4ff5f7607728896c517685b89fcc76d43..8ecff37fa2782575d88e440372c16e3d4c1a1af4 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <artifactId>lucene-queries</artifactId>
         <version>${lucene.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.apache.lucene</groupId>
+        <artifactId>lucene-memory</artifactId>
+        <version>${lucene.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.lucene</groupId>
+        <artifactId>lucene-highlighter</artifactId>
+        <version>${lucene.version}</version>
+      </dependency>
       <dependency>
         <groupId>javax.mail</groupId>
         <artifactId>mail</artifactId>