Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>spring-boot-starter-parent</artifactId>
- <groupId>org.springframework.boot</groupId>
- <version>1.4.0.RELEASE</version>
- <relativePath/>
- </parent>
- <groupId>com.iwantunlimited.servicerequest</groupId>
- <artifactId>i-want-service-request</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <packaging>war</packaging>
- <name>I Want Service Request</name>
- <prerequisites>
- <maven>3.0.0</maven>
- </prerequisites>
- <properties>
- <hikaricp.version>2.4.6</hikaricp.version>
- <assertj-core.version>3.5.2</assertj-core.version>
- <awaitility.version>1.7.0</awaitility.version>
- <commons-io.version>2.5</commons-io.version>
- <commons-lang.version>3.4</commons-lang.version>
- <cucumber.version>1.2.4</cucumber.version>
- <gatling.version>2.2.2</gatling.version>
- <gatling-maven-plugin.version>2.1.7</gatling-maven-plugin.version>
- <hazelcast.version>3.6.5</hazelcast.version>
- <hibernate.version>4.3.11.Final</hibernate.version>
- <java.version>1.8</java.version>
- <maven.compiler.source>${java.version}</maven.compiler.source>
- <maven.compiler.target>${java.version}</maven.compiler.target>
- <javax.inject.version>1</javax.inject.version>
- <jna.version>4.2.2</jna.version>
- <liquibase.version>3.4.2</liquibase.version>
- <liquibase-slf4j.version>2.0.0</liquibase-slf4j.version>
- <liquibase-hibernate4.version>3.5</liquibase-hibernate4.version>
- <mapstruct.version>1.0.0.Final</mapstruct.version>
- <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
- <maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
- <maven-resources-plugin.version>3.0.1</maven-resources-plugin.version>
- <sortpom-maven-plugin.version>2.5.0</sortpom-maven-plugin.version>
- <metrics-spark-reporter.version>1.2</metrics-spark-reporter.version>
- <metrics-spring.version>3.1.3</metrics-spring.version>
- <logstash-logback-encoder.version>4.7</logstash-logback-encoder.version>
- <postgresql.version>9.4-1203-jdbc42</postgresql.version>
- <run.addResources>false</run.addResources>
- <spring-cloud.version>Brixton.SR5</spring-cloud.version>
- <spring-security.version>4.1.0.RELEASE</spring-security.version>
- <springfox.version>2.5.0</springfox.version>
- <!-- Sonar properties -->
- <project.testresult.directory>${project.build.directory}/test-results</project.testresult.directory>
- <sonar-maven-plugin.version>3.0.2</sonar-maven-plugin.version>
- <jacoco-maven-plugin.version>0.7.7.201606060606</jacoco-maven-plugin.version>
- <sonar.exclusions>src/main/webapp/content/**/*.*, src/main/webapp/bower_components/**/*.*, target/www/**/*.*</sonar.exclusions>
- <sonar.java.codeCoveragePlugin>jacoco</sonar.java.codeCoveragePlugin>
- <sonar.jacoco.itReportPath>${project.testresult.directory}/coverage/jacoco/jacoco-it.exec</sonar.jacoco.itReportPath>
- <sonar.jacoco.reportPath>${project.testresult.directory}/coverage/jacoco/jacoco.exec</sonar.jacoco.reportPath>
- <sonar.javascript.jstestdriver.reportsPath>${project.testresult.directory}/karma</sonar.javascript.jstestdriver.reportsPath>
- <sonar.javascript.lcov.reportPath>${project.testresult.directory}/coverage/report-lcov/lcov.info</sonar.javascript.lcov.reportPath>
- <sonar.sources>${project.basedir}/src/main/</sonar.sources>
- <sonar.surefire.reportsPath>${project.testresult.directory}/surefire-reports</sonar.surefire.reportsPath>
- <sonar.tests>${project.basedir}/src/test/</sonar.tests>
- <!-- These remain empty unless the corresponding profile is active -->
- <profile.no-liquibase></profile.no-liquibase>
- <profile.swagger></profile.swagger>
- </properties>
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-dependencies</artifactId>
- <version>${spring-cloud.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-core</artifactId>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-annotation</artifactId>
- <version>${dropwizard-metrics.version}</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-graphite</artifactId>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-healthchecks</artifactId>
- <version>${dropwizard-metrics.version}</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-json</artifactId>
- <version>${dropwizard-metrics.version}</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-jvm</artifactId>
- <version>${dropwizard-metrics.version}</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-servlet</artifactId>
- <version>${dropwizard-metrics.version}</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-servlets</artifactId>
- <exclusions>
- <exclusion>
- <artifactId>metrics-healthchecks</artifactId>
- <groupId>io.dropwizard.metrics</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.datatype</groupId>
- <artifactId>jackson-datatype-hibernate4</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.datatype</groupId>
- <artifactId>jackson-datatype-hppc</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.datatype</groupId>
- <artifactId>jackson-datatype-jsr310</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.datatype</groupId>
- <artifactId>jackson-datatype-json-org</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.hazelcast</groupId>
- <artifactId>hazelcast</artifactId>
- <version>${hazelcast.version}</version>
- </dependency>
- <dependency>
- <groupId>com.hazelcast</groupId>
- <artifactId>hazelcast-hibernate4</artifactId>
- <version>${hazelcast.version}</version>
- </dependency>
- <dependency>
- <groupId>com.hazelcast</groupId>
- <artifactId>hazelcast-spring</artifactId>
- <version>${hazelcast.version}</version>
- </dependency>
- <dependency>
- <groupId>com.jayway.awaitility</groupId>
- <artifactId>awaitility</artifactId>
- <version>${awaitility.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.jayway.jsonpath</groupId>
- <artifactId>json-path</artifactId>
- <scope>test</scope>
- <!-- parent POM declares this dependency in default (compile) scope -->
- </dependency>
- <dependency>
- <groupId>io.springfox</groupId>
- <artifactId>springfox-swagger2</artifactId>
- <version>${springfox.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.mapstruct</groupId>
- <artifactId>mapstruct</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.mattbertolini</groupId>
- <artifactId>liquibase-slf4j</artifactId>
- <version>${liquibase-slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>com.ryantenney.metrics</groupId>
- <artifactId>metrics-spring</artifactId>
- <version>${metrics-spring.version}</version>
- <exclusions>
- <exclusion>
- <groupId>com.codahale.metrics</groupId>
- <artifactId>metrics-annotation</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.codahale.metrics</groupId>
- <artifactId>metrics-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>com.codahale.metrics</groupId>
- <artifactId>metrics-healthchecks</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP</artifactId>
- <exclusions>
- <exclusion>
- <artifactId>tools</artifactId>
- <groupId>com.sun</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <!-- The HikariCP Java Agent is disabled by default, as it is experimental
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP-agent</artifactId>
- <version>${HikariCP.version}</version>
- </dependency>
- -->
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>${commons-io.version}</version><!--$NO-MVN-MAN-VER$-->
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>${commons-lang.version}</version>
- </dependency>
- <dependency>
- <groupId>io.gatling.highcharts</groupId>
- <artifactId>gatling-charts-highcharts</artifactId>
- <version>${gatling.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- <version>${javax.inject.version}</version><!--$NO-MVN-MAN-VER$-->
- </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>${assertj-core.version}</version><!--$NO-MVN-MAN-VER$-->
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-envers</artifactId>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-validator</artifactId>
- </dependency>
- <dependency>
- <groupId>org.liquibase</groupId>
- <artifactId>liquibase-core</artifactId>
- <exclusions>
- <exclusion>
- <artifactId>jetty-servlet</artifactId>
- <groupId>org.eclipse.jetty</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mapstruct</groupId>
- <artifactId>mapstruct-jdk8</artifactId>
- <version>${mapstruct.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-actuator</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-autoconfigure</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-configuration-processor</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-loader-tools</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-aop</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jpa</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-elasticsearch</artifactId>
- </dependency>
- <dependency>
- <groupId>net.java.dev.jna</groupId>
- <artifactId>jna</artifactId>
- <version>${jna.version}</version><!--$NO-MVN-MAN-VER$-->
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-logging</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-mail</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-security</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-thymeleaf</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>io.jsonwebtoken</groupId>
- <artifactId>jjwt</artifactId>
- <version>0.6.0</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-rsa</artifactId>
- <version>1.0.3.RELEASE</version>
- </dependency>
- <!-- Spring Cloud -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter</artifactId>
- <version>1.1.3.RELEASE</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-ribbon</artifactId>
- <!-- netty's native is pulled, but is useless unless you explicitly add the native binary dependency.
- Having it in the classpath without the binary can cause warnings -->
- <exclusions>
- <exclusion>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-native-epoll</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-eureka</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-hystrix</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-spectator</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-config</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.retry</groupId>
- <artifactId>spring-retry</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-feign</artifactId>
- </dependency>
- <dependency>
- <groupId>net.logstash.logback</groupId>
- <artifactId>logstash-logback-encoder</artifactId>
- <version>${logstash-logback-encoder.version}</version>
- <exclusions>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- </exclusion>
- <exclusion>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-access</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-cloudfoundry-connector</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-spring-service-connector</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-localconfig-connector</artifactId>
- </dependency>
- <!-- security -->
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-data</artifactId>
- </dependency>
- <!-- reporting -->
- <dependency>
- <groupId>fr.ippon.spark.metrics</groupId>
- <artifactId>metrics-spark-reporter</artifactId>
- <version>${metrics-spark-reporter.version}</version>
- </dependency>
- <!-- cucumber -->
- <dependency>
- <groupId>info.cukes</groupId>
- <artifactId>cucumber-junit</artifactId>
- <version>${cucumber.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>info.cukes</groupId>
- <artifactId>cucumber-spring</artifactId>
- <version>${cucumber.version}</version>
- <scope>test</scope>
- </dependency>
- <!-- jhipster-needle-maven-add-dependency -->
- </dependencies>
- <build>
- <defaultGoal>spring-boot:run</defaultGoal>
- <testResources>
- <testResource>
- <directory>src/test/resources/</directory>
- </testResource>
- <testResource>
- <directory>src/test/features</directory>
- </testResource>
- </testResources>
- <plugins>
- <plugin>
- <groupId>com.github.ekryd.sortpom</groupId>
- <artifactId>sortpom-maven-plugin</artifactId>
- <version>${sortpom-maven-plugin.version}</version>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>sort</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <sortProperties>true</sortProperties>
- <nrOfIndentSpace>4</nrOfIndentSpace>
- <sortDependencies>groupId,artifactId</sortDependencies>
- <sortPlugins>groupId,artifactId</sortPlugins>
- <keepBlankLines>true</keepBlankLines>
- <expandEmptyElements>false</expandEmptyElements>
- </configuration>
- </plugin>
- <plugin>
- <groupId>io.gatling</groupId>
- <artifactId>gatling-maven-plugin</artifactId>
- <version>${gatling-maven-plugin.version}</version>
- <configuration>
- <configFolder>src/test/gatling/conf</configFolder>
- <dataFolder>src/test/gatling/data</dataFolder>
- <resultsFolder>target/gatling/results</resultsFolder>
- <bodiesFolder>src/test/gatling/bodies</bodiesFolder>
- <simulationsFolder>src/test/gatling/simulations</simulationsFolder>
- <!-- This will force Gatling to ask which simulation to run
- This is useful when you have multiple simulations -->
- <simulationClass>*</simulationClass>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-eclipse-plugin</artifactId>
- <configuration>
- <downloadSources>true</downloadSources>
- <downloadJavadocs>true</downloadJavadocs>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>${maven-enforcer-plugin.version}</version>
- <executions>
- <execution>
- <id>enforce-versions</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <rules>
- <requireMavenVersion>
- <message>You are running an older version of Maven. JHipster requires at least Maven 3.0</message>
- <version>[3.0.0,)</version>
- </requireMavenVersion>
- <requireJavaVersion>
- <message>You are running an older version of Java. JHipster requires at least JDK ${java.version}</message>
- <version>[${java.version}.0,)</version>
- </requireJavaVersion>
- </rules>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>${maven-resources-plugin.version}</version><!--$NO-MVN-MAN-VER$-->
- <executions>
- <execution>
- <id>default-resources</id>
- <phase>validate</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>target/classes</outputDirectory>
- <useDefaultDelimiters>false</useDefaultDelimiters>
- <delimiters>
- <delimiter>#</delimiter>
- </delimiters>
- <resources>
- <resource>
- <directory>src/main/resources/</directory>
- <filtering>true</filtering>
- <includes>
- <include>**/*.xml</include>
- <include>**/*.yml</include>
- </includes>
- </resource>
- <resource>
- <directory>src/main/resources/</directory>
- <filtering>false</filtering>
- <excludes>
- <exclude>**/*.xml</exclude>
- <exclude>**/*.yml</exclude>
- </excludes>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <executions>
- <execution>
- <id>default-test</id>
- <configuration>
- <excludes>
- <exclude>**/Abstract*.java</exclude>
- <exclude>**/*Cucumber*.java</exclude>
- </excludes>
- </configuration>
- </execution>
- <execution>
- <id>without-cucumber</id>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <includes>
- <include>**/*Cucumber*.java</include>
- </includes>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <argLine>-Djava.security.egd=file:/dev/./urandom -Xmx256m ${surefireArgLine}</argLine>
- <!-- Force alphabetical order to have a reproducible build -->
- <runOrder>alphabetical</runOrder>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>${jacoco-maven-plugin.version}</version>
- <executions>
- <execution>
- <id>pre-unit-tests</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <destFile>${project.testresult.directory}/coverage/jacoco/jacoco.exec</destFile>
- <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
- <propertyName>surefireArgLine</propertyName>
- </configuration>
- </execution>
- <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run -->
- <execution>
- <id>post-unit-test</id>
- <phase>test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <dataFile>${project.testresult.directory}/coverage/jacoco/jacoco.exec</dataFile>
- <outputDirectory>${project.testresult.directory}/coverage/jacoco</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.sonarsource.scanner.maven</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>${sonar-maven-plugin.version}</version>
- </plugin>
- <plugin>
- <groupId>org.bsc.maven</groupId>
- <artifactId>maven-processor-plugin</artifactId>
- <version>2.2.4</version>
- <configuration>
- <defaultOutputDirectory>
- ${project.build.directory}/generated-sources
- </defaultOutputDirectory>
- <processors>
- <processor>org.mapstruct.ap.MappingProcessor</processor>
- </processors>
- <options>
- <mapstruct.suppressGeneratorTimestamp>true</mapstruct.suppressGeneratorTimestamp>
- <mapstruct.defaultComponentModel>spring</mapstruct.defaultComponentModel>
- </options>
- </configuration>
- <executions>
- <execution>
- <id>process</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>process</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.mapstruct</groupId>
- <artifactId>mapstruct-processor</artifactId>
- <version>${mapstruct.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <executable>true</executable>
- <fork>true</fork>
- <!--
- Enable the line below to have remote debugging of your application on port 5005
- <jvmArguments>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</jvmArguments>
- -->
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.spotify</groupId>
- <artifactId>docker-maven-plugin</artifactId>
- <version>0.4.10</version>
- <configuration>
- <imageName>iwantservicerequest</imageName>
- <dockerDirectory>src/main/docker</dockerDirectory>
- <resources>
- <resource>
- <targetPath>/</targetPath>
- <directory>${project.build.directory}</directory>
- <include>${project.build.finalName}.war</include>
- </resource>
- </resources>
- </configuration>
- </plugin>
- <!-- jhipster-needle-maven-add-plugin -->
- </plugins>
- <pluginManagement>
- <plugins>
- <!--
- This plugin's configuration is used to store Eclipse m2e settings only.
- It has no influence on the Maven build itself.
- Remove when the m2e plugin can correctly bind to Maven lifecycle
- -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.jacoco</groupId>
- <artifactId>
- jacoco-maven-plugin
- </artifactId>
- <versionRange>
- ${jacoco-maven-plugin.version}
- </versionRange>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore/>
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <profiles>
- <profile>
- <id>no-liquibase</id>
- <properties>
- <profile.no-liquibase>,no-liquibase</profile.no-liquibase>
- </properties>
- </profile>
- <profile>
- <id>swagger</id>
- <properties>
- <profile.swagger>,swagger</profile.swagger>
- </properties>
- </profile>
- <profile>
- <id>dev</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- </activation>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-undertow</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-devtools</artifactId>
- <optional>true</optional>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <properties>
- <!-- log configuration -->
- <logback.loglevel>DEBUG</logback.loglevel>
- <!-- default Spring profiles -->
- <spring.profiles.active>dev,swagger${profile.no-liquibase}</spring.profiles.active>
- </properties>
- </profile>
- <profile>
- <id>prod</id>
- <dependencies>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-undertow</artifactId>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <filesets>
- <fileset>
- <directory>target/www/</directory>
- </fileset>
- </filesets>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <configuration>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <executable>true</executable>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>build-info</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <properties>
- <!-- log configuration -->
- <logback.loglevel>INFO</logback.loglevel>
- <!-- default Spring profiles -->
- <spring.profiles.active>prod${profile.swagger}${profile.no-liquibase}</spring.profiles.active>
- </properties>
- </profile>
- </profiles>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment