Enable war deployment model (#197)
* Add 'home' files into build war artifact Related to: https://jira.lyrasis.org/browse/VIVO-1443 * Disable copying exploded war to Tomcat dir - hardcode vivo.all.log file name - must now set system property: -Dvivo-dir=/opt/vivo/home/ Related to: https://jira.lyrasis.org/browse/VIVO-1443 * Ensure build does not remove and re-add VIVO_HOME/rdf Related to: https://jira.lyrasis.org/browse/VIVO-1443 * Remove unnecessary profile from installer/pom.xml Related to: https://jira.lyrasis.org/browse/VIVO-1443 * Rename example config files to have 'default' prefix Related to: https://jira.lyrasis.org/browse/VIVO-1443 * Require common properties to be in JNDI Properties include: - vitro/home - vitro/appName - vitro/rootUserAddress - vitro/defaultNamespace Related to: https://jira.lyrasis.org/browse/VIVO-1443 * VIVO-1443: app name (#2) * Non-functional change to comment in example.applicationSetup.n3 Related to: https://jira.lyrasis.org/browse/VIVO-1741 * Update orcidConfirm.ftl (#199) * remove example-settings.xml * simplify war name and afford override during build * default app name to vivo and pass into context.xml Co-authored-by: Andrew Woods <awoods@duraspace.org> Co-authored-by: L.O <53535673+lb-ov@users.noreply.github.com> Co-authored-by: Andrew Woods <awoods@duraspace.org> Co-authored-by: William Welling <wwelling@library.tamu.edu> Co-authored-by: L.O <53535673+lb-ov@users.noreply.github.com>
This commit is contained in:
parent
c54f8a105b
commit
01776ee692
10 changed files with 134 additions and 276 deletions
|
@ -19,27 +19,6 @@
|
||||||
# BASIC PROPERTIES
|
# BASIC PROPERTIES
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
#
|
|
||||||
# This namespace will be used when generating URIs for objects created in the
|
|
||||||
# editor. In order to serve linked data, the default namespace must be composed
|
|
||||||
# as follows (optional elements in parentheses):
|
|
||||||
#
|
|
||||||
# scheme + server_name (+ port) (+ servlet_context) + "/individual/"
|
|
||||||
#
|
|
||||||
# For example, Cornell's default namespace is:
|
|
||||||
#
|
|
||||||
# http://vivo.cornell.edu/individual/
|
|
||||||
#
|
|
||||||
Vitro.defaultNamespace = http://vivo.mydomain.edu/individual/
|
|
||||||
|
|
||||||
#
|
|
||||||
# The email address of the root user for the VIVO application. The password
|
|
||||||
# for this user is initially set to "rootPassword", but you will be asked to
|
|
||||||
# change the password the first time you log in.
|
|
||||||
#
|
|
||||||
rootUser.emailAddress = vivo_root@mydomain.edu
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Argon2 password hashing parameters for time, memory and parallelism required to
|
# Argon2 password hashing parameters for time, memory and parallelism required to
|
||||||
# compute a hash.
|
# compute a hash.
|
||||||
|
@ -79,13 +58,12 @@ email.replyTo = vivoAdmin@mydomain.edu
|
||||||
#
|
#
|
||||||
# URL of Solr context used in local VIVO search. This will usually consist of:
|
# URL of Solr context used in local VIVO search. This will usually consist of:
|
||||||
# scheme + server_name + port + vivo_webapp_name + "solr"
|
# scheme + server_name + port + vivo_webapp_name + "solr"
|
||||||
# In the standard installation, the Solr context will be on the same server as VIVO,
|
# In the standard installation, the Solr context will be on the same server as VIVO
|
||||||
# and in the same Tomcat instance. The path will be the VIVO webapp.name (specified
|
# as a standalone service.
|
||||||
# in build.properties) + "solr"
|
|
||||||
# Example:
|
# Example:
|
||||||
# vitro.local.solr.url = http://localhost:8080/vivosolr
|
# vitro.local.solr.url = http://localhost:8983/solr/vivocore
|
||||||
#
|
#
|
||||||
vitro.local.solr.url = http://localhost:8080/vivosolr
|
vitro.local.solr.url = http://localhost:8983/solr/vivocore
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
|
@ -1,21 +0,0 @@
|
||||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">
|
|
||||||
|
|
||||||
<profiles>
|
|
||||||
<profile>
|
|
||||||
<id>defaults</id>
|
|
||||||
<properties>
|
|
||||||
<app-name>vivo</app-name>
|
|
||||||
|
|
||||||
<vivo-dir>/usr/local/vivo/home</vivo-dir>
|
|
||||||
<tomcat-dir>/usr/local/tomcat</tomcat-dir>
|
|
||||||
|
|
||||||
<default-theme>wilma</default-theme>
|
|
||||||
</properties>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
|
|
||||||
<activeProfiles>
|
|
||||||
<activeProfile>defaults</activeProfile>
|
|
||||||
</activeProfiles>
|
|
||||||
</settings>
|
|
|
@ -23,80 +23,24 @@
|
||||||
<default-theme>wilma</default-theme>
|
<default-theme>wilma</default-theme>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
|
||||||
<profile>
|
|
||||||
<id>install</id>
|
|
||||||
<activation>
|
|
||||||
<property><name>vivo-dir</name></property>
|
|
||||||
</activation>
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<descriptors>
|
|
||||||
<descriptor>src/main/assembly/home.xml</descriptor>
|
|
||||||
</descriptors>
|
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>single</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>remove-webapp</id>
|
|
||||||
<phase>verify</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>run</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<target>
|
|
||||||
<delete dir="${vivo-dir}/rdf" />
|
|
||||||
</target>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>install</id>
|
|
||||||
<phase>install</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${vivo-dir}</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>${project.build.directory}/${project.build.finalName}</directory>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-install-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<skip>true</skip>
|
<descriptors>
|
||||||
|
<descriptor>src/main/assembly/home.xml</descriptor>
|
||||||
|
</descriptors>
|
||||||
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<id>home</id>
|
<id>home</id>
|
||||||
<formats>
|
<formats>
|
||||||
<format>dir</format>
|
<format>dir</format>
|
||||||
|
<format>tar</format>
|
||||||
</formats>
|
</formats>
|
||||||
<includeBaseDirectory>false</includeBaseDirectory>
|
<includeBaseDirectory>false</includeBaseDirectory>
|
||||||
<dependencySets>
|
<dependencySets>
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
<name>VIVO Installer</name>
|
<name>VIVO Installer</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<app-name>vivo</app-name>
|
||||||
<vitro-version>${project.version}</vitro-version>
|
<vitro-version>${project.version}</vitro-version>
|
||||||
<maven-site-plugin.skip>true</maven-site-plugin.skip>
|
<maven-site-plugin.skip>true</maven-site-plugin.skip>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
@ -28,12 +29,6 @@
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-install-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<skip>true</skip>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-gpg-plugin</artifactId>
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
|
@ -157,12 +152,6 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<skip>true</skip>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>2.6</version>
|
||||||
|
@ -186,45 +175,6 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>default-war</id>
|
|
||||||
<phase/>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile>
|
|
||||||
<profile>
|
|
||||||
<id>install</id>
|
|
||||||
<activation>
|
|
||||||
<property><name>vivo-dir</name></property>
|
|
||||||
</activation>
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>enforce-properties</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>enforce</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<rules>
|
|
||||||
<requireProperty>
|
|
||||||
<property>app-name</property>
|
|
||||||
<message>You must provide an application name (app-name)</message>
|
|
||||||
</requireProperty>
|
|
||||||
</rules>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
|
@ -19,116 +19,9 @@
|
||||||
|
|
||||||
<name>VIVO Install Web App</name>
|
<name>VIVO Install Web App</name>
|
||||||
|
|
||||||
<profiles>
|
|
||||||
<profile>
|
|
||||||
<id>package</id>
|
|
||||||
<activation>
|
|
||||||
<property><name>app-name</name></property>
|
|
||||||
</activation>
|
|
||||||
<build>
|
|
||||||
<finalName>${app-name}</finalName>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<archive>
|
|
||||||
<manifest>
|
|
||||||
<addClasspath>true</addClasspath>
|
|
||||||
</manifest>
|
|
||||||
</archive>
|
|
||||||
<archiveClasses>false</archiveClasses>
|
|
||||||
<overlays>
|
|
||||||
<overlay>
|
|
||||||
<groupId>org.vivoweb</groupId>
|
|
||||||
<artifactId>vivo-webapp</artifactId>
|
|
||||||
<type>war</type>
|
|
||||||
</overlay>
|
|
||||||
<!-- Overlays for multilingual support -->
|
|
||||||
<!-- overlay>
|
|
||||||
<groupId>org.vivoweb</groupId>
|
|
||||||
<artifactId>vitro-languages-webapp</artifactId>
|
|
||||||
<type>war</type>
|
|
||||||
</overlay>
|
|
||||||
<overlay>
|
|
||||||
<groupId>org.vivoweb</groupId>
|
|
||||||
<artifactId>vivo-languages-webapp</artifactId>
|
|
||||||
<type>war</type>
|
|
||||||
</overlay -->
|
|
||||||
</overlays>
|
|
||||||
<webResources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/webResources</directory>
|
|
||||||
<filtering>true</filtering>
|
|
||||||
</resource>
|
|
||||||
</webResources>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile>
|
|
||||||
<profile>
|
|
||||||
<id>install</id>
|
|
||||||
<activation>
|
|
||||||
<property><name>tomcat-dir</name></property>
|
|
||||||
</activation>
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-antrun-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>remove-webapp</id>
|
|
||||||
<phase>verify</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>run</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<target>
|
|
||||||
<delete dir="${tomcat-dir}/webapps/${project.build.finalName}" />
|
|
||||||
</target>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>install</id>
|
|
||||||
<phase>install</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>unpack</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<artifactItems>
|
|
||||||
<artifactItem>
|
|
||||||
<groupId>${project.groupId}</groupId>
|
|
||||||
<artifactId>${project.artifactId}</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<type>war</type>
|
|
||||||
<overWrite>true</overWrite>
|
|
||||||
<outputDirectory>${tomcat-dir}/webapps/${project.build.finalName}</outputDirectory>
|
|
||||||
</artifactItem>
|
|
||||||
</artifactItems>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
<finalName>${app-name}</finalName>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-install-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<skip>true</skip>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
<artifactId>maven-clean-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
@ -139,6 +32,75 @@
|
||||||
</filesets>
|
</filesets>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
|
||||||
|
<configuration>
|
||||||
|
<skip>false</skip>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>include-home</id>
|
||||||
|
<phase>process-resources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<artifactItems>
|
||||||
|
<artifactItem>
|
||||||
|
<groupId>org.vivoweb</groupId>
|
||||||
|
<artifactId>vivo-installer-home</artifactId>
|
||||||
|
<version>${project.version}</version>
|
||||||
|
<type>tar</type>
|
||||||
|
<destFileName>vivo-home.tar</destFileName>
|
||||||
|
<outputDirectory>${project.build.directory}/home-files</outputDirectory>
|
||||||
|
</artifactItem>
|
||||||
|
</artifactItems>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<addClasspath>true</addClasspath>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
|
<archiveClasses>false</archiveClasses>
|
||||||
|
<overlays>
|
||||||
|
<overlay>
|
||||||
|
<groupId>org.vivoweb</groupId>
|
||||||
|
<artifactId>vivo-webapp</artifactId>
|
||||||
|
<type>war</type>
|
||||||
|
</overlay>
|
||||||
|
<!-- Overlays for multilingual support -->
|
||||||
|
<!-- overlay>
|
||||||
|
<groupId>org.vivoweb</groupId>
|
||||||
|
<artifactId>vitro-languages-webapp</artifactId>
|
||||||
|
<type>war</type>
|
||||||
|
</overlay>
|
||||||
|
<overlay>
|
||||||
|
<groupId>org.vivoweb</groupId>
|
||||||
|
<artifactId>vivo-languages-webapp</artifactId>
|
||||||
|
<type>war</type>
|
||||||
|
</overlay -->
|
||||||
|
</overlays>
|
||||||
|
<webResources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/webResources</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
</resource>
|
||||||
|
<resource>
|
||||||
|
<directory>${project.build.directory}/home-files/</directory>
|
||||||
|
<targetPath>WEB-INF/resources/home-files/</targetPath>
|
||||||
|
</resource>
|
||||||
|
</webResources>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,52 @@
|
||||||
<Context> <!-- useHttpOnly="false" -->
|
<Context> <!-- useHttpOnly="false" -->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
# The 'home' property specifies the location of VIVO HOME.
|
||||||
|
# The system user used to run the VIVO web application must have write access
|
||||||
|
# to the parent directory of the directory defined in this property, if VIVO HOME
|
||||||
|
# does not already exist.
|
||||||
|
# If this directory already exists, the system user used to run the VIVO web application
|
||||||
|
# must have write access to this directory.
|
||||||
|
-->
|
||||||
<Environment
|
<Environment
|
||||||
type="java.lang.String"
|
type="java.lang.String"
|
||||||
name="vitro/home"
|
name="vitro/home"
|
||||||
value="${vivo-dir}" override="true"/>
|
value="${vivo-dir}" override="true"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
# The name of the application (possibly not used).
|
||||||
|
-->
|
||||||
|
<Environment
|
||||||
|
type="java.lang.String"
|
||||||
|
name="vitro/appName"
|
||||||
|
value="${app-name}" override="true"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
# The email address of the root user for the VIVO application. The password
|
||||||
|
# for this user is initially set to "rootPassword", but you will be asked to
|
||||||
|
# change the password the first time you log in.
|
||||||
|
-->
|
||||||
|
<Environment
|
||||||
|
type="java.lang.String"
|
||||||
|
name="vitro/rootUserAddress"
|
||||||
|
value="vivo_root@mydomain.edu" override="true"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
# This namespace will be used when generating URIs for objects created in the
|
||||||
|
# editor. In order to serve linked data, the default namespace must be composed
|
||||||
|
# as follows (optional elements in parentheses):
|
||||||
|
#
|
||||||
|
# scheme + server_name (+ port) (+ servlet_context) + "/individual/"
|
||||||
|
#
|
||||||
|
# For example, Cornell's default namespace is:
|
||||||
|
#
|
||||||
|
# http://vivo.cornell.edu/individual/
|
||||||
|
-->
|
||||||
|
<Environment
|
||||||
|
type="java.lang.String"
|
||||||
|
name="vitro/defaultNamespace"
|
||||||
|
value="http://vivo.mydomain.edu/individual/" override="true"/>
|
||||||
|
|
||||||
<!-- Disable persist sessions on shut down.-->
|
<!-- Disable persist sessions on shut down.-->
|
||||||
<Manager pathname="" />
|
<Manager pathname="" />
|
||||||
</Context>
|
</Context>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# debug.log4j.properties exists will be used instead, if it exists, but is not stored in Subversion.
|
# debug.log4j.properties exists will be used instead, if it exists, but is not stored in Subversion.
|
||||||
|
|
||||||
log4j.appender.AllAppender=org.apache.log4j.RollingFileAppender
|
log4j.appender.AllAppender=org.apache.log4j.RollingFileAppender
|
||||||
log4j.appender.AllAppender.File= ${catalina.base}/logs/${app-name}.all.log
|
log4j.appender.AllAppender.File= ${catalina.base}/logs/vivo.all.log
|
||||||
log4j.appender.AllAppender.MaxFileSize=10MB
|
log4j.appender.AllAppender.MaxFileSize=10MB
|
||||||
log4j.appender.AllAppender.MaxBackupIndex=10
|
log4j.appender.AllAppender.MaxBackupIndex=10
|
||||||
log4j.appender.AllAppender.layout=org.apache.log4j.PatternLayout
|
log4j.appender.AllAppender.layout=org.apache.log4j.PatternLayout
|
||||||
|
|
1
pom.xml
1
pom.xml
|
@ -56,6 +56,7 @@
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<app-name>vivo</app-name>
|
||||||
<vitro-version>${project.version}</vitro-version>
|
<vitro-version>${project.version}</vitro-version>
|
||||||
<vivo-dir>${basedir}</vivo-dir>
|
<vivo-dir>${basedir}</vivo-dir>
|
||||||
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
|
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
|
||||||
|
|
Loading…
Add table
Reference in a new issue