aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-rss
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-06-25 22:41:56 +0200
committerMartin Stockhammer <martin_s@apache.org>2020-06-25 22:41:56 +0200
commit71196f3125dd747898966b9908afef047604a1a9 (patch)
tree9af957e775a665c286fd55f4fa9031d39119363a /archiva-modules/archiva-web/archiva-rss
parent33d4958f102c566eb4c661927e13d8cf7a28bd58 (diff)
downloadarchiva-71196f3125dd747898966b9908afef047604a1a9.tar.gz
archiva-71196f3125dd747898966b9908afef047604a1a9.zip
Dependency cleanup of rss
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rss')
-rw-r--r--archiva-modules/archiva-web/archiva-rss/pom.xml82
-rw-r--r--archiva-modules/archiva-web/archiva-rss/src/test/resources/log4j2-test.xml90
2 files changed, 147 insertions, 25 deletions
diff --git a/archiva-modules/archiva-web/archiva-rss/pom.xml b/archiva-modules/archiva-web/archiva-rss/pom.xml
index 4c84df156..048f26926 100644
--- a/archiva-modules/archiva-web/archiva-rss/pom.xml
+++ b/archiva-modules/archiva-web/archiva-rss/pom.xml
@@ -18,7 +18,8 @@
~ under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>archiva-web</artifactId>
<groupId>org.apache.archiva</groupId>
@@ -42,12 +43,17 @@
<artifactId>metadata-repository-api</artifactId>
</dependency>
<dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
+ <groupId>org.apache.archiva</groupId>
+ <artifactId>metadata-model</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
+ <groupId>javax.inject</groupId>
+ <artifactId>javax.inject</artifactId>
</dependency>
<dependency>
<groupId>com.rometools</groupId>
@@ -91,35 +97,61 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.xmlunit</groupId>
- <artifactId>xmlunit-core</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>org.apache.archiva</groupId>
<artifactId>archiva-test-utils</artifactId>
<version>${project.version}</version>
<scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-jcl</artifactId>
- <scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.apache.archiva.components.cache</groupId>
- <artifactId>archiva-components-spring-cache-ehcache</artifactId>
- <scope>test</scope>
- </dependency>
+
</dependencies>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>src/test/repositories/test-repo/**</exclude>
+ <exclude>src/test/repositories/snapshot-repo/**</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <reuseForks>false</reuseForks>
+ <!--
+ <argLine>-Xms1024m -Xmx2048m -server -XX:MaxPermSize=256m @{jacocoproperty}</argLine>
+ -->
+ <argLine>-Xms512m -Xmx1024m -server -XX:MaxPermSize=256m</argLine>
+ <systemPropertyVariables>
+ <appserver.base>${project.build.directory}/appserver-base</appserver.base>
+ <plexus.home>${project.build.directory}/appserver-base</plexus.home>
+ <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
+ <archiva.user.configFileName>${basedir}/target/archiva.xml</archiva.user.configFileName>
+ <test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
+ <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
+ <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
+ <basedir>${basedir}</basedir>
+ <expectedVersion>${project.version}</expectedVersion>
+ <archiva.logMissingI18n>true</archiva.logMissingI18n>
+ <java.awt.headless>true</java.awt.headless>
+ <archiva.repositorySessionFactory.id>test</archiva.repositorySessionFactory.id>
+ <openjpa.Log>${openjpa.Log}</openjpa.Log>
+ </systemPropertyVariables>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/archiva-modules/archiva-web/archiva-rss/src/test/resources/log4j2-test.xml b/archiva-modules/archiva-web/archiva-rss/src/test/resources/log4j2-test.xml
new file mode 100644
index 000000000..e539b748a
--- /dev/null
+++ b/archiva-modules/archiva-web/archiva-rss/src/test/resources/log4j2-test.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ ~ 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.
+ -->
+
+
+<configuration status="info">
+
+ <properties>
+ <property name="logsDirectory">${sys:appserver.base:-target}/logs</property>
+ </properties>
+
+ <appenders>
+ <Console name="console" target="SYSTEM_OUT" >
+ <!--PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/-->
+ <PatternLayout pattern="%highlight{%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n}" />
+ </Console>
+ <RollingRandomAccessFile name="rolling" fileName="${logsDirectory}/archiva.log"
+ filePattern="${logsDirectory}/archiva-%d{MM-dd-yyyy}.log"
+
+ immediateFlush="true" append="true">
+ <PatternLayout>
+ <pattern>%d [%t] %-5p %c %x - %m%n</pattern>
+ </PatternLayout>
+ <Policies>
+ <TimeBasedTriggeringPolicy />
+ </Policies>
+ </RollingRandomAccessFile>
+ </appenders>
+ <loggers>
+
+ <!-- apache httpclient debug content transfer-->
+ <!--
+ <logger name="org.apache.http.wire">
+ <level value="debug"/>
+ </logger>
+ <logger name="org.apache.http.headers" level="debug"/>
+ -->
+
+ <logger name="org.apache.archiva.indexer.maven.search.MavenRepositorySearch" level="info"/>
+
+ <logger name="org.apache.archiva.common.plexusbridge.MavenIndexerUtils" level="info"/>
+
+ <logger name="JPOX" level="error"/>
+
+ <logger name="org.apache.commons.configuration.DefaultConfigurationBuilder" level="error"/>
+
+ <logger name="org.apache.archiva.admin.repository.managed" level="info"/>
+
+ <logger name="org.springframework" level="info"/>
+
+ <logger name="org.codehaus.plexus" level="info"/>
+
+ <logger name="org.codehaus.redback" level="info"/>
+
+ <logger name="org.apache.cxf" level="info"/>
+
+ <logger name="org.quartz" level="info"/>
+
+ <logger name="org.apache.archiva.indexer.merger" level="info"/>
+
+ <logger name="org.apache.archiva.components.taskqueue.DefaultTaskQueue" level="info" />
+
+ <!--
+ <logger name="org.apache.archiva.scheduler.indexing" level="debug"/>
+ -->
+
+ <root level="info" includeLocation="true">
+ <appender-ref ref="console" level="error" />
+ <appender-ref ref="rolling"/>
+ </root>
+ </loggers>
+</configuration>
+
+