diff --git a/archiva-modules/archiva-web/archiva-web-common/pom.xml b/archiva-modules/archiva-web/archiva-web-common/pom.xml
index 7f3223e7d..d60eff6df 100644
--- a/archiva-modules/archiva-web/archiva-web-common/pom.xml
+++ b/archiva-modules/archiva-web/archiva-web-common/pom.xml
@@ -179,11 +179,102 @@
org.apache.archiva
- audit
+ archiva-storage-api
- javax.ws.rs
- javax.ws.rs-api
+ org.apache.archiva
+ archiva-model
+
+
+ org.apache.archiva
+ archiva-common
+
+
+ org.apache.archiva
+ archiva-storage-fs
+
+
+ org.apache.archiva
+ archiva-repository-api
+
+
+ org.apache.archiva
+ archiva-repository-admin-api
+
+
+ org.apache.archiva
+ archiva-scheduler-repository-api
+
+
+ org.apache.archiva
+ archiva-checksum
+
+
+ org.apache.archiva
+ archiva-scheduler-api
+
+
+ org.apache.archiva
+ metadata-model
+
+
+ org.apache.archiva
+ archiva-filelock
+
+
+ org.apache.archiva.maven
+ archiva-maven-model
+
+
+
+
+ org.apache.archiva.redback
+ redback-users-api
+
+
+ org.apache.archiva.redback
+ redback-configuration
+
+
+ org.apache.archiva.redback
+ redback-policy
+
+
+ org.apache.archiva.redback
+ redback-authentication-api
+
+
+ org.apache.archiva.redback
+ redback-integrations-security
+
+
+ org.apache.archiva.redback
+ redback-rest-api
+
+
+ org.apache.archiva.redback
+ redback-users-jpa
+
+
+ org.apache.archiva.redback
+ redback-common-ldap
+
+
+ org.apache.archiva.redback
+ redback-keys-api
+
+
+ org.apache.archiva.redback
+ redback-authorization-api
+
+
+
+ org.apache.archiva.components.registry
+ archiva-components-spring-registry-api
+
+
+ org.apache.archiva.components.cache
+ archiva-components-spring-cache-api
org.apache.archiva.components
@@ -193,6 +284,45 @@
org.apache.archiva.components
archiva-components-spring-quartz
+
+
+ javax.inject
+ javax.inject
+
+
+ javax.activation
+ activation
+
+
+
+
+ org.apache.maven.wagon
+ wagon-provider-api
+
+
+ org.apache.maven
+ maven-model
+
+
+ commons-io
+ commons-io
+
+
+ org.apache.commons
+ commons-lang3
+
+
+ org.apache.commons
+ commons-collections4
+
+
+ commons-codec
+ commons-codec
+
+
+ javax.ws.rs
+ javax.ws.rs-api
+
org.quartz-scheduler
quartz
@@ -209,10 +339,6 @@
org.springframework
spring-context
-
- org.springframework
- spring-context-support
-
org.jsoup
jsoup
@@ -229,11 +355,28 @@
org.apache.commons
commons-text
+
+ com.rometools
+ rome
+
+
+ org.apache.cxf
+ cxf-core
+
org.apache.cxf
cxf-rt-frontend-jaxrs
+
+ org.apache.cxf
+ cxf-rt-transports-http
+
+
+ com.fasterxml.jackson.jaxrs
+ jackson-jaxrs-json-provider
+
+
@@ -248,6 +391,11 @@
javax.annotation-api
+
+ org.springframework
+ spring-test
+ test
+
javax.persistence
javax.persistence-api
@@ -264,22 +412,7 @@
${redback.version}
test
-
- org.springframework
- spring-tx
- ${spring.version}
- test
-
-
- org.apache.logging.log4j
- log4j-1.2-api
- test
-
-
- org.apache.logging.log4j
- log4j-slf4j-impl
- test
-
+
org.apache.archiva
archiva-test-utils
@@ -292,11 +425,6 @@
-
- org.slf4j
- jul-to-slf4j
- test
-
org.apache.maven.wagon
wagon-http
@@ -327,7 +455,7 @@
org.eclipse.jetty
- jetty-plus
+ jetty-servlet
test
@@ -337,25 +465,12 @@
${jetty.version}
test
-
- org.eclipse.jetty
- jetty-io
- ${jetty.version}
- test
-
org.eclipse.jetty
jetty-security
${jetty.version}
test
-
-
- org.apache.commons
- commons-compress
- test
-
-
org.apache.archiva.redback
redback-rest-services
@@ -363,18 +478,6 @@
test
-
- org.apache.archiva.redback
- redback-keys-jpa
- test
-
-
-
- org.apache.archiva.redback
- redback-rest-services
- test
-
-
org.apache.archiva
archiva-webdav
@@ -412,18 +515,6 @@
test
-
- org.glassfish.jaxb
- jaxb-runtime
- test
-
-
-
-
- org.ow2.asm
- asm
- test
-
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/api/DefaultFileUploadService.java b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/api/DefaultFileUploadService.java
index 1abf0e3c0..c091095bb 100644
--- a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/api/DefaultFileUploadService.java
+++ b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/api/DefaultFileUploadService.java
@@ -18,8 +18,6 @@ package org.apache.archiva.web.api;
* under the License.
*/
-import com.google.common.base.Predicate;
-import com.google.common.collect.Iterables;
import org.apache.archiva.admin.model.RepositoryAdminException;
import org.apache.archiva.admin.model.admin.ArchivaAdministration;
import org.apache.archiva.checksum.ChecksumAlgorithm;
@@ -321,12 +319,9 @@ public class DefaultFileUploadService
// get from the session file with groupId/artifactId
- Iterable filesToAdd = Iterables.filter(fileMetadatas, new Predicate() {
- public boolean apply(FileMetadata fileMetadata) {
- return fileMetadata != null && !fileMetadata.isPomFile();
- }
- });
- Iterator iterator = filesToAdd.iterator();
+ Iterator iterator = fileMetadatas.stream( )
+ .filter( fileMetadata -> fileMetadata != null && !fileMetadata.isPomFile( ) )
+ .iterator( );
boolean pomGenerated = false;
while (iterator.hasNext()) {
FileMetadata fileMetadata = iterator.next();
@@ -337,14 +332,8 @@ public class DefaultFileUploadService
deleteFile(fileMetadata.getServerFileName());
}
- filesToAdd = Iterables.filter(fileMetadatas, new Predicate() {
- @Override
- public boolean apply(FileMetadata fileMetadata) {
- return fileMetadata != null && fileMetadata.isPomFile();
- }
- });
-
- iterator = filesToAdd.iterator();
+ iterator = fileMetadatas.stream( ).filter( fileMetadata -> fileMetadata != null && fileMetadata.isPomFile( ) )
+ .iterator( );
while (iterator.hasNext()) {
FileMetadata fileMetadata = iterator.next();
log.debug("fileToAdd: {}", fileMetadata);
diff --git a/pom.xml b/pom.xml
index 0f672e078..46a9840b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,7 +73,7 @@
1.12.1
- 1.12.2
+ 1.13.1
9.0.2
4.10.4
@@ -1399,6 +1399,16 @@
redback-policy
${redback.version}
+
+ org.apache.archiva.redback
+ redback-users-jpa
+ ${redback.version}
+
+
+ org.apache.archiva.redback
+ redback-keys-api
+ ${redback.version}
+
@@ -1624,6 +1634,11 @@
jetty-plus
${jetty.version}
+
+ org.eclipse.jetty
+ jetty-servlet
+ ${jetty.version}
+