Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
7.6 kB
2
Indexable
Never
<?xml version="1.0" encoding="UTF-8"?>
<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>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>3.1.0</version>
		<relativePath/> <!-- lookup parent from repository -->
	</parent>
	<groupId>com.kotak.collection</groupId>
	<artifactId>cr-reporting-service</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<name>CR Audit Service</name>
	<description>CR Audit Service</description>
	<properties>
		<java.version>18</java.version>
		<commons-logging.version>1.2</commons-logging.version>
	</properties>
	<dependencies>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>

		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
		</dependency>

<!--		<dependency>-->
<!--			<groupId>org.springframework.boot</groupId>-->
<!--			<artifactId>spring-boot-starter-data-jpa</artifactId>-->
<!--		</dependency>-->

		<!-- https://mvnrepository.com/artifact/commons-logging/commons-logging -->
		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>${commons-logging.version}</version>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>

<!--		<dependency>-->
<!--			<groupId>javax.annotation</groupId>-->
<!--			<artifactId>javax.annotation-api</artifactId>-->
<!--			<version>1.3.2</version>-->
<!--		</dependency>-->

		<dependency>
			<groupId>javax.annotation</groupId>
			<artifactId>javax.annotation-api</artifactId>
			<version>1.3.2</version> <!-- Use the appropriate version -->
		</dependency>
<!--		<dependency>-->
<!--			<groupId>javax.annotation.processing</groupId>-->
<!--			<artifactId>javax.annotation.processing-api</artifactId>-->
<!--			<version>1.3</version> &lt;!&ndash; Use the appropriate version &ndash;&gt;-->
<!--		</dependency>-->


		<dependency>
			<groupId>com.google.code.findbugs</groupId>
			<artifactId>jsr305</artifactId>
			<version>3.0.2</version>
		</dependency>

		<dependency>
			<groupId>com.fasterxml.jackson.datatype</groupId>
			<artifactId>jackson-datatype-jsr310</artifactId>
		</dependency>

		<dependency>
			<artifactId>validation-api</artifactId>
			<groupId>javax.validation</groupId>
			<version>2.0.1.Final</version>
		</dependency>

		<dependency>
			<artifactId>jackson-databind-nullable</artifactId>
			<groupId>org.openapitools</groupId>
			<version>0.2.6</version>
		</dependency>

		<!-- Spring boot api-docs-->
		<dependency>
			<artifactId>springdoc-openapi-ui</artifactId>
			<groupId>org.springdoc</groupId>
			<version>1.5.9</version>
		</dependency>
		<dependency>
			<artifactId>swagger-annotations</artifactId>
			<groupId>io.swagger</groupId>
			<version>1.6.2</version>
		</dependency>

		<dependency>
			<groupId>org.springdoc</groupId>
			<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
			<version>2.1.0</version>
		</dependency>

		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-api</artifactId>
			<version>5.9.3</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-engine</artifactId>
			<version>5.9.3</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-params</artifactId>
			<version>5.9.3</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.junit.platform</groupId>
			<artifactId>junit-platform-engine</artifactId>
			<version>1.9.3</version>
			<scope>test</scope>
		</dependency>

		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-junit-jupiter</artifactId>
			<version>5.3.1</version>
			<scope>test</scope>
		</dependency>

	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>

<!--			<plugin>-->
<!--				<artifactId>openapi-generator-maven-plugin</artifactId>-->
<!--				<executions>-->
<!--					<execution>-->
<!--						<configuration>-->
<!--							<addCompileSourceRoot>true</addCompileSourceRoot>-->
<!--							<configOptions>-->
<!--								<delegatePattern>true</delegatePattern>-->
<!--								<interfaceOnly>true</interfaceOnly>-->
<!--								<skipDefaultInterface>true</skipDefaultInterface>-->
<!--								<useSpringBoot3>true</useSpringBoot3>-->
<!--								<useSpringController>true</useSpringController>-->
<!--							</configOptions>-->
<!--							<generateApiDocumentation>false</generateApiDocumentation>-->
<!--							<generateApiTests>false</generateApiTests>-->
<!--							<generateApiTests>false</generateApiTests>-->
<!--							<generateModelDocumentation>false</generateModelDocumentation>-->
<!--							<generateModelTests>false</generateModelTests>-->
<!--							<generateSupportingFiles>false</generateSupportingFiles>-->
<!--							<generatorName>spring</generatorName>-->
<!--							<inputSpec>${project.basedir}/src/main/resources/openapi/callRecordingAuditInformation.yml</inputSpec>-->
<!--							<apiPackage>${project.groupId}.audit.api</apiPackage>-->
<!--							<modelPackage>${project.groupId}.audit.model</modelPackage>-->
<!--							<output>${project.build.directory}/generated-sources</output>-->
<!--							<packageName>${project.groupId}.audit</packageName>-->
<!--						</configuration>-->
<!--						<goals>-->
<!--							<goal>generate</goal>-->
<!--						</goals>-->
<!--						<id>generate-spring-server</id>-->
<!--					</execution>-->
<!--				</executions>-->
<!--				<groupId>org.openapitools</groupId>-->
<!--			</plugin>-->

			<plugin>
				<groupId>org.openapitools</groupId>
				<artifactId>openapi-generator-maven-plugin</artifactId>
				<version>5.0.0</version>
				<executions>
					<execution>
						<configuration>
							<addCompileSourceRoot>true</addCompileSourceRoot>
							<configOptions>
								<delegatePattern>true</delegatePattern>
								<interfaceOnly>true</interfaceOnly>
								<skipDefaultInterface>true</skipDefaultInterface>
								<useSpringBoot3>true</useSpringBoot3>
								<useSpringController>true</useSpringController>
							</configOptions>
							<generateApiDocumentation>false</generateApiDocumentation>
							<generateApiTests>false</generateApiTests>
							<generateApiTests>false</generateApiTests>
							<generateModelDocumentation>false</generateModelDocumentation>
							<generateModelTests>false</generateModelTests>
							<generateSupportingFiles>false</generateSupportingFiles>
<!--							<generatorName>spring</generatorName>-->
							<generatorName>java</generatorName>
							<library>resttemplate</library>
							<inputSpec>${project.basedir}/src/main/resources/openapi/rest/callRecordingAuditInformation.yml</inputSpec>
							<apiPackage>${project.groupId}.audit.api</apiPackage>
							<modelPackage>${project.groupId}.audit.model</modelPackage>
							<output>${project.build.directory}/generated-sources</output>
							<packageName>${project.groupId}.audit</packageName>
						</configuration>
						<goals>
							<goal>generate</goal>
						</goals>
						<id>generate-spring-server</id>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

</project>