aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2021-08-28 23:58:22 +0200
committerMartin Stockhammer <martin_s@apache.org>2021-08-28 23:58:22 +0200
commit5b76e6d74f1decf5233f7bb72b0c1568b4a18508 (patch)
tree18a168cd320ac1f9752f87f7ff428acdc3e9b32f /archiva-modules
parentd925697678c51efcb553c2b6b29abbcdbea31478 (diff)
downloadarchiva-5b76e6d74f1decf5233f7bb72b0c1568b4a18508.tar.gz
archiva-5b76e6d74f1decf5233f7bb72b0c1568b4a18508.zip
Adding fix for jdk11
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/pom.xml1
-rw-r--r--archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/DefaultCassandraArchivaManager.java4
2 files changed, 2 insertions, 3 deletions
diff --git a/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/pom.xml b/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/pom.xml
index bb9ae94fa..e0f592a7a 100644
--- a/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/pom.xml
+++ b/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/pom.xml
@@ -457,6 +457,7 @@
</systemPropertyVariables>
<trimStackTrace>false</trimStackTrace>
<skip>false</skip>
+ <classesDirectory>${project.build.outputDirectory}</classesDirectory>
</configuration>
<dependencies>
<dependency>
diff --git a/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/DefaultCassandraArchivaManager.java b/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/DefaultCassandraArchivaManager.java
index fb1180b60..7678031ef 100644
--- a/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/DefaultCassandraArchivaManager.java
+++ b/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/DefaultCassandraArchivaManager.java
@@ -40,10 +40,8 @@ import javax.annotation.PreDestroy;
import javax.inject.Inject;
import java.util.ArrayList;
import java.util.Arrays;
-import java.util.Comparator;
import java.util.List;
-import static com.datastax.oss.driver.api.querybuilder.QueryBuilder.literal;
import static com.datastax.oss.driver.api.querybuilder.SchemaBuilder.*;
import static org.apache.archiva.metadata.repository.cassandra.model.ColumnNames.*;
@@ -58,7 +56,7 @@ public class DefaultCassandraArchivaManager
implements CassandraArchivaManager
{
- private Logger logger = LoggerFactory.getLogger( getClass( ) );
+ private static final Logger logger = LoggerFactory.getLogger( DefaultCassandraArchivaManager.class );
@Inject
private ApplicationContext applicationContext;