From 91c147513f3de7489d5ff924cf5eac8a96522237 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Sun, 11 Nov 2018 10:02:27 +0100 Subject: [PATCH] Changes for site git migration --- addstage.sh | 28 ++++ checkoutSite.sh | 135 ++++++++++++++++++ git-sparse-checkout-pattern | 1 + pom.xml | 93 +++++++++++- redback-authentication/pom.xml | 3 + .../redback-authentication-api/pom.xml | 3 + .../redback-authentication-providers/pom.xml | 3 + .../redback-authentication-ldap/pom.xml | 1 + .../redback-authentication-memory/pom.xml | 3 + .../redback-authentication-open/pom.xml | 3 + .../redback-authentication-users/pom.xml | 3 + redback-authorization/pom.xml | 3 + .../redback-authorization-api/pom.xml | 3 + .../redback-authorization-providers/pom.xml | 3 + .../redback-authorization-open/pom.xml | 3 + .../redback-authorization-rbac/pom.xml | 3 + redback-common/pom.xml | 3 + redback-common/redback-common-jpa/pom.xml | 3 + redback-common/redback-common-ldap/pom.xml | 3 + .../redback-common-test-resources/pom.xml | 3 + redback-configuration/pom.xml | 3 + redback-data-management/pom.xml | 3 + redback-features/pom.xml | 1 + redback-integrations/pom.xml | 3 + .../redback-common-integrations/pom.xml | 3 + .../redback-integrations-security/pom.xml | 3 + redback-integrations/redback-rest/pom.xml | 3 + .../redback-rest/redback-rest-api/pom.xml | 1 + .../redback-rest-services/pom.xml | 1 + redback-keys/pom.xml | 3 + .../redback-authentication-keys/pom.xml | 3 + redback-keys/redback-keys-api/pom.xml | 3 + redback-keys/redback-keys-providers/pom.xml | 3 + .../redback-keys-cached/pom.xml | 3 + .../redback-keys-jpa/pom.xml | 3 + .../redback-keys-memory/pom.xml | 3 + redback-keys/redback-keys-tests/pom.xml | 3 + redback-policy/pom.xml | 3 + redback-rbac/pom.xml | 3 + redback-rbac/redback-rbac-model/pom.xml | 3 + redback-rbac/redback-rbac-providers/pom.xml | 3 + .../redback-rbac-cached/pom.xml | 3 + .../redback-rbac-jpa/pom.xml | 3 + .../redback-rbac-ldap/pom.xml | 3 + .../redback-rbac-memory/pom.xml | 3 + .../redback-rbac-role-manager/pom.xml | 3 + redback-rbac/redback-rbac-tests/pom.xml | 3 + redback-system/pom.xml | 3 + redback-users/pom.xml | 3 + redback-users/redback-users-api/pom.xml | 3 + redback-users/redback-users-providers/pom.xml | 3 + .../redback-users-cached/pom.xml | 3 + .../redback-users-configurable/pom.xml | 3 + .../redback-users-jpa/pom.xml | 3 + .../redback-users-ldap/pom.xml | 3 + .../redback-users-memory/pom.xml | 3 + redback-users/redback-users-tests/pom.xml | 3 + 57 files changed, 402 insertions(+), 6 deletions(-) create mode 100755 addstage.sh create mode 100755 checkoutSite.sh create mode 100644 git-sparse-checkout-pattern diff --git a/addstage.sh b/addstage.sh new file mode 100755 index 00000000..d88b5c45 --- /dev/null +++ b/addstage.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +MP="$1" +PL=$(echo "$MP" | sed -e 's#/# #g' -e 's/^\.//g') + +echo "$PL" +STR="project" + +if [ -f "${MP}/pom.xml" ]; then + for DIR in $PL; do + STR="${STR}.parent" + done +else + exit 0 +fi + +echo "$MP $PL" +grep -q '' $MP/pom.xml +if [ $? -eq 0 ]; then + sed -i -e 's##\n ${'${STR}'.basedir}#g' $MP/pom.xml +else + grep -q '' $MP/pom.xml + if [ $? -eq 0 ]; then + sed -i -e 's#\(.*.*\)#\1\n \n ${'${STR}'.basedir}\n #g' $MP/pom.xml + else + sed -i -e 's#\(.*.*\)#\1\n \n ${'${STR}'.basedir}\n #g' $MP/pom.xml + fi +fi diff --git a/checkoutSite.sh b/checkoutSite.sh new file mode 100755 index 00000000..5e582bd1 --- /dev/null +++ b/checkoutSite.sh @@ -0,0 +1,135 @@ +#!/bin/bash +# +# 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. +# +# Author: Martin Stockhammer +# Date: 2018-11-03 +# +# This script runs a sparse git clone of a remote repository and +# initializes the git configuration. +# +# It is mainly used for site content creation, because the main archiva-web-content repository +# is rather large and we don't want to checkout the complete data. +# + +SITE_DIR=".site-content" +GIT_REMOTE="" + +GIT_USER=$(git config user.name) +GIT_EMAIL=$(git config user.email) + +GIT_PATTERN_FILE="git-sparse-checkout-pattern" +GIT_PATTERN_DEST=".git/info/sparse-checkout" + +MY_PWD=$(pwd) + +CLONE=1 +FORCE=1 +MODULE_DIR="${MY_PWD}" +PATTERN="" +while [ ! -z "$1" ]; do + case "$1" in + -f) + FORCE=0 + shift + ;; + -d) + shift + SITE_DIR="$1" + shift + ;; + -p) + shift + if [ -z "${PATTERN}" ]; then + PATTERN="${1}" + else + PATTERN="${PATTERN}\n${1}" + fi + shift + ;; + -m) + shift + MODULE_DIR="$1" + shift + ;; + *) + GIT_REMOTE="$1" + shift + ;; + esac +done + +print_usage() { + echo "checkoutRepo [-m MODULE_DIR] [-d SITE_DIR] [-f] GIT_URL" + echo " -m: The module directory where the pattern file can be found and the site dir will be created." + echo " -d SITE_DIR: Use the given directory for checkout" + echo " -f: Force clone, even if directory exists" +} + +if [ ! -f "${MODULE_DIR}/pom.xml" ]; then + echo "Looks like the working directory is not a valid dir. No pom.xml found." + exit 1 +fi + +cd "${MODULE_DIR}" || { echo "Could not change to module directory ${MODULE_DIR}"; exit 1; } + +if [ -z "$GIT_REMOTE" ]; then + print_usage + exit 1 +fi + +if [ "${GIT_REMOTE:0:8}" == "scm:git:" ]; then + GIT_REMOTE="${GIT_REMOTE:8}" +fi + + +if [ -d "${SITE_DIR}" ]; then + if [ ! -d "${SITE_DIR}/.git" ]; then + echo "Directory ${SITE_DIR} exist already, but is not a git clone. Aborting." + exit 1 + elif [ "$FORCE" -eq 0 ]; then + CLONE=0 + fi +else + CLONE=0 +fi + +if [ $CLONE -eq 0 ]; then + git clone "${GIT_REMOTE}" "${SITE_DIR}" --no-checkout + if [ $? -ne 0 ]; then + echo "Git clone failed" + exit 1 + fi +fi + +cd "${SITE_DIR}" || { echo "Could not change to site dir ${SITE_DIR}"; exit 1; } + +git config core.sparsecheckout true +git config user.name "${GIT_USER}" +git config user.email "${GIT_EMAIL}" + +if [ ! -z "${PATTERN}" ]; then + echo -e "${PATTERN}" >"${GIT_PATTERN_DEST}" +elif [ -f "../${GIT_PATTERN_FILE}" ]; then + cp "../${GIT_PATTERN_FILE}" "${GIT_PATTERN_DEST}" +fi + +git checkout -- + +cd "${MY_PWD}" + diff --git a/git-sparse-checkout-pattern b/git-sparse-checkout-pattern new file mode 100644 index 00000000..405f9440 --- /dev/null +++ b/git-sparse-checkout-pattern @@ -0,0 +1 @@ +/redback/core diff --git a/pom.xml b/pom.xml index aef3c430..7e6c46f1 100644 --- a/pom.xml +++ b/pom.xml @@ -66,11 +66,12 @@ apache.website - file://${siteDeployDirectory} + ${siteRepositoryUrl} + ${project.basedir} 4.3.10.RELEASE 1.7.25 2.8.2 @@ -87,10 +88,15 @@ --> jdbc:hsqldb:mem:redback-test org.hsqldb.jdbcDriver - ${user.home}/archiva-sites/redback-core-site-deploy - ${basedir}/.site-content - + DefaultLevel=INFO,Runtime=ERROR,Tool=ERROR,SQL=ERROR,Schema=ERROR,MetaData=ERROR + + ${basedir}/.site-content + + scm:git:https://gitbox.apache.org/repos/asf/archiva-web-content-INVALID.git + + ${project.basedir} + @@ -659,7 +665,7 @@ false - + org.apache.openjpa openjpa-maven-plugin @@ -677,6 +683,67 @@ + + org.apache.maven.plugins + maven-scm-publish-plugin + false + + Apache Archiva versioned module docs for ${project.version} + true + ${project.build.directory}/staging/ + true + + + + + scm-publish + site-deploy + + publish-scm + + + + + + org.apache.maven.plugins + maven-site-plugin + false + + true + ${site.staging.base}/target/staging/redback/core/ + + + + attach-descriptor + + attach-descriptor + + + + + stage-for-scm-publish + post-site + + stage + + + false + + + + org.apache.maven.plugins maven-jar-plugin @@ -789,7 +856,17 @@ org.apache.maven.plugins maven-project-info-reports-plugin ${maven-project-info-reports-plugin.version} + + + + index + team + licenses + + + + org.apache.maven.plugins maven-javadoc-plugin @@ -839,12 +917,15 @@ aggregate + false aggregate + + diff --git a/redback-authentication/pom.xml b/redback-authentication/pom.xml index f6e36ac0..fd8f51f8 100644 --- a/redback-authentication/pom.xml +++ b/redback-authentication/pom.xml @@ -27,6 +27,9 @@ redback-authentication Redback :: Authentication pom + + ${project.parent.basedir} + org.apache.archiva.redback diff --git a/redback-authentication/redback-authentication-api/pom.xml b/redback-authentication/redback-authentication-api/pom.xml index ee2b53d4..92efe616 100644 --- a/redback-authentication/redback-authentication-api/pom.xml +++ b/redback-authentication/redback-authentication-api/pom.xml @@ -28,6 +28,9 @@ redback-authentication-api bundle + + ${project.parent.parent.basedir} + Redback :: Authentication API diff --git a/redback-authentication/redback-authentication-providers/pom.xml b/redback-authentication/redback-authentication-providers/pom.xml index 50daae1d..588ce285 100644 --- a/redback-authentication/redback-authentication-providers/pom.xml +++ b/redback-authentication/redback-authentication-providers/pom.xml @@ -27,6 +27,9 @@ redback-authentication-providers Redback :: Authentication Providers pom + + ${project.parent.parent.basedir} + redback-authentication-open redback-authentication-memory diff --git a/redback-authentication/redback-authentication-providers/redback-authentication-ldap/pom.xml b/redback-authentication/redback-authentication-providers/redback-authentication-ldap/pom.xml index b7799ba7..430f90b0 100644 --- a/redback-authentication/redback-authentication-providers/redback-authentication-ldap/pom.xml +++ b/redback-authentication/redback-authentication-providers/redback-authentication-ldap/pom.xml @@ -32,6 +32,7 @@ Redback :: Authentication Provider :: Ldap + ${project.parent.parent.parent.basedir} 1.5.1 diff --git a/redback-authentication/redback-authentication-providers/redback-authentication-memory/pom.xml b/redback-authentication/redback-authentication-providers/redback-authentication-memory/pom.xml index f426bda3..ba237895 100644 --- a/redback-authentication/redback-authentication-providers/redback-authentication-memory/pom.xml +++ b/redback-authentication/redback-authentication-providers/redback-authentication-memory/pom.xml @@ -29,6 +29,9 @@ redback-authentication-memory bundle + + ${project.parent.parent.parent.basedir} + Redback :: Authentication Provider :: Memory diff --git a/redback-authentication/redback-authentication-providers/redback-authentication-open/pom.xml b/redback-authentication/redback-authentication-providers/redback-authentication-open/pom.xml index 9562fcd6..7fb46780 100644 --- a/redback-authentication/redback-authentication-providers/redback-authentication-open/pom.xml +++ b/redback-authentication/redback-authentication-providers/redback-authentication-open/pom.xml @@ -29,6 +29,9 @@ redback-authentication-open bundle + + ${project.parent.parent.parent.basedir} + Redback :: Authentication Provider :: Open diff --git a/redback-authentication/redback-authentication-providers/redback-authentication-users/pom.xml b/redback-authentication/redback-authentication-providers/redback-authentication-users/pom.xml index cbcfedba..f2bc002b 100644 --- a/redback-authentication/redback-authentication-providers/redback-authentication-users/pom.xml +++ b/redback-authentication/redback-authentication-providers/redback-authentication-users/pom.xml @@ -29,6 +29,9 @@ redback-authentication-users bundle + + ${project.parent.parent.parent.basedir} + Redback :: Authentication Provider :: Users diff --git a/redback-authorization/pom.xml b/redback-authorization/pom.xml index 3e57d121..395b4d34 100644 --- a/redback-authorization/pom.xml +++ b/redback-authorization/pom.xml @@ -27,6 +27,9 @@ redback-authorization Redback :: Authorization pom + + ${project.parent.basedir} + org.apache.archiva.redback diff --git a/redback-authorization/redback-authorization-api/pom.xml b/redback-authorization/redback-authorization-api/pom.xml index 86781136..da79ffc1 100644 --- a/redback-authorization/redback-authorization-api/pom.xml +++ b/redback-authorization/redback-authorization-api/pom.xml @@ -29,6 +29,9 @@ redback-authorization-api bundle + + ${project.parent.parent.basedir} + Redback :: Authorization API diff --git a/redback-authorization/redback-authorization-providers/pom.xml b/redback-authorization/redback-authorization-providers/pom.xml index a8c9a1a1..9e7666cb 100644 --- a/redback-authorization/redback-authorization-providers/pom.xml +++ b/redback-authorization/redback-authorization-providers/pom.xml @@ -27,6 +27,9 @@ redback-authorization-providers Redback :: Authorization Providers pom + + ${project.parent.parent.basedir} + redback-authorization-rbac redback-authorization-open diff --git a/redback-authorization/redback-authorization-providers/redback-authorization-open/pom.xml b/redback-authorization/redback-authorization-providers/redback-authorization-open/pom.xml index 29e96a0e..f158e03c 100644 --- a/redback-authorization/redback-authorization-providers/redback-authorization-open/pom.xml +++ b/redback-authorization/redback-authorization-providers/redback-authorization-open/pom.xml @@ -29,6 +29,9 @@ redback-authorization-open bundle + + ${project.parent.parent.parent.basedir} + Redback :: Authorization Provider :: Open diff --git a/redback-authorization/redback-authorization-providers/redback-authorization-rbac/pom.xml b/redback-authorization/redback-authorization-providers/redback-authorization-rbac/pom.xml index 6e951012..0d8b390e 100644 --- a/redback-authorization/redback-authorization-providers/redback-authorization-rbac/pom.xml +++ b/redback-authorization/redback-authorization-providers/redback-authorization-rbac/pom.xml @@ -29,6 +29,9 @@ redback-authorization-rbac bundle + + ${project.parent.parent.parent.basedir} + Redback :: Authorization Provider :: RBAC diff --git a/redback-common/pom.xml b/redback-common/pom.xml index 54df63b7..11391a9e 100644 --- a/redback-common/pom.xml +++ b/redback-common/pom.xml @@ -28,6 +28,9 @@ redback-common Redback :: Commons pom + + ${project.parent.basedir} + redback-common-ldap redback-common-test-resources diff --git a/redback-common/redback-common-jpa/pom.xml b/redback-common/redback-common-jpa/pom.xml index a6aeb383..630b1d15 100644 --- a/redback-common/redback-common-jpa/pom.xml +++ b/redback-common/redback-common-jpa/pom.xml @@ -29,6 +29,9 @@ redback-common-jpa jar + + ${project.parent.parent.basedir} + Redback :: JPA Common Package diff --git a/redback-common/redback-common-ldap/pom.xml b/redback-common/redback-common-ldap/pom.xml index 19ab65d2..18728370 100644 --- a/redback-common/redback-common-ldap/pom.xml +++ b/redback-common/redback-common-ldap/pom.xml @@ -29,6 +29,9 @@ redback-common-ldap bundle + + ${project.parent.parent.basedir} + Redback :: Ldap Common API diff --git a/redback-common/redback-common-test-resources/pom.xml b/redback-common/redback-common-test-resources/pom.xml index 8c136f71..02d3d113 100644 --- a/redback-common/redback-common-test-resources/pom.xml +++ b/redback-common/redback-common-test-resources/pom.xml @@ -27,5 +27,8 @@ redback-common-test-resources Redback :: Common TestResources + + ${project.parent.parent.basedir} + diff --git a/redback-configuration/pom.xml b/redback-configuration/pom.xml index f4f917f9..b8e93321 100644 --- a/redback-configuration/pom.xml +++ b/redback-configuration/pom.xml @@ -29,6 +29,9 @@ redback-configuration bundle + + ${project.parent.basedir} + Redback :: Configuration diff --git a/redback-data-management/pom.xml b/redback-data-management/pom.xml index ac43d156..ec17c496 100644 --- a/redback-data-management/pom.xml +++ b/redback-data-management/pom.xml @@ -29,6 +29,9 @@ redback-data-management bundle + + ${project.parent.basedir} + Redback :: Data Management Utilities Back up, restore and upgrade utilities for JDO databases using XML diff --git a/redback-features/pom.xml b/redback-features/pom.xml index 2ec34574..7cf5d550 100644 --- a/redback-features/pom.xml +++ b/redback-features/pom.xml @@ -32,6 +32,7 @@ Redback :: Karaf Features + ${project.parent.basedir} 1_2 diff --git a/redback-integrations/pom.xml b/redback-integrations/pom.xml index 0c6d9c54..69b351ac 100644 --- a/redback-integrations/pom.xml +++ b/redback-integrations/pom.xml @@ -27,6 +27,9 @@ redback-integrations Redback :: Integrations pom + + ${project.parent.basedir} + diff --git a/redback-integrations/redback-common-integrations/pom.xml b/redback-integrations/redback-common-integrations/pom.xml index 391da8a7..c32e6b54 100644 --- a/redback-integrations/redback-common-integrations/pom.xml +++ b/redback-integrations/redback-common-integrations/pom.xml @@ -29,6 +29,9 @@ redback-common-integrations bundle + + ${project.parent.parent.basedir} + Redback :: Integration :: Common diff --git a/redback-integrations/redback-integrations-security/pom.xml b/redback-integrations/redback-integrations-security/pom.xml index 68d63688..90c75a1a 100644 --- a/redback-integrations/redback-integrations-security/pom.xml +++ b/redback-integrations/redback-integrations-security/pom.xml @@ -29,6 +29,9 @@ redback-integrations-security bundle + + ${project.parent.parent.basedir} + Redback :: Integration :: Security diff --git a/redback-integrations/redback-rest/pom.xml b/redback-integrations/redback-rest/pom.xml index 9027a98d..5671e12f 100644 --- a/redback-integrations/redback-rest/pom.xml +++ b/redback-integrations/redback-rest/pom.xml @@ -28,6 +28,9 @@ org.apache.archiva.redback redback-rest pom + + ${project.parent.parent.basedir} + Redback :: Integration :: REST diff --git a/redback-integrations/redback-rest/redback-rest-api/pom.xml b/redback-integrations/redback-rest/redback-rest-api/pom.xml index 54fce0d1..c98678d3 100644 --- a/redback-integrations/redback-rest/redback-rest-api/pom.xml +++ b/redback-integrations/redback-rest/redback-rest-api/pom.xml @@ -33,6 +33,7 @@ Redback :: Integration :: REST :: Api + ${project.parent.parent.parent.basedir} ${project.build.outputDirectory}/rest-docs-redback-rest-api diff --git a/redback-integrations/redback-rest/redback-rest-services/pom.xml b/redback-integrations/redback-rest/redback-rest-services/pom.xml index b2e7dff2..47f20f89 100644 --- a/redback-integrations/redback-rest/redback-rest-services/pom.xml +++ b/redback-integrations/redback-rest/redback-rest-services/pom.xml @@ -32,6 +32,7 @@ Redback :: Integration :: REST :: Services + ${project.parent.parent.parent.basedir} 9.4.5.v20170502 1000000 diff --git a/redback-keys/pom.xml b/redback-keys/pom.xml index d11289bf..844a4378 100644 --- a/redback-keys/pom.xml +++ b/redback-keys/pom.xml @@ -27,6 +27,9 @@ redback-keys Redback :: Key Management pom + + ${project.parent.basedir} + redback-keys-api redback-keys-providers diff --git a/redback-keys/redback-authentication-keys/pom.xml b/redback-keys/redback-authentication-keys/pom.xml index 060f0e88..adeec606 100644 --- a/redback-keys/redback-authentication-keys/pom.xml +++ b/redback-keys/redback-authentication-keys/pom.xml @@ -30,6 +30,9 @@ redback-authentication-keys bundle + + ${project.parent.parent.basedir} + Redback :: Authentication Provider :: Keys diff --git a/redback-keys/redback-keys-api/pom.xml b/redback-keys/redback-keys-api/pom.xml index 996fb627..90210ca0 100644 --- a/redback-keys/redback-keys-api/pom.xml +++ b/redback-keys/redback-keys-api/pom.xml @@ -29,6 +29,9 @@ redback-keys-api bundle + + ${project.parent.parent.basedir} + Redback :: Key Management API diff --git a/redback-keys/redback-keys-providers/pom.xml b/redback-keys/redback-keys-providers/pom.xml index 87d81319..9fabd2ed 100644 --- a/redback-keys/redback-keys-providers/pom.xml +++ b/redback-keys/redback-keys-providers/pom.xml @@ -27,6 +27,9 @@ redback-keys-providers Redback :: Key Management Providers pom + + ${project.parent.parent.basedir} + redback-keys-jpa redback-keys-memory diff --git a/redback-keys/redback-keys-providers/redback-keys-cached/pom.xml b/redback-keys/redback-keys-providers/redback-keys-cached/pom.xml index 70d0c43b..78963b1c 100644 --- a/redback-keys/redback-keys-providers/redback-keys-cached/pom.xml +++ b/redback-keys/redback-keys-providers/redback-keys-cached/pom.xml @@ -29,6 +29,9 @@ redback-keys-cached bundle + + ${project.parent.parent.parent.basedir} + Redback :: Key Management Provider :: Cached diff --git a/redback-keys/redback-keys-providers/redback-keys-jpa/pom.xml b/redback-keys/redback-keys-providers/redback-keys-jpa/pom.xml index 0e86fc23..d75c3c43 100644 --- a/redback-keys/redback-keys-providers/redback-keys-jpa/pom.xml +++ b/redback-keys/redback-keys-providers/redback-keys-jpa/pom.xml @@ -29,6 +29,9 @@ redback-keys-jpa jar + + ${project.parent.parent.parent.basedir} + Redback :: Key Management Provider :: JPA diff --git a/redback-keys/redback-keys-providers/redback-keys-memory/pom.xml b/redback-keys/redback-keys-providers/redback-keys-memory/pom.xml index 60e18c32..f79ab83c 100644 --- a/redback-keys/redback-keys-providers/redback-keys-memory/pom.xml +++ b/redback-keys/redback-keys-providers/redback-keys-memory/pom.xml @@ -29,6 +29,9 @@ redback-keys-memory bundle + + ${project.parent.parent.parent.basedir} + Redback :: Key Management Provider :: Memory diff --git a/redback-keys/redback-keys-tests/pom.xml b/redback-keys/redback-keys-tests/pom.xml index 8bd20599..0734666e 100644 --- a/redback-keys/redback-keys-tests/pom.xml +++ b/redback-keys/redback-keys-tests/pom.xml @@ -27,6 +27,9 @@ redback-keys-tests Redback :: Key Management Test Harness jar + + ${project.parent.parent.basedir} + org.apache.archiva.redback diff --git a/redback-policy/pom.xml b/redback-policy/pom.xml index cf6381fc..a5098e9f 100644 --- a/redback-policy/pom.xml +++ b/redback-policy/pom.xml @@ -29,6 +29,9 @@ redback-policy bundle + + ${project.parent.basedir} + Redback :: Policy diff --git a/redback-rbac/pom.xml b/redback-rbac/pom.xml index 54e7a1dd..8696e38e 100644 --- a/redback-rbac/pom.xml +++ b/redback-rbac/pom.xml @@ -27,6 +27,9 @@ redback-rbac Redback :: Role Based Access Control pom + + ${project.parent.basedir} + redback-rbac-model redback-rbac-providers diff --git a/redback-rbac/redback-rbac-model/pom.xml b/redback-rbac/redback-rbac-model/pom.xml index ed6219ae..bbdf94c4 100644 --- a/redback-rbac/redback-rbac-model/pom.xml +++ b/redback-rbac/redback-rbac-model/pom.xml @@ -29,6 +29,9 @@ redback-rbac-model bundle + + ${project.parent.parent.basedir} + Redback :: RBAC Model diff --git a/redback-rbac/redback-rbac-providers/pom.xml b/redback-rbac/redback-rbac-providers/pom.xml index 53a34ab4..a73baf02 100644 --- a/redback-rbac/redback-rbac-providers/pom.xml +++ b/redback-rbac/redback-rbac-providers/pom.xml @@ -27,6 +27,9 @@ redback-rbac-providers Redback :: RBAC Providers pom + + ${project.parent.parent.basedir} + redback-rbac-jpa redback-rbac-memory diff --git a/redback-rbac/redback-rbac-providers/redback-rbac-cached/pom.xml b/redback-rbac/redback-rbac-providers/redback-rbac-cached/pom.xml index bbec63ad..d7734714 100644 --- a/redback-rbac/redback-rbac-providers/redback-rbac-cached/pom.xml +++ b/redback-rbac/redback-rbac-providers/redback-rbac-cached/pom.xml @@ -29,6 +29,9 @@ redback-rbac-cached bundle + + ${project.parent.parent.parent.basedir} + Redback :: RBAC Provider :: Cached diff --git a/redback-rbac/redback-rbac-providers/redback-rbac-jpa/pom.xml b/redback-rbac/redback-rbac-providers/redback-rbac-jpa/pom.xml index 41b689ac..78c07f9d 100644 --- a/redback-rbac/redback-rbac-providers/redback-rbac-jpa/pom.xml +++ b/redback-rbac/redback-rbac-providers/redback-rbac-jpa/pom.xml @@ -29,6 +29,9 @@ redback-rbac-jpa jar + + ${project.parent.parent.parent.basedir} + Redback :: RBAC Provider :: JPA diff --git a/redback-rbac/redback-rbac-providers/redback-rbac-ldap/pom.xml b/redback-rbac/redback-rbac-providers/redback-rbac-ldap/pom.xml index 1f8982d3..86ce8eac 100644 --- a/redback-rbac/redback-rbac-providers/redback-rbac-ldap/pom.xml +++ b/redback-rbac/redback-rbac-providers/redback-rbac-ldap/pom.xml @@ -29,6 +29,9 @@ redback-rbac-ldap bundle + + ${project.parent.parent.parent.basedir} + Redback :: RBAC Provider :: Ldap diff --git a/redback-rbac/redback-rbac-providers/redback-rbac-memory/pom.xml b/redback-rbac/redback-rbac-providers/redback-rbac-memory/pom.xml index 9649dd9b..3c532502 100644 --- a/redback-rbac/redback-rbac-providers/redback-rbac-memory/pom.xml +++ b/redback-rbac/redback-rbac-providers/redback-rbac-memory/pom.xml @@ -29,6 +29,9 @@ redback-rbac-memory bundle + + ${project.parent.parent.parent.basedir} + Redback :: RBAC Provider :: Memory diff --git a/redback-rbac/redback-rbac-role-manager/pom.xml b/redback-rbac/redback-rbac-role-manager/pom.xml index 26efd160..a320ed8a 100644 --- a/redback-rbac/redback-rbac-role-manager/pom.xml +++ b/redback-rbac/redback-rbac-role-manager/pom.xml @@ -29,6 +29,9 @@ redback-rbac-role-manager bundle + + ${project.parent.parent.basedir} + Redback :: RBAC Role Manager diff --git a/redback-rbac/redback-rbac-tests/pom.xml b/redback-rbac/redback-rbac-tests/pom.xml index 1919292a..81225fd7 100644 --- a/redback-rbac/redback-rbac-tests/pom.xml +++ b/redback-rbac/redback-rbac-tests/pom.xml @@ -26,6 +26,9 @@ redback-rbac-tests Redback :: RBAC Test Framework + + ${project.parent.parent.basedir} + org.apache.archiva.redback diff --git a/redback-system/pom.xml b/redback-system/pom.xml index ef5a3f42..ee873911 100644 --- a/redback-system/pom.xml +++ b/redback-system/pom.xml @@ -29,6 +29,9 @@ redback-system bundle + + ${project.parent.basedir} + Redback :: Core System diff --git a/redback-users/pom.xml b/redback-users/pom.xml index 246f4fae..b854f53d 100644 --- a/redback-users/pom.xml +++ b/redback-users/pom.xml @@ -27,6 +27,9 @@ redback-users Redback :: User Management pom + + ${project.parent.basedir} + redback-users-api redback-users-providers diff --git a/redback-users/redback-users-api/pom.xml b/redback-users/redback-users-api/pom.xml index d7e6d618..e304a365 100644 --- a/redback-users/redback-users-api/pom.xml +++ b/redback-users/redback-users-api/pom.xml @@ -29,6 +29,9 @@ redback-users-api bundle + + ${project.parent.parent.basedir} + Redback :: User Management API diff --git a/redback-users/redback-users-providers/pom.xml b/redback-users/redback-users-providers/pom.xml index d101c950..7889413c 100644 --- a/redback-users/redback-users-providers/pom.xml +++ b/redback-users/redback-users-providers/pom.xml @@ -27,6 +27,9 @@ redback-users-providers Redback :: Users Providers pom + + ${project.parent.parent.basedir} + org.apache.archiva.redback diff --git a/redback-users/redback-users-providers/redback-users-cached/pom.xml b/redback-users/redback-users-providers/redback-users-cached/pom.xml index c0999510..b1fbbd17 100644 --- a/redback-users/redback-users-providers/redback-users-cached/pom.xml +++ b/redback-users/redback-users-providers/redback-users-cached/pom.xml @@ -29,6 +29,9 @@ redback-users-cached bundle + + ${project.parent.parent.parent.basedir} + Redback :: Users Provider :: Cached diff --git a/redback-users/redback-users-providers/redback-users-configurable/pom.xml b/redback-users/redback-users-providers/redback-users-configurable/pom.xml index e58ef72f..475c869c 100644 --- a/redback-users/redback-users-providers/redback-users-configurable/pom.xml +++ b/redback-users/redback-users-providers/redback-users-configurable/pom.xml @@ -29,6 +29,9 @@ redback-users-configurable bundle + + ${project.parent.parent.parent.basedir} + Redback :: Users Provider :: Configurable diff --git a/redback-users/redback-users-providers/redback-users-jpa/pom.xml b/redback-users/redback-users-providers/redback-users-jpa/pom.xml index 2db35bb2..239267d0 100644 --- a/redback-users/redback-users-providers/redback-users-jpa/pom.xml +++ b/redback-users/redback-users-providers/redback-users-jpa/pom.xml @@ -29,6 +29,9 @@ redback-users-jpa jar + + ${project.parent.parent.parent.basedir} + Redback :: Users Provider :: JPA diff --git a/redback-users/redback-users-providers/redback-users-ldap/pom.xml b/redback-users/redback-users-providers/redback-users-ldap/pom.xml index 86d66c70..a59d78ef 100644 --- a/redback-users/redback-users-providers/redback-users-ldap/pom.xml +++ b/redback-users/redback-users-providers/redback-users-ldap/pom.xml @@ -29,6 +29,9 @@ redback-users-ldap bundle + + ${project.parent.parent.parent.basedir} + Redback :: Users Provider :: LDAP diff --git a/redback-users/redback-users-providers/redback-users-memory/pom.xml b/redback-users/redback-users-providers/redback-users-memory/pom.xml index 52f9ded8..f854ce03 100644 --- a/redback-users/redback-users-providers/redback-users-memory/pom.xml +++ b/redback-users/redback-users-providers/redback-users-memory/pom.xml @@ -29,6 +29,9 @@ redback-users-memory bundle + + ${project.parent.parent.parent.basedir} + Redback :: Users Provider :: Memory diff --git a/redback-users/redback-users-tests/pom.xml b/redback-users/redback-users-tests/pom.xml index bc01f7ee..5aecc23e 100644 --- a/redback-users/redback-users-tests/pom.xml +++ b/redback-users/redback-users-tests/pom.xml @@ -26,6 +26,9 @@ redback-users-tests Redback :: User Tests + + ${project.parent.parent.basedir} +