Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
  • release
  • master-interface-proto4
  • ozg-5634-ozgcloud-ingress
  • OZG-3322_connect_to_mongodb_over_tls
  • 2.19.0
  • 2.18.0
  • 2.17.0
  • 2.16.0
  • 2.15.0
  • 2.14.0
  • 2.13.0
  • 2.12.0
  • 2.11.0
  • 2.10.1
  • 2.10.0
  • 2.9.0
  • 2.8.0
  • 2.7.1
  • 2.7.0
  • 2.6.0
  • 2.5.1
  • 2.5.0
  • 2.4.0
  • 2.3.0
25 results

src

  • Clone with SSH
  • Clone with HTTPS
  • com.mycila# OzgCloud Common license

    This is a basic Maven-based project that can be used as license provider for all OzgCloud Projects

    It provides the the header and full text of the german EUPL Version 1.2 license

    Usage

    It is a library, meant to be included as a dependency on any project which may want to make use of it.

    To use it add

    <ozgcloud.license.version>1.4.0</ozgcloud.license.version>

    to the properties section of the pom.xml file.

    In the plugins section add

    <plugin>
    	<groupId>com.mycila</groupId>
    	<artifactId>license-maven-plugin</artifactId>
    	<version>4.1</version>
    	<configuration>
    		<licenseSets>
    			<licenseSet>
    				<header>license/eupl_v1_2_de/header.txt</header>
    				<excludes>
    					<exclude>**/README</exclude>
    					<exclude>src/test/resources/**</exclude>
    					<exclude>src/main/resources/**</exclude>
    					<exclude>pom.xml</exclude>
    				</excludes>
    			</licenseSet>
    		</licenseSets>
    	</configuration>
    	<dependencies>
            <dependency>
                <groupId>de.ozgcloud.common</groupId>
                <artifactId>ozgcloud-common-license</artifactId>
                <version>${ozgcloud.license.version}</version>
            </dependency>
        </dependencies>
    </plugin>

    To add or update the license header to file run

    mvn license:format

    To verify if there are files with missing lisence header run

    mvn license:check

    For more information about the usage see the Plugin Homepage

    License

    The project has been released under the EUPL License.