Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>io.mosip.preregistration</groupId>
- <artifactId>pre-registration-parent</artifactId>
- <version>1.2.0.1</version>
- </parent>
- <artifactId>pre-registration-application-service</artifactId>
- <name>Pre-Registration Application Service Project</name>
- <description>Maven project of MOSIP Pre-Registration Service</description>
- <version>1.2.0.1</version>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <kernel.core.version>1.2.0.1</kernel.core.version>
- <kernel.khazana.version>1.2.0.1</kernel.khazana.version>
- <kernel.idobjectvalidator.version>1.2.0.1</kernel.idobjectvalidator.version>
- <kernel.templatemanager.velocity.version>1.2.0.1</kernel.templatemanager.velocity.version>
- <kernel.qrcodegenerator.zxing.version>1.2.0.1</kernel.qrcodegenerator.zxing.version>
- <pre.registration.core.version>1.2.0.1</pre.registration.core.version>
- <io.micrometer.prometheus.version>1.4.2</io.micrometer.prometheus.version>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-dependencies</artifactId>
- <version>${spring.boot.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt</artifactId>
- <version>0.6.0</version>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest</artifactId>
- <version>2.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-config</artifactId>
- <version>${spring-cloud-config.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-cache</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sf.ehcache</groupId>
- <artifactId>ehcache</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-devtools</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>io.mosip.preregistration</groupId>
- <artifactId>pre-registration-core</artifactId>
- <version>${pre.registration.core.version}</version>
- </dependency>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-core</artifactId>
- <version>${kernel.core.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-security</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>io.mosip.commons</groupId>
- <artifactId>khazana</artifactId>
- <version>${kernel.khazana.version}</version>
- </dependency>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-idobjectvalidator</artifactId>
- <version>${kernel.idobjectvalidator.version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.fasterxml.jackson.datatype</groupId>
- <artifactId>jackson-datatype-jdk8</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-templatemanager-velocity</artifactId>
- <version>${kernel.templatemanager.velocity.version}</version>
- </dependency>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-qrcodegenerator-zxing</artifactId>
- <version>${kernel.qrcodegenerator.zxing.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>${apache.httpclient.version}</version>
- </dependency>
- <dependency>
- <groupId>org.json</groupId>
- <artifactId>json</artifactId>
- <version>${org.json.version}</version>
- </dependency>
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-core</artifactId>
- <version>${io.micrometer.prometheus.version}</version>
- </dependency>
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-registry-prometheus</artifactId>
- <version>${io.micrometer.prometheus.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-configuration-processor</artifactId>
- <version>${spring.boot.version}</version>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-auth-adapter</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-transliteration-icu4j</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-ref-idobjectvalidator</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-virusscanner-clamav</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>${spring.boot.version}</version>
- <configuration>
- <layout>ZIP</layout>
- <executable>true</executable>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>build-info</goal>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <excludes>
- <exclude>**/*.properties</exclude>
- </excludes>
- <classifier>lib</classifier>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>openapi-doc-generate-profile</id>
- <dependencies>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-auth-adapter</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-ref-idobjectvalidator</artifactId>
- <version>1.2.0.1</version>
- </dependency>
- <dependency>
- <groupId>io.mosip.kernel</groupId>
- <artifactId>kernel-transliteration-icu4j</artifactId>
- <version>1.2.0.1</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>${spring.boot.version}</version>
- <configuration>
- <executable>true</executable>
- <layout>ZIP</layout>
- </configuration>
- <executions>
- <execution>
- <id>pre-integration-test</id>
- <goals>
- <goal>start</goal>
- </goals>
- <configuration>
- <folders>
- <folder>src/test/resources</folder>
- </folders>
- <profiles>
- <profile>mz</profile>
- </profiles>
- </configuration>
- </execution>
- <execution>
- <id>post-integration-test</id>
- <goals>
- <goal>stop</goal>
- </goals>
- </execution>
- <execution>
- <goals>
- <goal>build-info</goal>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.springdoc</groupId>
- <artifactId>springdoc-openapi-maven-plugin</artifactId>
- <version>0.2</version>
- <executions>
- <execution>
- <id>integration-test</id>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <apiDocsUrl>
- http://localhost:9090/preregistration/v1/application-service/v3/api-docs/Pre-Registration
- </apiDocsUrl>
- <outputFileName>${artifactId}-openapi.json</outputFileName>
- <outputDir>${project.build.directory}</outputDir>
- <skip>false</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment