Changeset 2579


Ignore:
Timestamp:
02/13/13 12:33:49 (11 years ago)
Author:
keeloo
Message:

Version 2.13 - added changes caused the change of the version number, and by a change in the context file.

Location:
vlo/branches/vlo-2.13-param/vlo_solr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-2.13-param/vlo_solr/pom.xml

    r2570 r2579  
    11<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    2   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    3   <modelVersion>4.0.0</modelVersion>
    4   <groupId>eu.clarin.cmdi</groupId>
    5   <artifactId>vlo_solr</artifactId>
    6   <packaging>war</packaging>
    7   <version>3.6.0</version>
    8   <name>vlo_solr</name>
    9   <description>VLO Solr server configuration and installation project.</description>
    10   <dependencies>
    11     <dependency>
    12       <groupId>org.apache.solr</groupId>
    13       <artifactId>solr-core</artifactId>
    14       <version>3.6.0</version>
    15           <exclusions>
    16         <exclusion>
    17                    <groupId>woodstox</groupId>
    18                    <artifactId>wstx-asl</artifactId>
    19         </exclusion>
    20       </exclusions>
    21     </dependency>
    22     <dependency>
    23         <!-- PAY ATTENTION: when changing the version of the solr ALSO ALWAYS UPDATE the parent assembly xml-->
    24       <groupId>org.apache.solr</groupId>
    25       <artifactId>solr-dataimporthandler</artifactId>
    26       <version>3.6.0</version>
    27     </dependency>
    28     <dependency>
    29       <groupId>org.apache.solr</groupId>
    30       <artifactId>solr-solrj</artifactId>
    31       <version>3.6.0</version>
    32     </dependency>
    33     <dependency>
    34       <groupId>org.slf4j</groupId>
    35       <artifactId>slf4j-log4j12</artifactId>
    36       <version>1.6.6</version>
    37     </dependency>
    38     <dependency>
    39       <groupId>log4j</groupId>
    40       <artifactId>log4j</artifactId>
    41       <version>1.2.14</version>
    42     </dependency>
    43   </dependencies>
     2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     3    <modelVersion>4.0.0</modelVersion>
     4    <groupId>eu.clarin.cmdi</groupId>
     5    <artifactId>vlo_solr</artifactId>
     6    <packaging>war</packaging>
     7    <version>3.6.0</version>
     8    <name>vlo_solr</name>
     9    <description>VLO Solr server configuration and installation project.</description>
     10    <dependencies>
     11        <dependency>
     12            <groupId>org.apache.solr</groupId>
     13            <artifactId>solr-core</artifactId>
     14            <version>3.6.0</version>
     15            <exclusions>
     16                <exclusion>
     17                    <groupId>woodstox</groupId>
     18                    <artifactId>wstx-asl</artifactId>
     19                </exclusion>
     20            </exclusions>
     21        </dependency>
     22        <dependency>
     23            <!-- PAY ATTENTION: when changing the version of the solr ALSO ALWAYS UPDATE the parent assembly xml-->
     24            <groupId>org.apache.solr</groupId>
     25            <artifactId>solr-dataimporthandler</artifactId>
     26            <version>3.6.0</version>
     27        </dependency>
     28        <dependency>
     29            <groupId>org.apache.solr</groupId>
     30            <artifactId>solr-solrj</artifactId>
     31            <version>3.6.0</version>
     32        </dependency>
     33        <dependency>
     34            <groupId>org.slf4j</groupId>
     35            <artifactId>slf4j-log4j12</artifactId>
     36            <version>1.6.6</version>
     37        </dependency>
     38        <dependency>
     39            <groupId>log4j</groupId>
     40            <artifactId>log4j</artifactId>
     41            <version>1.2.14</version>
     42        </dependency>
     43    </dependencies>
    4444
    45   <properties>
    46     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    47       <vlo.solr.home>${project.build.directory}</vlo.solr.home>
    48       <vlo.solr.conf>${project.build.finalName}-vlo_solr_conf/solr</vlo.solr.conf>
    49 <!--    <vlo.solr.home>/lat/tools/vlo_solr</vlo.solr.home>-->
    50     <vlo.war.name>war/solr/</vlo.war.name>
    51   </properties>
     45    <properties>
     46        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     47        <vlo.solr.home>${project.build.directory}</vlo.solr.home>
     48        <vlo.solr.conf>${project.build.finalName}-vlo_solr_conf/solr</vlo.solr.conf>
     49        <vlo.war.name>war/solr/</vlo.war.name>
     50        <netbeans.hint.deploy.server>Tomcat</netbeans.hint.deploy.server>
     51    </properties>
    5252
    53   <build>
    54     <resources>
    55       <resource>
    56         <filtering>true</filtering>
    57         <directory>src/main/resources</directory>
    58       </resource>
    59     </resources>
    60         <plugins>
    61           <plugin>
    62         <groupId>org.apache.maven.plugins</groupId>
    63         <artifactId>maven-assembly-plugin</artifactId>
    64         <configuration>
    65           <descriptors>
    66             <descriptor>src/main/assembly/vlo_solr_install_dir.xml</descriptor>
    67           </descriptors>
    68         </configuration>
    69         <executions>
    70           <execution>
    71             <id>make-assembly</id>
    72             <phase>package</phase>
    73             <goals>
    74               <goal>single</goal>
    75             </goals>
    76           </execution>
    77         </executions>
    78       </plugin>
    79       
     53    <build>
     54        <resources>
     55            <resource>
     56                <filtering>true</filtering>
     57                <directory>src/main/resources</directory>
     58            </resource>
     59        </resources>
     60        <plugins>
     61            <plugin>
     62                <groupId>org.apache.maven.plugins</groupId>
     63                <artifactId>maven-assembly-plugin</artifactId>
     64                <configuration>
     65                    <descriptors>
     66                        <descriptor>src/main/assembly/vlo_solr_install_dir.xml</descriptor>
     67                    </descriptors>
     68                </configuration>
     69                <executions>
     70                    <execution>
     71                        <id>make-assembly</id>
     72                        <phase>package</phase>
     73                        <goals>
     74                            <goal>single</goal>
     75                        </goals>
     76                    </execution>
     77                </executions>
     78            </plugin>
     79   
    8080            <plugin>
    8181                <groupId>org.apache.maven.plugins</groupId>
     
    9797            </plugin>
    9898     
    99     </plugins>
    100   </build>
     99        </plugins>
     100    </build>
    101101
    102102</project>
  • vlo/branches/vlo-2.13-param/vlo_solr/src/main/webapp/META-INF/context.xml

    r2570 r2579  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--
    3 Example tomcat context file. Deploy this file in tomcat and the make sure the Environment value
    4 solr/home is set to the dir where you installed solr this dir will be used to store the data.
    5 See http://wiki.apache.org/solr for more information on how solr can be configured.
    6 See the war should be unpacked in the docBase directory.
     2
     3<!-- Solr context file
     4
     5solr/home : the directory in which the solr server will store it's data.
     6
     7Please refer to http://wiki.apache.org/solr for more information on how the
     8solr server should be configured. The war should be unpacked in the docBase
     9directory.
     10
    711-->
     12
    813<Context path="vlo_solr" debug="0" crossContext="true">
    9   <Environment name="solr/home" type="java.lang.String" value="${vlo.solr.home}/${vlo.solr.conf}" override="true"/>
     14  <Environment name="solr/home"
     15               type="java.lang.String"
     16               value="${vlo.solr.home}/${vlo.solr.conf}"
     17               override="true"/>
    1018</Context>
Note: See TracChangeset for help on using the changeset viewer.