Clone
 

brett porter <brett@apache.org> in archiva

[MRM-1864] use SSL by default for central

This matches the default configuration used in the latest version of Maven.

turn down logging on cache

    • -0
    • +1
    /archiva-cli/src/main/resources/log4j2.xml
use final part of the repository directory as the ID

[MRM-1857] RSS feeds not working

Make sure Struts ignores the paths mapped to other servlets, including feeds

and xmlrpc. Also fix a context path issue for the feed on the repositories

page.

re-order test

additional exclusion

remove duplicate JTA library

take advantage of generic type

refactor service tests

Split out scan call to be explicit to make it easier to refactor duplicate

sections, then move repeated configuration to before/after methods.

Make sure scanning has finished before operations that might concurrently try

to modify the metadata. This also means we can now verify the deletion of the

repository is successful

only close session if open

getJcrSession will open one if needed, which close does not need to do. This

also caused some timing issues in the REST tests as it concurrently operated

on the same session

log archiva stuff at info level

    • -1
    • +3
    /archiva-cli/src/main/resources/log4j2.xml
unused import

fix location of beans

split out audit facet and listener to match others

by placing these in the metadata model / API they can be used more broadly,

while the storage-dependant implementation can be in a plugin. This means the

plugins can be removed from the admin implementation, which can then be used

(as required) in the CLI

  1. … 21 more files in changeset.
more autowiring

ensure works from clean repository

update archetype for repository metadata

use mocks instead of full implementations for testing, cut down dependencies

make optional for Spring

in case of tests that don't add any repository listeners to the classpath

fix merge of converters

The test files in artifact converter had been adjusted, and need to merge the

spring context. Also make the artifactConverter injection more specific to

avoid picking up those defined for tests

simplify required namespaces

ensure spring context is added to archetype

remove unused dependencies and imports

add generics

destroy context on close

use new log4j 2 configuration format

    • -0
    • +33
    /archiva-cli/src/main/resources/log4j2.xml
remove commented dependency

add missing dependency

remove wagon manager hack

Should no longer be needed since moving to Maven 3 project API

ensure archiva-cli is able to run

clean up the dependencies used and add some missing configuration form shade

split out problem facet

this avoids modules wanting to report a problem from having to depend on the

plugin itself and its consumer, etc.