diff options
-rw-r--r-- | archiva-jetty/pom.xml | 2 | ||||
-rw-r--r-- | archiva-jetty/src/main/conf/archiva-cassandra.properties | 26 |
2 files changed, 28 insertions, 0 deletions
diff --git a/archiva-jetty/pom.xml b/archiva-jetty/pom.xml index 87ba1c61d..6000f538e 100644 --- a/archiva-jetty/pom.xml +++ b/archiva-jetty/pom.xml @@ -177,6 +177,8 @@ <systemProperty>jetty.logs=%ARCHIVA_BASE%/logs</systemProperty> <systemProperty>java.io.tmpdir=%ARCHIVA_BASE%/temp</systemProperty> <systemProperty>AsyncLoggerConfig.WaitStrategy=Sleep</systemProperty> + <systemProperty>archiva.repositorySessionFactory.id=jcr</systemProperty> + <systemProperty>archiva.cassandra.configuration.file=%ARCHIVA_BASE%/conf/archiva-cassandra.properties</systemProperty> </systemProperties> <extraArguments> <extraArgument>-XX:MaxPermSize=128m</extraArgument> diff --git a/archiva-jetty/src/main/conf/archiva-cassandra.properties b/archiva-jetty/src/main/conf/archiva-cassandra.properties new file mode 100644 index 000000000..1d8fd5231 --- /dev/null +++ b/archiva-jetty/src/main/conf/archiva-cassandra.properties @@ -0,0 +1,26 @@ +# +# 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. +# +cassandra.host=localhost +cassandra.port=9160 +cassandra.maxActive=20 +cassandra.readConsistencyLevel=QUORUM +cassandra.writeConsistencyLevel=QUORUM +cassandra.replicationFactor=1 +cassandra.keyspace.name=ArchivaKeySpace +cassandra.cluster.name=archiva |