[NEXUS-5414] Do not process proxy repositories in snapshots removal task

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
NEXUS-5400: Simplifying.

Original "fix" was to put the uploaded file into "tmp" repo folder having
same directory structure as "final" file would have. This is completely
unnecessary!

We not just store the file in the root of repo temp folder (using
File.createTempFile guarantees uniqueness), as it will be moved
into its finale place in equally same "cheap" way as it would be
in it's intended subfolder.
Merge remote-tracking branch 'origin/master' into nexus-5400-uploaded-file-trashed
NEXUS-5400: Modified unrelated IT to be more tolerant for "working files"

This it was eagerly searching for empty directories in all repositories
and it is testing evict tasks, and the fact that emopty folders
are removed from storage after eviction. Sadly, this IT
checks _whole_ structure, including "special" folders like ".meta" and
".nexus" now, as this IT was added way before those folders popped up.

This change now makes this IT to neglect ".nexus/tmp" folder, but
it might be broadened too, since it is interested in empty _artifact_
folders, but not in empty attributes, empty metadata or empty temp
folders.
NEXUS-5400: Adapting UT

To the fact that there is no more directory structure for temp
files. They are stored "flat".
Add UTs
[NXCM-4530] Fix logging in "repository not found" while iterating member of a group

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
use sonatype yuicompressor-maven-plugin for m2e support

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
NEXUS-5412 simplified SearchNGIndexPlexusResource implementation

Single index query to collect and sort all required data in memory.
Return expanded result is it was explicitly requested or if number
of unique GAV is less then COLLAPSE_OVERRIDE_TRESHOLD. Otherwise
return latest version for each GA (i.e. collapse).

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Merge pull request #682 from sonatype/nexus-5400-uploaded-file-trashed

NEXUS-5400: Uploaded file trashed by rebuild md
Merge pull request #689 from sonatype/nxcm-4530-fix-logging

[NXCM-4530] Fix logging in "repository not found" while iterating member of a group
Merge pull request #685 from sonatype/nexus-5258-dont-save-default-provider

[NEXUS-5258] Do not save default remote storage provider
Fix license header
Merge pull request #688 from sonatype/nexus-5414-snapshots-remover

[NEXUS-5414] Do not process proxy repositories in snapshots removal task
Bumped MI version
Merge pull request #691 from sonatype/mi-511-sona

Bumped MI version
NEXUS-5412: UT triggering the issue

Result should be uncollapsed, but it will be sent
as collapsed down the wire.
Merge remote-tracking branch 'origin/master' into searcng-retry-uncollapsed

Conflicts:
	nexus/plugins/indexer/nexus-indexer-lucene-plugin/src/test/java/org/sonatype/nexus/rest/indexng/SearchNGIndexPlexusResourceTest.java
Merge pull request #678 from sonatype/searcng-retry-uncollapsed

NEXUS-5412 Return of the retry.
Revert "use sonatype yuicompressor-maven-plugin for m2e support"

This reverts commit 0921e04a6e92f35b8dd3f06ded1f9507d3e18cdf.