Nincs leírás

Martin Morgenstern 946e04d5c8 #349 - Use version 1.1.0-RC2 consistently for all moduliths deps. 3 éve
.github 0c5783bd5d #331 - Avoid deploying tags as we need to use a dedicated profile for that. 4 éve
doc 77c5b1abda #5 - Added Buildsystem Maven to documentation. 10 éve
etc 22d0c2dfa1 #25 - Overhauled domain code. 10 éve
src 879a0bf158 #347 - Prepare release 7.3.1. 3 éve
.gitignore 1ddf413010 #229 - Add .factorypath to .gitignore. 6 éve
.sonarcloud.properties ea35458614 #317 - Add configuration for Sonarcloud. 4 éve
LICENSE ccc8e807d9 #169 - Added license file to project root. 7 éve
Salespoint.sonargraph 5450ed1889 #150 - Updated Sonargraph architecture description. 8 éve
application.yml 49df4ffedb #331 - Added configuration to generate changelog for GitHub. 4 éve
lombok.config ff9d07256f #328 - Renamed …Manager types to …Management. 4 éve
pom.xml 946e04d5c8 #349 - Use version 1.1.0-RC2 consistently for all moduliths deps. 3 éve
readme.adoc 4b11cdd15f #318 - Switch to GitHub Actions status badge. 4 éve

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. Commit as `#?? - Prepare release $version.`.
4. Run `mvn release:prepare`.
5. Edit commits to match commit message format, re-create tag.
6. Push changes & tag.
7. Check out tag.
8. Run `mvn clean deploy -Prelease -DskipTests && mvn site:deploy -Pdocs`.