Skip to content
Snippets Groups Projects
pom.xml 2.46 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.5.0</version>
    
    	</parent>
    	<artifactId>enterprise-adapter</artifactId>
    	<name>EM - Enterprise Interface Adapter</name>
    
    	<properties>
    
    OZGCloud's avatar
    OZGCloud committed
    		<spring-boot.build-image.imageName>docker.ozg-sh.de/enterprise-adapter:build-latest</spring-boot.build-image.imageName>
    
    	</properties>
    
    	<dependencies>
    
    OZGCloud's avatar
    OZGCloud committed
    		<!--ozg-Cloud-->
    		<dependency>
    
    			<groupId>de.ozgcloud.eingang</groupId>
    
    OZGCloud's avatar
    OZGCloud committed
    			<artifactId>common</artifactId>
    		</dependency>
    		<dependency>
    
    			<groupId>de.ozgcloud.eingang</groupId>
    
    OZGCloud's avatar
    OZGCloud committed
    			<artifactId>semantik-adapter</artifactId>
    		</dependency>
    
    		<!--spring-->
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-web</artifactId>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework.boot</groupId>
    			<artifactId>spring-boot-starter-actuator</artifactId>
    		</dependency>
    
    
    		<!--dev tools-->
    		<dependency>
    			<groupId>org.mapstruct</groupId>
    			<artifactId>mapstruct</artifactId>
    		</dependency>
    
    		<!--test -->
    		<dependency>
    
    			<groupId>de.ozgcloud.eingang</groupId>
    
    			<artifactId>common</artifactId>
    			<type>test-jar</type>
    			<scope>test</scope>
    		</dependency>
    
    	</dependencies>
    
    	<build>
    		<plugins>
    			<plugin>
    				<groupId>org.springframework.boot</groupId>
    				<artifactId>spring-boot-maven-plugin</artifactId>
    			</plugin>
    
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-surefire-plugin</artifactId>
    			</plugin>
    
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-failsafe-plugin</artifactId>
    			</plugin>
    
    			<plugin>
    				<groupId>org.jacoco</groupId>
    				<artifactId>jacoco-maven-plugin</artifactId>
    			</plugin>
    		</plugins>
    	</build>
    
    	<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>