Skip to content
Snippets Groups Projects
pom.xml 5.3 KiB
Newer Older
  • Learn to ignore specific revisions
  • <?xml version="1.0"?>
    
    <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.12.0</version>
    
    	</parent>
    	<artifactId>xta-adapter</artifactId>
    	<name>Eingangs Adapter - XTA</name>
    	<packaging>jar</packaging>
    
    OZGCloud's avatar
    OZGCloud committed
    	
    
    OZGCloud's avatar
    OZGCloud committed
    	<properties>
    		<spring-boot.build-image.imageName>docker.ozg-sh.de/xta-adapter:build-latest</spring-boot.build-image.imageName>
    	</properties>
    
    OZGCloud's avatar
    OZGCloud committed
    	
    
    	<dependencies>
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-web-services</artifactId>
    			<exclusions>
    				<exclusion>
    					<groupId>org.springframework.boot</groupId>
    					<artifactId>spring-boot-starter-tomcat</artifactId>
    				</exclusion>
    			</exclusions>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework.ws</groupId>
    			<artifactId>spring-ws-security</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-log4j2</artifactId>
    		</dependency>
    
    		<!-- own projects -->
    		<dependency>
    
    			<groupId>de.ozgcloud.eingang</groupId>
    
    			<artifactId>common</artifactId>
    		</dependency>
    
    		<dependency>
    
    			<groupId>de.ozgcloud.eingang</groupId>
    
    			<artifactId>semantik-adapter</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>de.ozgcloud.eingang</groupId>
    			<artifactId>fim-adapter</artifactId>
    		</dependency>
    
    		<!--mapstruct-->
    		<dependency>
    			<groupId>org.mapstruct</groupId>
    			<artifactId>mapstruct</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework.ws</groupId>
    			<artifactId>spring-ws-core</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework.ws</groupId>
    			<artifactId>spring-ws-support</artifactId>
    		</dependency>
    
    		<dependency>
    			<groupId>org.springframework.ws</groupId>
    			<artifactId>spring-ws-test</artifactId>
    			<scope>test</scope>
    		</dependency>
    
    		<!-- JAXB API only -->
    
    		<dependency>
    			<groupId>jakarta.xml.bind</groupId>
    			<artifactId>jakarta.xml.bind-api</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>com.sun.xml.bind</groupId>
    			<artifactId>jaxb-impl</artifactId>
    		</dependency>
    
    		<!-- Dev -->
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-devtools</artifactId>
    			<scope>runtime</scope>
    			<optional>true</optional>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-configuration-processor</artifactId>
    			<optional>true</optional>
    		</dependency>
    
    		<!-- Test -->
    
    		<dependency>
    			<groupId>de.ozgcloud.eingang</groupId>
    			<artifactId>common</artifactId>
    			<type>test-jar</type>
    			<scope>test</scope>
    		</dependency>
    
    OZGCloud's avatar
    OZGCloud committed
    	
    
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-compiler-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<groupId>org.springframework.boot</groupId>
    				<artifactId>spring-boot-maven-plugin</artifactId>
    
    				<configuration>
    					<profiles>local,sec</profiles>
    				</configuration>
    
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-dependency-plugin</artifactId>
    				<executions>
    					<execution>
    						<goals>
    							<goal>unpack</goal>
    						</goals>
    						<configuration>
    							<artifactItems>
    								<artifactItem>
    									<groupId>de.ozgcloud.eingang</groupId>
    									<artifactId>fim-adapter</artifactId>
    									<version>${project.version}</version>
    									<includes>**/*.yml,**/*.xml,**/*.xsd</includes>
    								</artifactItem>
    							</artifactItems>
    							<outputDirectory>${project.build.directory}/classes/</outputDirectory>
    						</configuration>
    					</execution>
    				</executions>
    			</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>
    
    OZGCloud's avatar
    OZGCloud committed
    			
    
    				<groupId>org.codehaus.mojo</groupId>
    				<artifactId>jaxb2-maven-plugin</artifactId>
    				<executions>
    					<execution>
    
    						<id>wsdl1</id>
    
    						<goals>
    							<goal>xjc</goal>
    						</goals>
    						<configuration>
    
    							<sourceType>wsdl</sourceType>
    							<sources>
    								<source>${basedir}/src/main/resources/XTA.wsdl</source>
    							</sources>
    							<clearOutputDir>false</clearOutputDir>
    							<arguments>-wsdl</arguments>
    
    						</configuration>
    					</execution>
    				</executions>
    
    OZGCloud's avatar
    OZGCloud committed
    	<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>
    
    </project>