Keine Beschreibung

Oliver Drotbohm 33667baf70 #410 - Prepare next development iteration. vor 2 Jahren
.github 15ab3dcb0c #398 - Allow manual triggering documentation publication. vor 2 Jahren
.mvn a072951907 #372 - Add Maven Wrapper. vor 3 Jahren
doc 77c5b1abda #5 - Added Buildsystem Maven to documentation. vor 10 Jahren
etc 22d0c2dfa1 #25 - Overhauled domain code. vor 10 Jahren
src e9909ff6d3 #410 - Update website for release. vor 2 Jahren
.gitignore fc2ddb5bed #361 - Add IntelliJ IDEA project files to .gitignore. vor 3 Jahren
.sonarcloud.properties ea35458614 #317 - Add configuration for Sonarcloud. vor 4 Jahren
LICENSE ccc8e807d9 #169 - Added license file to project root. vor 7 Jahren
Salespoint.sonargraph 5450ed1889 #150 - Updated Sonargraph architecture description. vor 8 Jahren
application.yml 49df4ffedb #331 - Added configuration to generate changelog for GitHub. vor 4 Jahren
lombok.config ff9d07256f #328 - Renamed …Manager types to …Management. vor 4 Jahren
mvnw a072951907 #372 - Add Maven Wrapper. vor 3 Jahren
mvnw.cmd a072951907 #372 - Add Maven Wrapper. vor 3 Jahren
pom.xml 33667baf70 #410 - Prepare next development iteration. vor 2 Jahren
readme.adoc a94dda2ed4 #348 - Improve the release instructions in the README. vor 3 Jahren

readme.adoc

= Salespoint Framework

image:https://github.com/st-tu-dresden/salespoint/workflows/CI%20build/badge.svg["CI Build", link="https://github.com/st-tu-dresden/salespoint/actions"]

== Prerequisites

- Java 13
- Git
- Maven 3.x

== Building the project

.Building the project
[source, bash]
----
$ git clone https://github.com/st-tu-dresden/salespoint
$ cd salespoint
$ mvn 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 `mvn -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 `mvn 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:

[source, xml]
----

salespoint



----

To deploy the website and reference documentation, run `mvn -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 `#?? - Prepare release $version.`. If this was on a maintainance branch, also cherry-pick this commit to `main` and resolve any conflicts.
5. Run `mvn release:prepare`.
6. Edit commits to match commit message format, re-create tag.
7. Push changes & tag.
8. Check out tag and run `mvn clean deploy -Prelease -DskipTests`.
10. Check out `main` and run `mvn clean package -Pdocs -Prelease`.
11. Again, check out tag and run `mvn site:deploy -Pdocs`.