summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-rest/archiva-rest-api
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2014-07-30 12:02:04 +1000
committerBrett Porter <brett@apache.org>2014-07-30 12:02:04 +1000
commit75c63ff2eb458cd0f4ca971035789db62e5c92c3 (patch)
tree07e1652a09208e4b3531e51e462fd51b075e8d14 /archiva-modules/archiva-web/archiva-rest/archiva-rest-api
parent54e9209fed3c53a20867b81db62a932d1a234e5e (diff)
downloadarchiva-75c63ff2eb458cd0f4ca971035789db62e5c92c3.tar.gz
archiva-75c63ff2eb458cd0f4ca971035789db62e5c92c3.zip
split out problem facet
this avoids modules wanting to report a problem from having to depend on the plugin itself and its consumer, etc.
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rest/archiva-rest-api')
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml5
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java2
2 files changed, 1 insertions, 6 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml
index b2d600249..374b53a29 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml
@@ -71,11 +71,6 @@
</dependency>
<dependency>
- <groupId>org.apache.archiva</groupId>
- <artifactId>problem-reports</artifactId>
- </dependency>
-
- <dependency>
<groupId>org.apache.archiva.redback</groupId>
<artifactId>redback-authorization-api</artifactId>
<exclusions>
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java
index b2b10d7a4..1bb718554 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ReportRepositoriesService.java
@@ -18,9 +18,9 @@ package org.apache.archiva.rest.api.services;
* under the License.
*/
+import org.apache.archiva.metadata.model.facets.RepositoryProblemFacet;
import org.apache.archiva.metadata.repository.stats.RepositoryStatistics;
import org.apache.archiva.redback.authorization.RedbackAuthorization;
-import org.apache.archiva.reports.RepositoryProblemFacet;
import org.apache.archiva.security.common.ArchivaRoleConstants;
import javax.ws.rs.GET;