From 6028e69630b52125594cf2526f76cd772d84653a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 23 Apr 2014 10:09:16 +1000 Subject: [PATCH] [MRM-1832] RepositoryScannerTest#testDefaultRepositoryScanner fails on Linux with src release zip --- pom.xml | 18 +++++++++++ src/main/assembly/src.xml | 64 ++++++++++++++++++++++++++------------- 2 files changed, 61 insertions(+), 21 deletions(-) diff --git a/pom.xml b/pom.xml index 79a950bff..6b2c42b31 100644 --- a/pom.xml +++ b/pom.xml @@ -1865,8 +1865,26 @@ maven-assembly-plugin false + false apache-archiva-${project.version}-src + + ${basedir}/src/main/assembly/src.xml + + + + false + source-release-assembly + package + + single + + + true + gnu + + + diff --git a/src/main/assembly/src.xml b/src/main/assembly/src.xml index ff66e9a6f..8459755e0 100644 --- a/src/main/assembly/src.xml +++ b/src/main/assembly/src.xml @@ -25,34 +25,56 @@ zip + - false . / - - **/CVS/** - + true + + + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*] + + + + + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?maven-eclipse\.xml] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.project] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.classpath] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iws] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.idea(/.*)?] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?out(/.*)?] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.ipr] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iml] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.settings(/.*)?] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.externalToolBuilders(/.*)?] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.deployables(/.*)?] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.wtpmodules(/.*)?] + + + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser] + + + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup] + %regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties] + + false . / - - **/target/** - **/archiva-webapp/src/main/webapp/archiva-applet.jar - **/archiva-webapp/src/main/webapp/META-INF/** - **/archiva-webapp/src/main/webapp/images/redback/** - **/archiva-webapp/src/main/webapp/template/redback/** - **/archiva-webapp/src/main/webapp/WEB-INF/classes/** - **/archiva-webapp/src/main/webapp/WEB-INF/lib/** - **/archiva-webapp/src/main/webapp/WEB-INF/database/** - **/archiva-webapp/src/main/webapp/WEB-INF/logs/** - **/archiva-webapp/src/main/webapp/redback/** - **/archiva-webapp/src/main/webapp/css/redback/** - **/archiva-webapp/src/main/webapp/WEB-INF/jsp/redback/** - **/archiva-webapp/src/main/webapp/WEB-INF/template/redback/** - **/archiva-webapp/src/main/webapp/WEB-INF/logs/** - **/archiva-webapp/src/main/webapp/WEB-INF/temp/** - + + **/CVS/** + target/maven-shared-archive-resources/META-INF/ -- 2.39.5