Apache Archiva Redback Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
dependabot[bot] 477c8df913 Bump spring-core from 5.3.19 to 5.3.20 4 weeks ago
.github Bump actions/setup-java from 3.2.0 to 3.3.0 2 months ago
idea.run.configuration Moving rest utility classes to components 2 years ago
redback-authentication Bump port-allocator-maven-plugin from 1.1 to 1.2 8 months ago
redback-authorization Switching to generics for cache implementation 6 months ago
redback-common Switching to new ehcache version 6 months ago
redback-configuration Adding refresh token for authentication 2 years ago
redback-integrations do not use jakarta package 1 month ago
redback-keys Switching to new ehcache version 6 months ago
redback-policy Moving to jakarta libraries 2 years ago
redback-rbac Switching to new ehcache version 6 months ago
redback-system Fix for JDK11 dependencies 2 years ago
redback-users use jetty bom and simplify code (#38) 3 months ago
src Set OpenJPA logging to commons 3 years ago
.asf.yaml Adding .asf.yaml file 6 months ago
.gitattributes add .gitattributes file 8 years ago
.gitignore Ignore Netbeans artifacts 6 years ago
Jenkinsfile use maven_3.8.5 1 month ago
README.adoc Refactoring of role API and new Role V2 REST service 2 years ago
checkoutSite.sh Migrating to staging branch for site publish 3 years ago
deploySite.sh Using help plugin for config retrieval 3 years ago
git-sparse-checkout-pattern Changes for site git migration 4 years ago
pom.xml Bump spring-core from 5.3.19 to 5.3.20 4 weeks ago

README.adoc

Archiva Redback - Documentation
===============================
:toc:

== Update Information for 3.0

=== Database Schema Changes

==== org.apache.archiva.redback.rbac.Role

New fields:
id, modelId, isTemplateInstance, resource

Primary key changed from name to combined key id,name


== How to build and publish the pages for the archiva web content

This module and the children contain web content and project reports that can be published to the
archiva web site: https://archiva.apache.org

The web content parts of this module and submodules are published to the path

/redback/core

=== Use the script

There is a shell script +deploySite.sh+ which you can run to generate the site check and publish to
the remote repository. It works only on Linux, on other platforms you have to go the next section.

The script is interactive, it asks you to confirm the publish after generation of the staging part.

.Execute

./deploySite.sh

All arguments are appended to the mvn calls.

=== Run the mvn steps manually

==== Building the pages

You need enough free disk space to publish the web content. The archiva web site repository is big,
but the maven build will only checkout the necessary directories for this build (sparse checkout).

For all the commands you have to change to this archiva-modules directory:

cd archiva/archiva-modules

.The following creates the site to the staging folder

mvn clean site site:stage

The result can be checked in

archiva-modules/target/staging/ref/${project.version}

with your browser.

If you would like the use a local checkout of the archiva-web-content.git repository and not push directly
to the remote repository, you may add this parameter:

-DsiteRepositoryUrl=scm:git:file:///${path-to-your-local-archiva}/archiva-web-content.git

where +${path-to-your-local-archiva}+ is the path where a bare clone of the archiva-web-content.git is stored.

NOTE: You cannot use +mvn site:run+ because this will place the submodules into the same folder and
overwrite each other.

==== Publish the pages

.This command publishes to the git repository

mvn scm-publish:publish-scm

After publishing to the git repository the gitpubsub mechanism is transferring it to the HTTP server.

If you would like the use a local checkout of the archiva-web-content.git repository and not push directly
to the remote repository, you may add this parameter:

-DsiteRepositoryUrl=scm:git:file:///${path-to-your-local-archiva}/archiva-web-content.git


=== Some notes about the build process

A sparse checkout of the git repository will be created in

.site-content

but only, if the directory +.site-content/.git+ does not exist.