interpolate mod file for mongo and xmemcache as well

Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
This commit is contained in:
Olivier Lamy 2021-09-20 21:15:50 +10:00
parent cde6ee23b2
commit 13400b3ea4
5 changed files with 10 additions and 4 deletions

View File

@ -18,7 +18,7 @@
<dependency> <dependency>
<groupId>com.googlecode.xmemcached</groupId> <groupId>com.googlecode.xmemcached</groupId>
<artifactId>xmemcached</artifactId> <artifactId>xmemcached</artifactId>
<version>2.4.7</version> <version>${xmemcached.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>

View File

@ -11,7 +11,10 @@ session-store
logging/slf4j logging/slf4j
[files] [files]
maven://com.googlecode.xmemcached/xmemcached/2.4.7|lib/xmemcached/xmemcached-2.4.7.jar maven://com.googlecode.xmemcached/xmemcached/${xmemcached.version}|lib/xmemcached/xmemcached-${xmemcached.version}.jar
[ini]
xmemcached.version?=@xmemcached.version@
[lib] [lib]
lib/jetty-memcached-sessions-${jetty.version}.jar lib/jetty-memcached-sessions-${jetty.version}.jar

View File

@ -28,7 +28,7 @@
<dependency> <dependency>
<groupId>org.mongodb</groupId> <groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId> <artifactId>mongo-java-driver</artifactId>
<version>2.13.2</version> <version>${mongodb.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -14,7 +14,7 @@ sessions
sessions/mongo/${connection-type} sessions/mongo/${connection-type}
[files] [files]
maven://org.mongodb/mongo-java-driver/2.13.2|lib/nosql/mongo-java-driver-2.13.2.jar maven://org.mongodb/mongo-java-driver/${mongodb.version}|lib/nosql/mongo-java-driver-${mongodb.version}.jar
[lib] [lib]
lib/jetty-nosql-${jetty.version}.jar lib/jetty-nosql-${jetty.version}.jar
@ -28,6 +28,7 @@ http://www.apache.org/licenses/LICENSE-2.0.html
[ini] [ini]
connection-type?=address connection-type?=address
mongodb.version?=@mongodb.version@
[ini-template] [ini-template]
#jetty.session.mongo.dbName=HttpSessions #jetty.session.mongo.dbName=HttpSessions

View File

@ -56,6 +56,8 @@
<jboss.logging.version>3.4.2.Final</jboss.logging.version> <jboss.logging.version>3.4.2.Final</jboss.logging.version>
<jetty.perf-helper.version>1.0.7</jetty.perf-helper.version> <jetty.perf-helper.version>1.0.7</jetty.perf-helper.version>
<ant.version>1.10.11</ant.version> <ant.version>1.10.11</ant.version>
<xmemcached.version>2.4.7</xmemcached.version>
<mongodb.version>2.13.2</mongodb.version>
<!-- OSGI import-package --> <!-- OSGI import-package -->
<osgi.slf4j.import.packages>org.slf4j;version="[1.7,3.0)", org.slf4j.event;version="[1.7,3.0)", org.slf4j.helpers;version="[1.7,3.0)", org.slf4j.spi;version="[1.7,3.0)"</osgi.slf4j.import.packages> <osgi.slf4j.import.packages>org.slf4j;version="[1.7,3.0)", org.slf4j.event;version="[1.7,3.0)", org.slf4j.helpers;version="[1.7,3.0)", org.slf4j.spi;version="[1.7,3.0)"</osgi.slf4j.import.packages>