Skip to content

gematik/DEMIS-spring-parent


Spring Parent

Table of Contents
  1. About The Project
  2. Getting Started
  3. Security Policy
  4. Contributing
  5. License
  6. Contact

About The Project

This project serves as a parent POM for other demis spring boot based projects. It provides common dependency management and build plugin configurations for child projects. The main purpose of this repository is to centralize and standardize project settings, making it easier to manage dependencies and plugins across multiple projects.

Quality Gate

Quality Gate Status Vulnerabilities Bugs Code Smells Lines of Code

Release Notes

See ReleaseNotes for all information regarding the (newest) releases.

Getting Started

To use this parent POM in your Java projects, follow these steps:

In your child project's pom.xml, add the following lines to specify the parent POM:

<parent>
    <groupId>de.gematik.demise</groupId>
    <artifactId>spring-parent</artifactId>
    <version>x.y.z</version>
</parent>

Include the necessary dependencies and plugins in your child project's pom.xml. The parent POM defines common dependencies and build plugins that can be inherited by child projects.

Some dependencies are optional and encapsulated in profiles. To get these dependencies, you must activate the profile with an empty file (named like the profile) in the directory ".mvn-profiles" in your project. This approach has the advantage that the child project becomes no unnecessary dependencies.

Available profiles:

  1. docker
  2. dependencies-webservice
  3. dependencies-feign
  4. generate-openapi-docs
  5. generate-test-jar
  6. external

If you want to use the service-base library you have to add the following dependency

  <dependency>
      <groupId>de.gematik.demis</groupId>
      <artifactId>service-base</artifactId>
  </dependency>

Customize your child project's configurations as needed. You can override settings from the parent POM in your child project's pom.xml.

Build and manage your child projects with the configured settings from this parent POM.

Installation

To install the project to your local maven repository use

mvn clean install -P generate-test-jar

this will generate the test-jar that is used by at least Notification-Processing-Service. Hence you are able to test changes to the spring parent locally by updating the dependency one services based on this project.

Security Policy

If you want to see the security policy, please check our SECURITY.md.

Contributing

If you want to contribute, please check our CONTRIBUTING.md.

License

Copyright 2023-2025 gematik GmbH

EUROPEAN UNION PUBLIC LICENCE v. 1.2

EUPL © the European Union 2007, 2016

See the LICENSE for the specific language governing permissions and limitations under the License

Additional Notes and Disclaimer from gematik GmbH

  1. Copyright notice: Each published work result is accompanied by an explicit statement of the license conditions for use. These are regularly typical conditions in connection with open source or free software. Programs described/provided/linked here are free software, unless otherwise stated.
  2. Permission notice: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
    1. The copyright notice (Item 1) and the permission notice (Item 2) shall be included in all copies or substantial portions of the Software.
    2. The software is provided "as is" without warranty of any kind, either express or implied, including, but not limited to, the warranties of fitness for a particular purpose, merchantability, and/or non-infringement. The authors or copyright holders shall not be liable in any manner whatsoever for any damages or other claims arising from, out of or in connection with the software or the use or other dealings with the software, whether in an action of contract, tort, or otherwise.
    3. We take open source license compliance very seriously. We are always striving to achieve compliance at all times and to improve our processes. If you find any issues or have any suggestions or comments, or if you see any other ways in which we can improve, please reach out to: [email protected]
  3. Please note: Parts of this code may have been generated using AI-supported technology. Please take this into account, especially when troubleshooting, for security analyses and possible adjustments.

See LICENSE.

Contact

E-Mail to DEMIS Entwicklung

About

Parent pom for Spring Boot applications in DEMIS

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •