Skip to content
Projets

À propos

A framework to develop point of sales applications, powered by Java and Spring Boot

Développement web et applicatif

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Salespoint Framework

Build and deploy Maven artifacts

Prerequisites

  • OpenJDK 21

  • Git

Building the project

Building the project
$ git clone https://github.com/st-tu-dresden/salespoint
$ cd salespoint
$ ./mvnw clean install

Documentation

The reference documentation is written in Asciidoc and built using Asciidoctor. The main documentation source file is located in src/main/asciidoc.

To build the reference documentation simply run ./mvnw -Pdocs package on the command line. This generates the following HTML files:

  • the Salespoint website in target/generated-docs/index.html.

  • the Salespoint reference in target/generated-docs/salespoint-reference.html.

Deployment

To deploy artifacts to the salespoint repository, simply run ./mvnw clean deploy. This requires your settings.xml (located in ~/.m2 ) to contain a server definition with the credentials to access the Salespoint server via SFTP:

<server>
  <id>salespoint</id>
  <username>…</username>
  <password>…</password>
</server>

To deploy the website and reference documentation, run ./mvnw -Pdocs site:deploy.

Release

  1. Make sure all tickets are closed, except the release one.

  2. Tweak ChangelogCreator (in src/test/java) to point to the milestone to be released. Run the creator. Copy console output into src/main/asciidoc/site/changelog.adoc.

  3. Update version information index.adoc (in src/main/asciidoc/site).

  4. Commit as GH-??? - Prepare release $version.. If this was on a maintainance branch, also cherry-pick this commit to main and resolve any conflicts.

  5. Run ./mvnw release:prepare.

  6. Edit commits to match commit message format, re-create tag.

  7. Push changes & tag.

  8. Check out tag and run ./mvnw clean deploy -Prelease -DskipTests.

  9. Check out tag and run ./mvnw clean package site:deploy -Pdocs,release.

Explorer des projets similaires

Chargement…