From: Olivier Lamy Date: Thu, 3 Nov 2011 23:46:59 +0000 (+0000) Subject: use an artifact with test resources from redback to avoid too much file duplication... X-Git-Tag: archiva-1.4-M2~162 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=159806983dd33093d2bae4c7e019e2750f0c4169;p=archiva.git use an artifact with test resources from redback to avoid too much file duplication redback-core.xml git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197359 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-indexer/pom.xml b/archiva-modules/archiva-base/archiva-indexer/pom.xml index c8ce37ab9..2c1d6c1d2 100644 --- a/archiva-modules/archiva-base/archiva-indexer/pom.xml +++ b/archiva-modules/archiva-base/archiva-indexer/pom.xml @@ -141,6 +141,11 @@ redback-users-memory test + + org.codehaus.redback + redback-common-test-resources + test + diff --git a/archiva-modules/archiva-base/archiva-indexer/src/test/resources/META-INF/redback/redback-core.xml b/archiva-modules/archiva-base/archiva-indexer/src/test/resources/META-INF/redback/redback-core.xml deleted file mode 100644 index 751ac5c8e..000000000 --- a/archiva-modules/archiva-base/archiva-indexer/src/test/resources/META-INF/redback/redback-core.xml +++ /dev/null @@ -1,247 +0,0 @@ - - - - 1.0.0 - - - System - Roles that apply system-wide, across all of the applications - 1.0.0 - - - global - * - true - global resource implies full access for authorization - - - username - ${username} - true - replaced with the username of the principal at authorization check time - - - - - configuration-edit - configuration-edit - edit configuration - true - - - user-management-user-create - user-management-user-create - create user - true - - - user-management-user-edit - user-management-user-edit - edit user - true - - - user-management-user-role - user-management-user-role - user roles - true - - - user-management-user-delete - user-management-user-delete - delete user - true - - - user-management-user-list - user-management-user-list - list users - true - - - user-management-role-grant - user-management-role-grant - grant role - true - - - user-management-role-drop - user-management-role-drop - drop role - true - - - user-management-rbac-admin - user-management-rbac-admin - administer rbac - true - - - guest-access - guest-access - access guest - true - - - user-management-manage-data - user-management-manage-data - manage data - true - - - - - system-administrator - System Administrator - true - true - - - edit-redback-configuration - Edit Redback Configuration - configuration-edit - global - true - - - manage-rbac-setup - User RBAC Management - user-management-rbac-admin - global - true - - - manage-rbac-data - RBAC Manage Data - user-management-manage-data - global - true - - - - user-administrator - - - - user-administrator - User Administrator - true - true - - - drop-roles-for-anyone - Drop Roles for Anyone - user-management-role-drop - global - true - - - grant-roles-for-anyone - Grant Roles for Anyone - user-management-role-grant - global - true - - - user-create - Create Users - user-management-user-create - global - true - - - user-delete - Delete Users - user-management-user-delete - global - true - - - user-edit - Edit Users - user-management-user-edit - global - true - - - access-users-roles - Access Users Roles - user-management-user-role - global - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - edit-users-list - edit users list - true - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - registered-user - Registered User - true - true - - - edit-user-by-username - Edit User Data by Username - user-management-user-edit - username - true - - - - - guest - Guest - true - true - - - guest-permission - Guest Permission - guest-access - global - true - - - - - - - \ No newline at end of file diff --git a/archiva-modules/archiva-base/archiva-proxy/pom.xml b/archiva-modules/archiva-base/archiva-proxy/pom.xml index 821197654..25c9d5fab 100644 --- a/archiva-modules/archiva-base/archiva-proxy/pom.xml +++ b/archiva-modules/archiva-base/archiva-proxy/pom.xml @@ -143,6 +143,11 @@ org.apache.archiva archiva-security-common + + org.codehaus.redback + redback-common-test-resources + test + diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/resources/META-INF/redback/redback-core.xml b/archiva-modules/archiva-base/archiva-proxy/src/test/resources/META-INF/redback/redback-core.xml deleted file mode 100644 index c74e47dbe..000000000 --- a/archiva-modules/archiva-base/archiva-proxy/src/test/resources/META-INF/redback/redback-core.xml +++ /dev/null @@ -1,232 +0,0 @@ - - - - 1.0.0 - - - System - Roles that apply system-wide, across all of the applications - 1.0.0 - - - global - * - true - global resource implies full access for authorization - - - username - ${username} - true - replaced with the username of the principal at authorization check time - - - - - configuration-edit - configuration-edit - edit configuration - true - - - user-management-user-create - user-management-user-create - create user - true - - - user-management-user-edit - user-management-user-edit - edit user - true - - - user-management-user-role - user-management-user-role - user roles - true - - - user-management-user-delete - user-management-user-delete - delete user - true - - - user-management-user-list - user-management-user-list - list users - true - - - user-management-role-grant - user-management-role-grant - grant role - true - - - user-management-role-drop - user-management-role-drop - drop role - true - - - user-management-rbac-admin - user-management-rbac-admin - administer rbac - true - - - guest-access - guest-access - access guest - true - - - user-management-manage-data - user-management-manage-data - manage data - true - - - - - system-administrator - System Administrator - true - true - - - edit-redback-configuration - Edit Redback Configuration - configuration-edit - global - true - - - manage-rbac-setup - User RBAC Management - user-management-rbac-admin - global - true - - - manage-rbac-data - RBAC Manage Data - user-management-manage-data - global - true - - - - user-administrator - - - - user-administrator - User Administrator - true - true - - - drop-roles-for-anyone - Drop Roles for Anyone - user-management-role-drop - global - true - - - grant-roles-for-anyone - Grant Roles for Anyone - user-management-role-grant - global - true - - - user-create - Create Users - user-management-user-create - global - true - - - user-delete - Delete Users - user-management-user-delete - global - true - - - user-edit - Edit Users - user-management-user-edit - global - true - - - access-users-roles - Access Users Roles - user-management-user-role - global - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - registered-user - Registered User - true - true - - - edit-user-by-username - Edit User Data by Username - user-management-user-edit - username - true - - - - - guest - Guest - true - true - - - guest-permission - Guest Permission - guest-access - global - true - - - - - - - \ No newline at end of file diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml index c1b1b3b67..6af38b626 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml @@ -194,6 +194,12 @@ test + + org.codehaus.redback + redback-common-test-resources + test + + diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/META-INF/redback/redback-core.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/META-INF/redback/redback-core.xml deleted file mode 100644 index c74e47dbe..000000000 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/META-INF/redback/redback-core.xml +++ /dev/null @@ -1,232 +0,0 @@ - - - - 1.0.0 - - - System - Roles that apply system-wide, across all of the applications - 1.0.0 - - - global - * - true - global resource implies full access for authorization - - - username - ${username} - true - replaced with the username of the principal at authorization check time - - - - - configuration-edit - configuration-edit - edit configuration - true - - - user-management-user-create - user-management-user-create - create user - true - - - user-management-user-edit - user-management-user-edit - edit user - true - - - user-management-user-role - user-management-user-role - user roles - true - - - user-management-user-delete - user-management-user-delete - delete user - true - - - user-management-user-list - user-management-user-list - list users - true - - - user-management-role-grant - user-management-role-grant - grant role - true - - - user-management-role-drop - user-management-role-drop - drop role - true - - - user-management-rbac-admin - user-management-rbac-admin - administer rbac - true - - - guest-access - guest-access - access guest - true - - - user-management-manage-data - user-management-manage-data - manage data - true - - - - - system-administrator - System Administrator - true - true - - - edit-redback-configuration - Edit Redback Configuration - configuration-edit - global - true - - - manage-rbac-setup - User RBAC Management - user-management-rbac-admin - global - true - - - manage-rbac-data - RBAC Manage Data - user-management-manage-data - global - true - - - - user-administrator - - - - user-administrator - User Administrator - true - true - - - drop-roles-for-anyone - Drop Roles for Anyone - user-management-role-drop - global - true - - - grant-roles-for-anyone - Grant Roles for Anyone - user-management-role-grant - global - true - - - user-create - Create Users - user-management-user-create - global - true - - - user-delete - Delete Users - user-management-user-delete - global - true - - - user-edit - Edit Users - user-management-user-edit - global - true - - - access-users-roles - Access Users Roles - user-management-user-role - global - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - registered-user - Registered User - true - true - - - edit-user-by-username - Edit User Data by Username - user-management-user-edit - username - true - - - - - guest - Guest - true - true - - - guest-permission - Guest Permission - guest-access - global - true - - - - - - - \ No newline at end of file diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml index 48f8eb5ff..959af941c 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml @@ -119,6 +119,13 @@ wagon-http provided + + + org.codehaus.redback + redback-common-test-resources + test + + diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/resources/META-INF/redback/redback-core.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/resources/META-INF/redback/redback-core.xml deleted file mode 100644 index 751ac5c8e..000000000 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/resources/META-INF/redback/redback-core.xml +++ /dev/null @@ -1,247 +0,0 @@ - - - - 1.0.0 - - - System - Roles that apply system-wide, across all of the applications - 1.0.0 - - - global - * - true - global resource implies full access for authorization - - - username - ${username} - true - replaced with the username of the principal at authorization check time - - - - - configuration-edit - configuration-edit - edit configuration - true - - - user-management-user-create - user-management-user-create - create user - true - - - user-management-user-edit - user-management-user-edit - edit user - true - - - user-management-user-role - user-management-user-role - user roles - true - - - user-management-user-delete - user-management-user-delete - delete user - true - - - user-management-user-list - user-management-user-list - list users - true - - - user-management-role-grant - user-management-role-grant - grant role - true - - - user-management-role-drop - user-management-role-drop - drop role - true - - - user-management-rbac-admin - user-management-rbac-admin - administer rbac - true - - - guest-access - guest-access - access guest - true - - - user-management-manage-data - user-management-manage-data - manage data - true - - - - - system-administrator - System Administrator - true - true - - - edit-redback-configuration - Edit Redback Configuration - configuration-edit - global - true - - - manage-rbac-setup - User RBAC Management - user-management-rbac-admin - global - true - - - manage-rbac-data - RBAC Manage Data - user-management-manage-data - global - true - - - - user-administrator - - - - user-administrator - User Administrator - true - true - - - drop-roles-for-anyone - Drop Roles for Anyone - user-management-role-drop - global - true - - - grant-roles-for-anyone - Grant Roles for Anyone - user-management-role-grant - global - true - - - user-create - Create Users - user-management-user-create - global - true - - - user-delete - Delete Users - user-management-user-delete - global - true - - - user-edit - Edit Users - user-management-user-edit - global - true - - - access-users-roles - Access Users Roles - user-management-user-role - global - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - edit-users-list - edit users list - true - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - registered-user - Registered User - true - true - - - edit-user-by-username - Edit User Data by Username - user-management-user-edit - username - true - - - - - guest - Guest - true - true - - - guest-permission - Guest Permission - guest-access - global - true - - - - - - - \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-security/pom.xml b/archiva-modules/archiva-web/archiva-security/pom.xml index 23c1685bc..86f2fe1d7 100644 --- a/archiva-modules/archiva-web/archiva-security/pom.xml +++ b/archiva-modules/archiva-web/archiva-security/pom.xml @@ -147,6 +147,11 @@ spring-test test + + org.codehaus.redback + redback-common-test-resources + test + diff --git a/archiva-modules/archiva-web/archiva-security/src/test/resources/META-INF/redback/redback-core.xml b/archiva-modules/archiva-web/archiva-security/src/test/resources/META-INF/redback/redback-core.xml deleted file mode 100644 index e810f44dd..000000000 --- a/archiva-modules/archiva-web/archiva-security/src/test/resources/META-INF/redback/redback-core.xml +++ /dev/null @@ -1,222 +0,0 @@ - - - 1.0.0 - - - Redback XWork Integration Security Core - 1.0 - - - global - * - true - - global resource implies full access for authorization - - - - username - ${username} - true - - replaced with the username of the principal at authorization - check time - - - - - - configuration-edit - configuration-edit - edit configuration - true - - - user-management-user-create - user-management-user-create - create user - true - - - user-management-user-edit - user-management-user-edit - edit user - true - - - user-management-user-role - user-management-user-role - user roles - true - - - user-management-user-delete - user-management-user-delete - delete user - true - - - user-management-user-list - user-management-user-list - list users - true - - - user-management-role-grant - user-management-role-grant - grant role - true - - - user-management-role-drop - user-management-role-drop - drop role - true - - - user-management-rbac-admin - user-management-rbac-admin - administer rbac - true - - - guest-access - guest-access - access guest - true - - - - - system-administrator - System Administrator - true - true - - - edit-redback-configuration - Edit Redback Configuration - configuration-edit - global - true - - - manage-rbac-setup - User RBAC Management - user-management-rbac-admin - global - true - - - - user-administrator - - - - user-administrator - User Administrator - true - true - - - drop-roles-for-anyone - Drop Roles for Anyone - user-management-role-drop - global - true - - - grant-roles-for-anyone - Grant Roles for Anyone - user-management-role-grant - global - true - - - user-create - Create Users - user-management-user-create - global - true - - - user-delete - Delete Users - user-management-user-delete - global - true - - - user-edit - Edit Users - user-management-user-edit - global - true - - - access-users-roles - Access Users Roles - user-management-user-role - global - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - registered-user - Registered User - true - true - - - edit-user-by-username - Edit User Data by Username - user-management-user-edit - username - true - - - - - guest - Guest - true - true - - - guest-permission - Guest Permission - guest-access - global - true - - - - - - - diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/pom.xml b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/pom.xml index 3978d9e8b..457591ab8 100644 --- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/pom.xml +++ b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/pom.xml @@ -128,6 +128,11 @@ org.apache.derby derby + + org.codehaus.redback + redback-common-test-resources + test + diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/src/test/resources/META-INF/redback/redback-core.xml b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/src/test/resources/META-INF/redback/redback-core.xml deleted file mode 100644 index 549247997..000000000 --- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-security/src/test/resources/META-INF/redback/redback-core.xml +++ /dev/null @@ -1,228 +0,0 @@ - - - 1.0.0 - - - Redback XWork Integration Security Core - 1.0 - - - global - * - true - - global resource implies full access for authorization - - - - username - ${username} - true - - replaced with the username of the principal at authorization - check time - - - - - - configuration-edit - configuration-edit - edit configuration - true - - - user-management-user-create - user-management-user-create - create user - true - - - user-management-user-edit - user-management-user-edit - edit user - true - - - user-management-user-role - user-management-user-role - user roles - true - - - user-management-user-delete - user-management-user-delete - delete user - true - - - user-management-user-list - user-management-user-list - list users - true - - - user-management-role-grant - user-management-role-grant - grant role - true - - - user-management-role-drop - user-management-role-drop - drop role - true - - - user-management-rbac-admin - user-management-rbac-admin - administer rbac - true - - - guest-access - guest-access - access guest - true - - - add-repository - add-repository - add repository - true - - - - - system-administrator - System Administrator - true - true - - - edit-redback-configuration - Edit Redback Configuration - configuration-edit - global - true - - - manage-rbac-setup - User RBAC Management - user-management-rbac-admin - global - true - - - - user-administrator - - - - user-administrator - User Administrator - true - true - - - drop-roles-for-anyone - Drop Roles for Anyone - user-management-role-drop - global - true - - - grant-roles-for-anyone - Grant Roles for Anyone - user-management-role-grant - global - true - - - user-create - Create Users - user-management-user-create - global - true - - - user-delete - Delete Users - user-management-user-delete - global - true - - - user-edit - Edit Users - user-management-user-edit - global - true - - - access-users-roles - Access Users Roles - user-management-user-role - global - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - registered-user - Registered User - true - true - - - edit-user-by-username - Edit User Data by Username - user-management-user-edit - username - true - - - - - guest - Guest - true - true - - - guest-permission - Guest Permission - guest-access - global - true - - - - - - - diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-services/pom.xml b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-services/pom.xml index 45efa378f..322d8e91b 100644 --- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-services/pom.xml +++ b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-services/pom.xml @@ -142,6 +142,11 @@ redback-users-memory test + + org.codehaus.redback + redback-common-test-resources + test + diff --git a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-services/src/test/resources/META-INF/redback/redback-core.xml b/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-services/src/test/resources/META-INF/redback/redback-core.xml deleted file mode 100644 index 751ac5c8e..000000000 --- a/archiva-modules/archiva-web/archiva-xmlrpc/archiva-xmlrpc-services/src/test/resources/META-INF/redback/redback-core.xml +++ /dev/null @@ -1,247 +0,0 @@ - - - - 1.0.0 - - - System - Roles that apply system-wide, across all of the applications - 1.0.0 - - - global - * - true - global resource implies full access for authorization - - - username - ${username} - true - replaced with the username of the principal at authorization check time - - - - - configuration-edit - configuration-edit - edit configuration - true - - - user-management-user-create - user-management-user-create - create user - true - - - user-management-user-edit - user-management-user-edit - edit user - true - - - user-management-user-role - user-management-user-role - user roles - true - - - user-management-user-delete - user-management-user-delete - delete user - true - - - user-management-user-list - user-management-user-list - list users - true - - - user-management-role-grant - user-management-role-grant - grant role - true - - - user-management-role-drop - user-management-role-drop - drop role - true - - - user-management-rbac-admin - user-management-rbac-admin - administer rbac - true - - - guest-access - guest-access - access guest - true - - - user-management-manage-data - user-management-manage-data - manage data - true - - - - - system-administrator - System Administrator - true - true - - - edit-redback-configuration - Edit Redback Configuration - configuration-edit - global - true - - - manage-rbac-setup - User RBAC Management - user-management-rbac-admin - global - true - - - manage-rbac-data - RBAC Manage Data - user-management-manage-data - global - true - - - - user-administrator - - - - user-administrator - User Administrator - true - true - - - drop-roles-for-anyone - Drop Roles for Anyone - user-management-role-drop - global - true - - - grant-roles-for-anyone - Grant Roles for Anyone - user-management-role-grant - global - true - - - user-create - Create Users - user-management-user-create - global - true - - - user-delete - Delete Users - user-management-user-delete - global - true - - - user-edit - Edit Users - user-management-user-edit - global - true - - - access-users-roles - Access Users Roles - user-management-user-role - global - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - edit-users-list - edit users list - true - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - registered-user - Registered User - true - true - - - edit-user-by-username - Edit User Data by Username - user-management-user-edit - username - true - - - - - guest - Guest - true - true - - - guest-permission - Guest Permission - guest-access - global - true - - - - - - - \ No newline at end of file