Skip to content
Snippets Groups Projects
pom.xml 6.72 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?xml version="1.0" encoding="UTF-8"?>
    
        Copyright (C) 2022 Das Land Schleswig-Holstein vertreten durch den
        Ministerpräsidenten des Landes Schleswig-Holstein
        Staatskanzlei
        Abteilung Digitalisierung und zentrales IT-Management der Landesregierung
    
    
        Lizenziert unter der EUPL, Version 1.2 oder - sobald
        diese von der Europäischen Kommission genehmigt wurden -
        Folgeversionen der EUPL ("Lizenz");
        Sie dürfen dieses Werk ausschließlich gemäß
        dieser Lizenz nutzen.
        Eine Kopie der Lizenz finden Sie hier:
    
        https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
    
        Sofern nicht durch anwendbare Rechtsvorschriften
        gefordert oder in schriftlicher Form vereinbart, wird
        die unter der Lizenz verbreitete Software "so wie sie
        ist", OHNE JEGLICHE GEWÄHRLEISTUNG ODER BEDINGUNGEN -
        ausdrücklich oder stillschweigend - verbreitet.
        Die sprachspezifischen Genehmigungen und Beschränkungen
        unter der Lizenz sind dem Lizenztext zu entnehmen.
    
    -->
    
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    
    
    	<modelVersion>4.0.0</modelVersion>
    
    	<parent>
    
    		<groupId>de.ozgcloud.eingang</groupId>
    		<artifactId>eingang-manager</artifactId>
    
    OZGCloud's avatar
    OZGCloud committed
    		<version>2.5.0</version>
    
    OZGCloud's avatar
    OZGCloud committed
    		<relativePath>../</relativePath>
    
    	</parent>
    
    	<artifactId>intelliform-adapter</artifactId>
    
    	<name>Eingangs Adapter - intelliform</name>
    
    	<description>IntelliForm-Adapter </description>
    
    	<properties>
    		<spring-boot.build-image.imageName>docker.ozg-sh.de/intelliform-adapter:build-latest</spring-boot.build-image.imageName>
    	</properties>
    
    		<!-- own projects -->
    
    			<groupId>de.ozgcloud.eingang</groupId>
    
    			<artifactId>common</artifactId>
    
    			<groupId>de.ozgcloud.eingang</groupId>
    
    			<artifactId>router</artifactId>
    		</dependency>
    
    			<groupId>de.ozgcloud.eingang</groupId>
    
    			<artifactId>semantik-adapter</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-web-services</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-actuator</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.jsoup</groupId>
    			<artifactId>jsoup</artifactId>
    		</dependency>
    
    
    		<!-- tools -->
    		<!-- commons -->
    		<dependency>
    			<groupId>org.apache.commons</groupId>
    			<artifactId>commons-lang3</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.mapstruct</groupId>
    			<artifactId>mapstruct</artifactId>
    		</dependency>
    
    		<!-- Dev -->
    		<dependency>
    			<groupId>org.projectlombok</groupId>
    			<artifactId>lombok</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-devtools</artifactId>
    			<scope>runtime</scope>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-configuration-processor</artifactId>
    			<optional>true</optional>
    		</dependency>
    
    
    		<!-- tag::springws[] -->
    		<dependency>
    			<groupId>wsdl4j</groupId>
    			<artifactId>wsdl4j</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.apache.ws.xmlschema</groupId>
    			<artifactId>xmlschema-core</artifactId>
    		</dependency>
    
    		<!-- end::springws[] -->
    
    		<!-- Test -->
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-test</artifactId>
    			<scope>test</scope>
    			<exclusions>
    				<exclusion>
    					<groupId>org.junit.vintage</groupId>
    					<artifactId>junit-vintage-engine</artifactId>
    				</exclusion>
    			</exclusions>
    		</dependency>
    		<dependency>
    			<groupId>org.junit.jupiter</groupId>
    			<artifactId>junit-jupiter-engine</artifactId>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.junit.jupiter</groupId>
    			<artifactId>junit-jupiter-params</artifactId>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.mockito</groupId>
    			<artifactId>mockito-core</artifactId>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.mockito</groupId>
    			<artifactId>mockito-junit-jupiter</artifactId>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.assertj</groupId>
    			<artifactId>assertj-core</artifactId>
    			<scope>test</scope>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework.ws</groupId>
    			<artifactId>spring-ws-test</artifactId>
    			<scope>test</scope>
    		</dependency>
    
    			<groupId>de.ozgcloud.eingang</groupId>
    
    			<artifactId>common</artifactId>
    			<type>test-jar</type>
    			<scope>test</scope>
    		</dependency>
    
    
    	</dependencies>
    
    	<build>
    		<finalName>${project.artifactId}</finalName>
    		<plugins>
    			<!-- tag::wsdl[] -->
    			<plugin>
    
    OZGCloud's avatar
    OZGCloud committed
    				<groupId>com.evolvedbinary.maven.jvnet</groupId>
            		<artifactId>jaxb30-maven-plugin</artifactId>
            		  <executions>
    		          	<execution>
    		            <goals>
    		              <goal>generate</goal>
    		            </goals>
    		          </execution>
    		        </executions>
    
    OZGCloud's avatar
    OZGCloud committed
    					<strict>false</strict>
    
    					<schemaLanguage>WSDL</schemaLanguage>
    
    					<generatePackage>de.ozgcloud.eingang.intelliform</generatePackage>
    
    					<schemas>
    						<schema>
    							<fileset>
    								<directory>${basedir}/src/main/resources/intelliform</directory>
    								<includes>
    									<include>*.wsdl</include>
    								</includes>
    							</fileset>
    						</schema>
    					</schemas>
    				</configuration>
    			</plugin>
    			<!-- end::wsdl[] -->
    
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-compiler-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<groupId>org.springframework.boot</groupId>
    				<artifactId>spring-boot-maven-plugin</artifactId>
    
    			</plugin>
    
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-failsafe-plugin</artifactId>
    			</plugin>
    
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-surefire-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<groupId>org.jacoco</groupId>
    				<artifactId>jacoco-maven-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<groupId>pl.project13.maven</groupId>
    				<artifactId>git-commit-id-plugin</artifactId>
    			</plugin>
    
    	<profiles>
    		<profile>
    			<id>ci-build</id>
    			<build>
    				<plugins>
    					<plugin>
    						<groupId>org.springframework.boot</groupId>
    						<artifactId>spring-boot-maven-plugin</artifactId>
    						<executions>
    							<execution>
    								<id>build-image</id>
    								<phase>install</phase>
    								<goals>
    									<goal>build-image</goal>
    								</goals>
    							</execution>
    						</executions>
    					</plugin>
    				</plugins>
    			</build>
    		</profile>
    	</profiles>