Advertisement
yoesoff

JHipster 8.0.0 POM file

Dec 9th, 2023
3,774
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 57.45 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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
  3.                             https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.  
  6.     <groupId>com.mycompany.myapp</groupId>
  7.     <artifactId>myapplication</artifactId>
  8.     <version>0.0.1-SNAPSHOT</version>
  9.     <packaging>jar</packaging>
  10.     <name>Myapplication</name>
  11.     <description>Description for Myapplication</description>
  12.  
  13.     <properties>
  14.         <!--
  15.            Build properties
  16.            The spring-boot version should match the one managed by https://mvnrepository.com/artifact/tech.jhipster/jhipster-dependencies/${jhipster-dependencies.version}
  17.        -->
  18.         <maven.version>3.2.5</maven.version>
  19.         <java.version>17</java.version>
  20.         <node.version>v18.18.2</node.version>
  21.         <npm.version>10.2.2</npm.version>
  22.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  23.         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  24.         <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
  25.         <maven.compiler.source>${java.version}</maven.compiler.source>
  26.         <maven.compiler.target>${java.version}</maven.compiler.target>
  27.         <start-class>com.mycompany.myapp.MyapplicationApp</start-class>
  28.         <argLine>-Djava.security.egd=file:/dev/./urandom -Xmx1G</argLine>
  29.         <m2e.apt.activation>jdt_apt</m2e.apt.activation>
  30.         <run.addResources>false</run.addResources>
  31.         <jhipster-dependencies.version>8.0.0</jhipster-dependencies.version>
  32.         <spring-boot.version>3.1.5</spring-boot.version>
  33.         <archunit-junit5.version>1.1.0</archunit-junit5.version>
  34.         <checkstyle.version>10.12.4</checkstyle.version>
  35.         <checksum-maven-plugin.version>1.11</checksum-maven-plugin.version>
  36.         <frontend-maven-plugin.version>1.14.2</frontend-maven-plugin.version>
  37.         <git-commit-id-maven-plugin.version>7.0.0</git-commit-id-maven-plugin.version>
  38.         <h2.version>2.2.224</h2.version>
  39.         <hibernate.version>6.2.13.Final</hibernate.version>
  40.         <jacoco-maven-plugin.version>0.8.11</jacoco-maven-plugin.version>
  41.         <jaxb-runtime.version>4.0.4</jaxb-runtime.version>
  42.         <jib-maven-plugin.architecture>amd64</jib-maven-plugin.architecture>
  43.         <jib-maven-plugin.image>eclipse-temurin:17-jre-focal</jib-maven-plugin.image>
  44.         <jib-maven-plugin.version>3.4.0</jib-maven-plugin.version>
  45.         <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
  46.         <liquibase-plugin.driver/>
  47.         <liquibase-plugin.hibernate-dialect/>
  48.         <liquibase-plugin.password/>
  49.         <liquibase-plugin.url/>
  50.         <liquibase-plugin.username/>
  51.         <liquibase.version>4.24.0</liquibase.version>
  52.         <mapstruct.version>1.5.5.Final</mapstruct.version>
  53.         <maven-antrun-plugin.version>3.1.0</maven-antrun-plugin.version>
  54.         <maven-checkstyle-plugin.version>3.3.1</maven-checkstyle-plugin.version>
  55.         <maven-clean-plugin.version>3.3.2</maven-clean-plugin.version>
  56.         <maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>
  57.         <maven-eclipse-plugin.version>2.1</maven-eclipse-plugin.version>
  58.         <maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version>
  59.         <maven-failsafe-plugin.version>3.2.1</maven-failsafe-plugin.version>
  60.         <maven-idea-plugin.version>2.2.1</maven-idea-plugin.version>
  61.         <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
  62.         <maven-javadoc-plugin.version>3.6.0</maven-javadoc-plugin.version>
  63.         <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
  64.         <maven-site-plugin.version>3.12.1</maven-site-plugin.version>
  65.         <maven-surefire-plugin.version>3.2.1</maven-surefire-plugin.version>
  66.         <maven-war-plugin.version>3.4.0</maven-war-plugin.version>
  67.         <modernizer-maven-plugin.version>2.7.0</modernizer-maven-plugin.version>
  68.         <nohttp-checkstyle.version>0.0.11</nohttp-checkstyle.version>
  69.         <profile.api-docs/>
  70.         <profile.e2e/>
  71.         <profile.no-liquibase/>
  72.         <profile.test/>
  73.         <profile.tls/>
  74.         <properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
  75.         <sonar-maven-plugin.version>3.10.0.2594</sonar-maven-plugin.version>
  76.         <spotless-maven-plugin.version>2.40.0</spotless-maven-plugin.version>
  77.         <validation-api.version>3.0.2</validation-api.version>
  78.     </properties>
  79.  
  80.     <dependencyManagement>
  81.         <dependencies>
  82.             <dependency>
  83.                 <groupId>tech.jhipster</groupId>
  84.                 <artifactId>jhipster-dependencies</artifactId>
  85.                 <version>${jhipster-dependencies.version}</version>
  86.                 <type>pom</type>
  87.                 <scope>import</scope>
  88.             </dependency>
  89.         </dependencies>
  90.     </dependencyManagement>
  91.  
  92.     <dependencies>
  93.         <dependency>
  94.             <groupId>tech.jhipster</groupId>
  95.             <artifactId>jhipster-framework</artifactId>
  96.         </dependency>
  97.         <dependency>
  98.             <groupId>org.springframework.boot</groupId>
  99.             <artifactId>spring-boot-configuration-processor</artifactId>
  100.             <scope>provided</scope>
  101.         </dependency>
  102.         <dependency>
  103.             <groupId>org.springframework.boot</groupId>
  104.             <artifactId>spring-boot-loader-tools</artifactId>
  105.         </dependency>
  106.         <dependency>
  107.             <groupId>org.springframework.boot</groupId>
  108.             <artifactId>spring-boot-starter-actuator</artifactId>
  109.         </dependency>
  110.         <dependency>
  111.             <groupId>org.springframework.boot</groupId>
  112.             <artifactId>spring-boot-starter-cache</artifactId>
  113.         </dependency>
  114.         <dependency>
  115.             <groupId>org.springframework.boot</groupId>
  116.             <artifactId>spring-boot-starter-data-jpa</artifactId>
  117.         </dependency>
  118.         <dependency>
  119.             <groupId>org.springframework.boot</groupId>
  120.             <artifactId>spring-boot-starter-logging</artifactId>
  121.         </dependency>
  122.         <dependency>
  123.             <groupId>org.springframework.boot</groupId>
  124.             <artifactId>spring-boot-starter-mail</artifactId>
  125.         </dependency>
  126.         <dependency>
  127.             <groupId>org.springframework.boot</groupId>
  128.             <artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
  129.         </dependency>
  130.         <dependency>
  131.             <groupId>org.springframework.boot</groupId>
  132.             <artifactId>spring-boot-starter-security</artifactId>
  133.         </dependency>
  134.         <dependency>
  135.             <groupId>org.springframework.boot</groupId>
  136.             <artifactId>spring-boot-starter-test</artifactId>
  137.             <scope>test</scope>
  138.         </dependency>
  139.         <dependency>
  140.             <groupId>org.springframework.boot</groupId>
  141.             <artifactId>spring-boot-starter-thymeleaf</artifactId>
  142.         </dependency>
  143.         <dependency>
  144.             <groupId>org.springframework.boot</groupId>
  145.             <artifactId>spring-boot-starter-undertow</artifactId>
  146.         </dependency>
  147.         <dependency>
  148.             <groupId>org.springframework.boot</groupId>
  149.             <artifactId>spring-boot-starter-web</artifactId>
  150.         </dependency>
  151.         <dependency>
  152.             <groupId>org.springframework.boot</groupId>
  153.             <artifactId>spring-boot-test</artifactId>
  154.             <scope>test</scope>
  155.         </dependency>
  156.         <dependency>
  157.             <groupId>org.springframework.security</groupId>
  158.             <artifactId>spring-security-data</artifactId>
  159.         </dependency>
  160.         <dependency>
  161.             <groupId>org.springframework.security</groupId>
  162.             <artifactId>spring-security-test</artifactId>
  163.             <scope>test</scope>
  164.         </dependency>
  165.         <dependency>
  166.             <groupId>org.springdoc</groupId>
  167.             <artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
  168.         </dependency>
  169.         <dependency>
  170.             <groupId>com.fasterxml.jackson.datatype</groupId>
  171.             <artifactId>jackson-datatype-hibernate6</artifactId>
  172.         </dependency>
  173.         <dependency>
  174.             <groupId>com.fasterxml.jackson.datatype</groupId>
  175.             <artifactId>jackson-datatype-hppc</artifactId>
  176.         </dependency>
  177.         <dependency>
  178.             <groupId>com.fasterxml.jackson.datatype</groupId>
  179.             <artifactId>jackson-datatype-jsr310</artifactId>
  180.         </dependency>
  181.         <dependency>
  182.             <groupId>com.fasterxml.jackson.module</groupId>
  183.             <artifactId>jackson-module-jaxb-annotations</artifactId>
  184.         </dependency>
  185.         <dependency>
  186.             <groupId>com.tngtech.archunit</groupId>
  187.             <artifactId>archunit-junit5-api</artifactId>
  188.             <version>${archunit-junit5.version}</version>
  189.             <scope>test</scope>
  190.         </dependency>
  191.         <dependency>
  192.             <!-- Adding the engine dependency to the surefire-plugin unfortunately does not work in the current version. -->
  193.             <!-- https://www.archunit.org/userguide/html/000_Index.html#_junit_5 -->
  194.             <groupId>com.tngtech.archunit</groupId>
  195.             <artifactId>archunit-junit5-engine</artifactId>
  196.             <version>${archunit-junit5.version}</version>
  197.             <scope>test</scope>
  198.         </dependency>
  199.         <dependency>
  200.             <groupId>com.zaxxer</groupId>
  201.             <artifactId>HikariCP</artifactId>
  202.         </dependency>
  203.         <dependency>
  204.             <groupId>io.dropwizard.metrics</groupId>
  205.             <artifactId>metrics-core</artifactId>
  206.         </dependency>
  207.         <dependency>
  208.             <groupId>io.micrometer</groupId>
  209.             <artifactId>micrometer-registry-prometheus</artifactId>
  210.         </dependency>
  211.         <dependency>
  212.             <groupId>jakarta.annotation</groupId>
  213.             <artifactId>jakarta.annotation-api</artifactId>
  214.         </dependency>
  215.         <dependency>
  216.             <groupId>javax.cache</groupId>
  217.             <artifactId>cache-api</artifactId>
  218.         </dependency>
  219.         <dependency>
  220.             <groupId>org.apache.commons</groupId>
  221.             <artifactId>commons-lang3</artifactId>
  222.         </dependency>
  223.         <dependency>
  224.             <groupId>org.ehcache</groupId>
  225.             <artifactId>ehcache</artifactId>
  226.             <classifier>jakarta</classifier>
  227.         </dependency>
  228.         <dependency>
  229.             <groupId>org.hibernate.orm</groupId>
  230.             <artifactId>hibernate-core</artifactId>
  231.             <version>${hibernate.version}</version>
  232.         </dependency>
  233.         <dependency>
  234.             <groupId>org.hibernate.orm</groupId>
  235.             <artifactId>hibernate-jpamodelgen</artifactId>
  236.             <scope>provided</scope>
  237.         </dependency>
  238.         <dependency>
  239.             <groupId>org.hibernate.validator</groupId>
  240.             <artifactId>hibernate-validator</artifactId>
  241.         </dependency>
  242.         <dependency>
  243.             <groupId>org.liquibase</groupId>
  244.             <artifactId>liquibase-core</artifactId>
  245.             <version>${liquibase.version}</version>
  246.         </dependency>
  247.         <dependency>
  248.             <groupId>org.mapstruct</groupId>
  249.             <artifactId>mapstruct</artifactId>
  250.             <version>${mapstruct.version}</version>
  251.         </dependency>
  252.         <dependency>
  253.             <groupId>org.mapstruct</groupId>
  254.             <artifactId>mapstruct-processor</artifactId>
  255.             <version>${mapstruct.version}</version>
  256.             <scope>provided</scope>
  257.         </dependency>
  258.         <dependency>
  259.             <groupId>org.testcontainers</groupId>
  260.             <artifactId>jdbc</artifactId>
  261.             <scope>test</scope>
  262.         </dependency>
  263.         <dependency>
  264.             <groupId>org.testcontainers</groupId>
  265.             <artifactId>postgresql</artifactId>
  266.             <scope>test</scope>
  267.         </dependency>
  268.     </dependencies>
  269.  
  270.     <build>
  271.         <defaultGoal>spring-boot:run</defaultGoal>
  272.         <plugins>
  273.             <plugin>
  274.                 <groupId>org.springframework.boot</groupId>
  275.                 <artifactId>spring-boot-maven-plugin</artifactId>
  276.             </plugin>
  277.             <plugin>
  278.                 <groupId>com.diffplug.spotless</groupId>
  279.                 <artifactId>spotless-maven-plugin</artifactId>
  280.             </plugin>
  281.             <plugin>
  282.                 <groupId>com.google.cloud.tools</groupId>
  283.                 <artifactId>jib-maven-plugin</artifactId>
  284.             </plugin>
  285.             <plugin>
  286.                 <groupId>org.apache.maven.plugins</groupId>
  287.                 <artifactId>maven-checkstyle-plugin</artifactId>
  288.             </plugin>
  289.             <plugin>
  290.                 <groupId>org.apache.maven.plugins</groupId>
  291.                 <artifactId>maven-compiler-plugin</artifactId>
  292.             </plugin>
  293.             <plugin>
  294.                 <groupId>org.apache.maven.plugins</groupId>
  295.                 <artifactId>maven-eclipse-plugin</artifactId>
  296.             </plugin>
  297.             <plugin>
  298.                 <groupId>org.apache.maven.plugins</groupId>
  299.                 <artifactId>maven-enforcer-plugin</artifactId>
  300.             </plugin>
  301.             <plugin>
  302.                 <groupId>org.apache.maven.plugins</groupId>
  303.                 <artifactId>maven-failsafe-plugin</artifactId>
  304.             </plugin>
  305.             <plugin>
  306.                 <groupId>org.apache.maven.plugins</groupId>
  307.                 <artifactId>maven-idea-plugin</artifactId>
  308.             </plugin>
  309.             <plugin>
  310.                 <groupId>org.apache.maven.plugins</groupId>
  311.                 <artifactId>maven-javadoc-plugin</artifactId>
  312.             </plugin>
  313.             <plugin>
  314.                 <groupId>org.apache.maven.plugins</groupId>
  315.                 <artifactId>maven-resources-plugin</artifactId>
  316.             </plugin>
  317.             <plugin>
  318.                 <groupId>org.apache.maven.plugins</groupId>
  319.                 <artifactId>maven-surefire-plugin</artifactId>
  320.             </plugin>
  321.             <plugin>
  322.                 <groupId>org.codehaus.mojo</groupId>
  323.                 <artifactId>properties-maven-plugin</artifactId>
  324.             </plugin>
  325.             <plugin>
  326.                 <groupId>org.gaul</groupId>
  327.                 <artifactId>modernizer-maven-plugin</artifactId>
  328.             </plugin>
  329.             <plugin>
  330.                 <groupId>org.jacoco</groupId>
  331.                 <artifactId>jacoco-maven-plugin</artifactId>
  332.             </plugin>
  333.             <plugin>
  334.                 <groupId>org.sonarsource.scanner.maven</groupId>
  335.                 <artifactId>sonar-maven-plugin</artifactId>
  336.             </plugin>
  337.         </plugins>
  338.         <pluginManagement>
  339.             <plugins>
  340.                 <plugin>
  341.                     <groupId>org.springframework.boot</groupId>
  342.                     <artifactId>spring-boot-maven-plugin</artifactId>
  343.                     <version>${spring-boot.version}</version>
  344.                     <executions>
  345.                         <execution>
  346.                             <goals>
  347.                                 <goal>repackage</goal>
  348.                             </goals>
  349.                         </execution>
  350.                     </executions>
  351.                     <configuration>
  352.                         <mainClass>${start-class}</mainClass>
  353.                         <!--
  354.                        Enable the line below to have remote debugging of your application on port 5005
  355.                        <jvmArguments>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</jvmArguments>
  356.                        -->
  357.                     </configuration>
  358.                 </plugin>
  359.                 <plugin>
  360.                     <groupId>com.diffplug.spotless</groupId>
  361.                     <artifactId>spotless-maven-plugin</artifactId>
  362.                     <version>${spotless-maven-plugin.version}</version>
  363.                     <configuration>
  364.                         <java>
  365.                             <!-- <removeUnusedImports/> -->
  366.                         </java>
  367.                     </configuration>
  368.                     <executions>
  369.                         <execution>
  370.                             <id>spotless</id>
  371.                             <phase>process-sources</phase>
  372.                             <goals>
  373.                                 <goal>apply</goal>
  374.                             </goals>
  375.                         </execution>
  376.                     </executions>
  377.                 </plugin>
  378.                 <plugin>
  379.                     <groupId>com.github.eirslett</groupId>
  380.                     <artifactId>frontend-maven-plugin</artifactId>
  381.                     <version>${frontend-maven-plugin.version}</version>
  382.                     <configuration>
  383.                         <installDirectory>target</installDirectory>
  384.                         <nodeVersion>${node.version}</nodeVersion>
  385.                         <npmVersion>${npm.version}</npmVersion>
  386.                     </configuration>
  387.                 </plugin>
  388.                 <plugin>
  389.                     <groupId>com.google.cloud.tools</groupId>
  390.                     <artifactId>jib-maven-plugin</artifactId>
  391.                     <version>${jib-maven-plugin.version}</version>
  392.                     <configuration>
  393.                         <from>
  394.                             <image>${jib-maven-plugin.image}</image>
  395.                             <platforms>
  396.                                 <platform>
  397.                                     <architecture>${jib-maven-plugin.architecture}</architecture>
  398.                                     <os>linux</os>
  399.                                 </platform>
  400.                             </platforms>
  401.                         </from>
  402.                         <to>
  403.                             <image>myapplication:latest</image>
  404.                         </to>
  405.                         <container>
  406.                             <entrypoint>
  407.                                 <shell>bash</shell>
  408.                                 <option>-c</option>
  409.                                 <arg>/entrypoint.sh</arg>
  410.                             </entrypoint>
  411.                             <ports>
  412.                                 <port>8080</port>
  413.                             </ports>
  414.                             <environment>
  415.                                 <SPRING_OUTPUT_ANSI_ENABLED>ALWAYS</SPRING_OUTPUT_ANSI_ENABLED>
  416.                                 <JHIPSTER_SLEEP>0</JHIPSTER_SLEEP>
  417.                             </environment>
  418.                             <creationTime>USE_CURRENT_TIMESTAMP</creationTime>
  419.                             <user>1000</user>
  420.                         </container>
  421.                         <extraDirectories>
  422.                             <paths>src/main/docker/jib</paths>
  423.                             <permissions>
  424.                                 <permission>
  425.                                     <file>/entrypoint.sh</file>
  426.                                     <mode>755</mode>
  427.                                 </permission>
  428.                             </permissions>
  429.                         </extraDirectories>
  430.                     </configuration>
  431.                 </plugin>
  432.                 <plugin>
  433.                     <groupId>io.github.git-commit-id</groupId>
  434.                     <artifactId>git-commit-id-maven-plugin</artifactId>
  435.                     <version>${git-commit-id-maven-plugin.version}</version>
  436.                     <executions>
  437.                         <execution>
  438.                             <goals>
  439.                                 <goal>revision</goal>
  440.                             </goals>
  441.                         </execution>
  442.                     </executions>
  443.                     <configuration>
  444.                         <failOnNoGitDirectory>false</failOnNoGitDirectory>
  445.                         <failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>
  446.                         <generateGitPropertiesFile>true</generateGitPropertiesFile>
  447.                         <includeOnlyProperties>
  448.                             <includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>
  449.                             <includeOnlyProperty>^git.commit.id.describe$</includeOnlyProperty>
  450.                             <includeOnlyProperty>^git.branch$</includeOnlyProperty>
  451.                         </includeOnlyProperties>
  452.                     </configuration>
  453.                 </plugin>
  454.                 <plugin>
  455.                     <groupId>org.apache.maven.plugins</groupId>
  456.                     <artifactId>maven-checkstyle-plugin</artifactId>
  457.                     <version>${maven-checkstyle-plugin.version}</version>
  458.                     <dependencies>
  459.                         <dependency>
  460.                             <groupId>com.puppycrawl.tools</groupId>
  461.                             <artifactId>checkstyle</artifactId>
  462.                             <version>${checkstyle.version}</version>
  463.                         </dependency>
  464.                         <dependency>
  465.                             <groupId>io.spring.nohttp</groupId>
  466.                             <artifactId>nohttp-checkstyle</artifactId>
  467.                             <version>${nohttp-checkstyle.version}</version>
  468.                         </dependency>
  469.                     </dependencies>
  470.                     <configuration>
  471.                         <configLocation>checkstyle.xml</configLocation>
  472.                         <includes>pom.xml,README.md</includes>
  473.                         <excludes>.git/**/*,target/**/*,node_modules/**/*,node/**/*</excludes>
  474.                         <sourceDirectories>./</sourceDirectories>
  475.                     </configuration>
  476.                     <executions>
  477.                         <execution>
  478.                             <goals>
  479.                                 <goal>check</goal>
  480.                             </goals>
  481.                         </execution>
  482.                     </executions>
  483.                 </plugin>
  484.                 <plugin>
  485.                     <groupId>org.apache.maven.plugins</groupId>
  486.                     <artifactId>maven-clean-plugin</artifactId>
  487.                     <version>${maven-clean-plugin.version}</version>
  488.                 </plugin>
  489.                 <plugin>
  490.                     <groupId>org.apache.maven.plugins</groupId>
  491.                     <artifactId>maven-compiler-plugin</artifactId>
  492.                     <version>${maven-compiler-plugin.version}</version>
  493.                     <configuration>
  494.                         <source>${java.version}</source>
  495.                         <target>${java.version}</target>
  496.                         <annotationProcessorPaths>
  497.                             <path>
  498.                                 <groupId>org.springframework.boot</groupId>
  499.                                 <artifactId>spring-boot-configuration-processor</artifactId>
  500.                                 <version>${spring-boot.version}</version>
  501.                             </path>
  502.                             <path>
  503.                                 <groupId>org.mapstruct</groupId>
  504.                                 <artifactId>mapstruct-processor</artifactId>
  505.                                 <version>${mapstruct.version}</version>
  506.                             </path>
  507.                             <path>
  508.                                 <groupId>org.glassfish.jaxb</groupId>
  509.                                 <artifactId>jaxb-runtime</artifactId>
  510.                                 <version>${jaxb-runtime.version}</version>
  511.                             </path>
  512.                             <path>
  513.                                 <groupId>org.hibernate.orm</groupId>
  514.                                 <artifactId>hibernate-jpamodelgen</artifactId>
  515.                                 <version>${hibernate.version}</version>
  516.                             </path>
  517.                         </annotationProcessorPaths>
  518.                     </configuration>
  519.                 </plugin>
  520.                 <plugin>
  521.                     <groupId>org.apache.maven.plugins</groupId>
  522.                     <artifactId>maven-eclipse-plugin</artifactId>
  523.                     <version>${maven-eclipse-plugin.version}</version>
  524.                     <configuration>
  525.                         <downloadSources>true</downloadSources>
  526.                         <downloadJavadocs>true</downloadJavadocs>
  527.                     </configuration>
  528.                 </plugin>
  529.                 <plugin>
  530.                     <groupId>org.apache.maven.plugins</groupId>
  531.                     <artifactId>maven-enforcer-plugin</artifactId>
  532.                     <version>${maven-enforcer-plugin.version}</version>
  533.                     <executions>
  534.                         <execution>
  535.                             <id>enforce-versions</id>
  536.                             <goals>
  537.                                 <goal>enforce</goal>
  538.                             </goals>
  539.                         </execution>
  540.                         <execution>
  541.                             <id>enforce-dependencyConvergence</id>
  542.                             <configuration>
  543.                                 <rules>
  544.                                     <DependencyConvergence/>
  545.                                 </rules>
  546.                                 <fail>false</fail>
  547.                             </configuration>
  548.                             <goals>
  549.                                 <goal>enforce</goal>
  550.                             </goals>
  551.                         </execution>
  552.                     </executions>
  553.                     <configuration>
  554.                         <rules>
  555.                             <requireMavenVersion>
  556.                                 <message>You are running an older version of Maven. JHipster requires at least Maven ${maven.version}</message>
  557.                                 <version>[${maven.version},)</version>
  558.                             </requireMavenVersion>
  559.                             <requireJavaVersion>
  560.                                 <message>You are running an incompatible version of Java. JHipster supports JDK 17 to 21.</message>
  561.                                 <version>[17,18),[18,19),[19,20),[20,21),[21,22)</version>
  562.                             </requireJavaVersion>
  563.                         </rules>
  564.                     </configuration>
  565.                 </plugin>
  566.                 <plugin>
  567.                     <groupId>org.apache.maven.plugins</groupId>
  568.                     <artifactId>maven-failsafe-plugin</artifactId>
  569.                     <version>${maven-failsafe-plugin.version}</version>
  570.                     <configuration>
  571.                         <!-- Due to spring-boot repackage, without adding this property test classes are not found
  572.                             See https://github.com/spring-projects/spring-boot/issues/6254 -->
  573.                         <!-- Force alphabetical order to have a reproducible build -->
  574.                         <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  575.                         <runOrder>alphabetical</runOrder>
  576.                         <includes>
  577.                             <include>**/*IT*</include>
  578.                             <include>**/*IntTest*</include>
  579.                         </includes>
  580.                         <argLine>@{argLine} -Dspring.profiles.active=${profile.test}</argLine>
  581.                     </configuration>
  582.                     <executions>
  583.                         <execution>
  584.                             <id>integration-test</id>
  585.                             <goals>
  586.                                 <goal>integration-test</goal>
  587.                             </goals>
  588.                         </execution>
  589.                         <execution>
  590.                             <id>verify</id>
  591.                             <goals>
  592.                                 <goal>verify</goal>
  593.                             </goals>
  594.                         </execution>
  595.                     </executions>
  596.                 </plugin>
  597.                 <plugin>
  598.                     <groupId>org.apache.maven.plugins</groupId>
  599.                     <artifactId>maven-idea-plugin</artifactId>
  600.                     <version>${maven-idea-plugin.version}</version>
  601.                     <configuration>
  602.                         <exclude>node_modules</exclude>
  603.                     </configuration>
  604.                 </plugin>
  605.                 <plugin>
  606.                     <groupId>org.apache.maven.plugins</groupId>
  607.                     <artifactId>maven-jar-plugin</artifactId>
  608.                     <version>${maven-jar-plugin.version}</version>
  609.                 </plugin>
  610.                 <plugin>
  611.                     <groupId>org.apache.maven.plugins</groupId>
  612.                     <artifactId>maven-javadoc-plugin</artifactId>
  613.                     <version>${maven-javadoc-plugin.version}</version>
  614.                     <configuration>
  615.                         <source>${maven.compiler.source}</source>
  616.                     </configuration>
  617.                 </plugin>
  618.                 <plugin>
  619.                     <groupId>org.apache.maven.plugins</groupId>
  620.                     <artifactId>maven-resources-plugin</artifactId>
  621.                     <version>${maven-resources-plugin.version}</version>
  622.                     <executions>
  623.                         <execution>
  624.                             <id>config-resources</id>
  625.                             <phase>validate</phase>
  626.                             <goals>
  627.                                 <goal>copy-resources</goal>
  628.                             </goals>
  629.                             <configuration>
  630.                                 <outputDirectory>${project.build.directory}/classes</outputDirectory>
  631.                                 <useDefaultDelimiters>false</useDefaultDelimiters>
  632.                                 <delimiters>
  633.                                     <delimiter>#</delimiter>
  634.                                 </delimiters>
  635.                                 <resources>
  636.                                     <resource>
  637.                                         <directory>src/main/resources/</directory>
  638.                                         <filtering>true</filtering>
  639.                                         <includes>
  640.                                             <include>config/*.yml</include>
  641.                                         </includes>
  642.                                     </resource>
  643.                                 </resources>
  644.                             </configuration>
  645.                         </execution>
  646.                     </executions>
  647.                 </plugin>
  648.                 <plugin>
  649.                     <groupId>org.apache.maven.plugins</groupId>
  650.                     <artifactId>maven-site-plugin</artifactId>
  651.                     <version>${maven-site-plugin.version}</version>
  652.                 </plugin>
  653.                 <plugin>
  654.                     <groupId>org.apache.maven.plugins</groupId>
  655.                     <artifactId>maven-surefire-plugin</artifactId>
  656.                     <version>${maven-surefire-plugin.version}</version>
  657.                     <configuration>
  658.                         <!-- Force alphabetical order to have a reproducible build -->
  659.                         <runOrder>alphabetical</runOrder>
  660.                         <excludes>
  661.                             <exclude>**/*IT*</exclude>
  662.                             <exclude>**/*IntTest*</exclude>
  663.                         </excludes>
  664.                     </configuration>
  665.                 </plugin>
  666.                 <plugin>
  667.                     <groupId>org.apache.maven.plugins</groupId>
  668.                     <artifactId>maven-war-plugin</artifactId>
  669.                     <version>${maven-war-plugin.version}</version>
  670.                     <executions>
  671.                         <execution>
  672.                             <id>default-war</id>
  673.                             <goals>
  674.                                 <goal>war</goal>
  675.                             </goals>
  676.                             <phase>package</phase>
  677.                         </execution>
  678.                     </executions>
  679.                     <configuration>
  680.                         <warSourceIncludes>WEB-INF/**,META-INF/**</warSourceIncludes>
  681.                         <failOnMissingWebXml>false</failOnMissingWebXml>
  682.                         <warSourceDirectory>target/classes/static/</warSourceDirectory>
  683.                         <webResources>
  684.                             <resource>
  685.                                 <directory>src/main/webapp</directory>
  686.                                 <includes>
  687.                                     <include>WEB-INF/**</include>
  688.                                 </includes>
  689.                             </resource>
  690.                         </webResources>
  691.                     </configuration>
  692.                 </plugin>
  693.                 <plugin>
  694.                     <groupId>org.codehaus.mojo</groupId>
  695.                     <artifactId>properties-maven-plugin</artifactId>
  696.                     <version>${properties-maven-plugin.version}</version>
  697.                     <executions>
  698.                         <execution>
  699.                             <phase>initialize</phase>
  700.                             <goals>
  701.                                 <goal>read-project-properties</goal>
  702.                             </goals>
  703.                             <configuration>
  704.                                 <files>
  705.                                     <file>sonar-project.properties</file>
  706.                                 </files>
  707.                             </configuration>
  708.                         </execution>
  709.                     </executions>
  710.                 </plugin>
  711.                 <plugin>
  712.                     <groupId>org.gaul</groupId>
  713.                     <artifactId>modernizer-maven-plugin</artifactId>
  714.                     <version>${modernizer-maven-plugin.version}</version>
  715.                     <executions>
  716.                         <execution>
  717.                             <id>modernizer</id>
  718.                             <phase>package</phase>
  719.                             <goals>
  720.                                 <goal>modernizer</goal>
  721.                             </goals>
  722.                         </execution>
  723.                     </executions>
  724.                     <configuration>
  725.                         <javaVersion>${java.version}</javaVersion>
  726.                     </configuration>
  727.                 </plugin>
  728.                 <plugin>
  729.                     <groupId>org.jacoco</groupId>
  730.                     <artifactId>jacoco-maven-plugin</artifactId>
  731.                     <version>${jacoco-maven-plugin.version}</version>
  732.                     <executions>
  733.                         <execution>
  734.                             <id>pre-unit-tests</id>
  735.                             <goals>
  736.                                 <goal>prepare-agent</goal>
  737.                             </goals>
  738.                         </execution>
  739.                         <execution>
  740.                             <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run -->
  741.                             <id>post-unit-test</id>
  742.                             <phase>test</phase>
  743.                             <goals>
  744.                                 <goal>report</goal>
  745.                             </goals>
  746.                         </execution>
  747.                         <execution>
  748.                             <id>pre-integration-tests</id>
  749.                             <goals>
  750.                                 <goal>prepare-agent-integration</goal>
  751.                             </goals>
  752.                         </execution>
  753.                         <execution>
  754.                             <!-- Ensures that the code coverage report for integration tests is created after integration tests have been run -->
  755.                             <id>post-integration-tests</id>
  756.                             <phase>post-integration-test</phase>
  757.                             <goals>
  758.                                 <goal>report-integration</goal>
  759.                             </goals>
  760.                         </execution>
  761.                     </executions>
  762.                 </plugin>
  763.                 <plugin>
  764.                     <groupId>org.liquibase</groupId>
  765.                     <artifactId>liquibase-maven-plugin</artifactId>
  766.                     <version>${liquibase.version}</version>
  767.                     <configuration>
  768.                         <changeLogFile>config/liquibase/master.xml</changeLogFile>
  769.                         <diffChangeLogFile>${project.basedir}/src/main/resources/config/liquibase/changelog/${maven.build.timestamp}_changelog.xml</diffChangeLogFile>
  770.                         <driver>${liquibase-plugin.driver}</driver>
  771.                         <url>${liquibase-plugin.url}</url>
  772.                         <defaultSchemaName/>
  773.                         <username>${liquibase-plugin.username}</username>
  774.                         <password>${liquibase-plugin.password}</password>
  775.                         <referenceUrl>hibernate:spring:com.mycompany.myapp.domain?dialect=${liquibase-plugin.hibernate-dialect}&amp;hibernate.physical_naming_strategy=org.hibernate.boot.model.naming.CamelCaseToUnderscoresNamingStrategy&amp;hibernate.implicit_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy</referenceUrl>
  776.                         <verbose>true</verbose>
  777.                         <logging>debug</logging>
  778.                         <contexts>!test</contexts>
  779.                     </configuration>
  780.                     <dependencies>
  781.                         <dependency>
  782.                             <groupId>org.liquibase</groupId>
  783.                             <artifactId>liquibase-core</artifactId>
  784.                             <version>${liquibase.version}</version>
  785.                         </dependency>
  786.                         <dependency>
  787.                             <groupId>org.liquibase.ext</groupId>
  788.                             <artifactId>liquibase-hibernate6</artifactId>
  789.                             <version>${liquibase.version}</version>
  790.                         </dependency>
  791.                         <dependency>
  792.                             <groupId>org.springframework.boot</groupId>
  793.                             <artifactId>spring-boot-starter-data-jpa</artifactId>
  794.                             <version>${spring-boot.version}</version>
  795.                         </dependency>
  796.                         <dependency>
  797.                             <groupId>jakarta.validation</groupId>
  798.                             <artifactId>jakarta.validation-api</artifactId>
  799.                             <version>${validation-api.version}</version>
  800.                         </dependency>
  801.                         <dependency>
  802.                             <groupId>com.h2database</groupId>
  803.                             <artifactId>h2</artifactId>
  804.                             <version>${h2.version}</version>
  805.                         </dependency>
  806.                     </dependencies>
  807.                 </plugin>
  808.                 <plugin>
  809.                     <groupId>org.sonarsource.scanner.maven</groupId>
  810.                     <artifactId>sonar-maven-plugin</artifactId>
  811.                     <version>${sonar-maven-plugin.version}</version>
  812.                 </plugin>
  813.             </plugins>
  814.         </pluginManagement>
  815.     </build>
  816.  
  817.     <profiles>
  818.         <profile>
  819.             <id>api-docs</id>
  820.             <properties>
  821.                 <profile.api-docs>,api-docs</profile.api-docs>
  822.             </properties>
  823.         </profile>
  824.         <profile>
  825.             <id>dev</id>
  826.             <activation>
  827.                 <activeByDefault>true</activeByDefault>
  828.             </activation>
  829.             <properties>
  830.                 <!-- default Spring profiles -->
  831.                 <spring.profiles.active>dev${profile.tls}${profile.no-liquibase}</spring.profiles.active>
  832.                 <profile.test>testdev</profile.test>
  833.                 <liquibase-plugin.hibernate-dialect>org.hibernate.dialect.H2Dialect</liquibase-plugin.hibernate-dialect>
  834.                 <liquibase-plugin.driver>org.h2.Driver</liquibase-plugin.driver>
  835.                 <liquibase-plugin.url>jdbc:h2:tcp://localhost:18080/mem:myapplication</liquibase-plugin.url>
  836.                 <liquibase-plugin.username>myapplication</liquibase-plugin.username>
  837.                 <liquibase-plugin.password/>
  838.             </properties>
  839.             <dependencies>
  840.                 <dependency>
  841.                     <groupId>org.springframework.boot</groupId>
  842.                     <artifactId>spring-boot-devtools</artifactId>
  843.                     <optional>true</optional>
  844.                 </dependency>
  845.                 <dependency>
  846.                     <groupId>com.h2database</groupId>
  847.                     <artifactId>h2</artifactId>
  848.                 </dependency>
  849.             </dependencies>
  850.             <build>
  851.                 <plugins>
  852.                     <plugin>
  853.                         <groupId>org.apache.maven.plugins</groupId>
  854.                         <artifactId>maven-compiler-plugin</artifactId>
  855.                         <configuration>
  856.                             <testExcludes>
  857.                                 <testExclude>com/mycompany/myapp/config/PostgreSqlTestContainer.java</testExclude>
  858.                             </testExcludes>
  859.                         </configuration>
  860.                     </plugin>
  861.                 </plugins>
  862.             </build>
  863.         </profile>
  864.         <profile>
  865.             <!-- This is automatically activated when working in Eclipse -->
  866.             <id>eclipse</id>
  867.             <activation>
  868.                 <property>
  869.                     <name>m2e.version</name>
  870.                 </property>
  871.             </activation>
  872.             <dependencies>
  873.                 <dependency>
  874.                     <!-- The following dependency is added due to issue #9175-->
  875.                     <groupId>org.springframework.boot</groupId>
  876.                     <artifactId>spring-boot-starter-undertow</artifactId>
  877.                 </dependency>
  878.             </dependencies>
  879.             <build>
  880.                 <pluginManagement>
  881.                     <plugins>
  882.                         <!--
  883.                            This plugin's configuration is used to store Eclipse m2e settings only.
  884.                            It has no influence on the Maven build itself.
  885.                            Remove when the m2e plugin can correctly bind to Maven lifecycle
  886.                        -->
  887.                         <plugin>
  888.                             <groupId>org.eclipse.m2e</groupId>
  889.                             <artifactId>lifecycle-mapping</artifactId>
  890.                             <version>${lifecycle-mapping.version}</version>
  891.                             <configuration>
  892.                                 <lifecycleMappingMetadata>
  893.                                     <pluginExecutions>
  894.                                         <pluginExecution>
  895.                                             <pluginExecutionFilter>
  896.                                                 <groupId>org.jacoco</groupId>
  897.                                                 <artifactId>jacoco-maven-plugin</artifactId>
  898.                                                 <versionRange>${jacoco-maven-plugin.version}</versionRange>
  899.                                                 <goals>
  900.                                                     <goal>prepare-agent</goal>
  901.                                                 </goals>
  902.                                             </pluginExecutionFilter>
  903.                                             <action>
  904.                                                 <ignore/>
  905.                                             </action>
  906.                                         </pluginExecution>
  907.                                         <pluginExecution>
  908.                                             <pluginExecutionFilter>
  909.                                                 <groupId>com.github.eirslett</groupId>
  910.                                                 <artifactId>frontend-maven-plugin</artifactId>
  911.                                                 <versionRange>${frontend-maven-plugin.version}</versionRange>
  912.                                                 <goals>
  913.                                                     <goal>install-node-and-npm</goal>
  914.                                                     <goal>npm</goal>
  915.                                                 </goals>
  916.                                             </pluginExecutionFilter>
  917.                                             <action>
  918.                                                 <ignore/>
  919.                                             </action>
  920.                                         </pluginExecution>
  921.                                     </pluginExecutions>
  922.                                 </lifecycleMappingMetadata>
  923.                             </configuration>
  924.                         </plugin>
  925.                     </plugins>
  926.                 </pluginManagement>
  927.             </build>
  928.         </profile>
  929.         <profile>
  930.             <!--
  931.                Profile for applying IDE-specific configuration.
  932.                At the moment it configures MapStruct and Hibernate JPA Metamodel Generator, which you need when working
  933.                with DTOs and entity filtering.
  934.            -->
  935.             <id>IDE</id>
  936.             <dependencies>
  937.                 <dependency>
  938.                     <groupId>org.mapstruct</groupId>
  939.                     <artifactId>mapstruct-processor</artifactId>
  940.                     <version>${mapstruct.version}</version>
  941.                 </dependency>
  942.                 <dependency>
  943.                     <groupId>org.hibernate.orm</groupId>
  944.                     <artifactId>hibernate-jpamodelgen</artifactId>
  945.                 </dependency>
  946.             </dependencies>
  947.         </profile>
  948.         <profile>
  949.             <id>no-liquibase</id>
  950.             <properties>
  951.                 <profile.no-liquibase>,no-liquibase</profile.no-liquibase>
  952.             </properties>
  953.         </profile>
  954.         <profile>
  955.             <id>prod</id>
  956.             <properties>
  957.                 <!-- default Spring profiles -->
  958.                 <spring.profiles.active>prod${profile.api-docs}${profile.tls}${profile.e2e}${profile.no-liquibase}</spring.profiles.active>
  959.                 <profile.test>testprod</profile.test>
  960.                 <liquibase-plugin.hibernate-dialect>org.hibernate.dialect.PostgreSQLDialect</liquibase-plugin.hibernate-dialect>
  961.                 <liquibase-plugin.driver>org.postgresql.Driver</liquibase-plugin.driver>
  962.                 <liquibase-plugin.url>jdbc:postgresql://localhost:5432/myapplication</liquibase-plugin.url>
  963.                 <liquibase-plugin.username>myapplication</liquibase-plugin.username>
  964.                 <liquibase-plugin.password/>
  965.             </properties>
  966.             <build>
  967.                 <plugins>
  968.                     <plugin>
  969.                         <groupId>org.apache.maven.plugins</groupId>
  970.                         <artifactId>maven-clean-plugin</artifactId>
  971.                         <configuration>
  972.                             <filesets>
  973.                                 <fileset>
  974.                                     <directory>target/classes/static/</directory>
  975.                                 </fileset>
  976.                             </filesets>
  977.                         </configuration>
  978.                     </plugin>
  979.                     <plugin>
  980.                         <groupId>org.springframework.boot</groupId>
  981.                         <artifactId>spring-boot-maven-plugin</artifactId>
  982.                         <executions>
  983.                             <execution>
  984.                                 <goals>
  985.                                     <goal>build-info</goal>
  986.                                 </goals>
  987.                             </execution>
  988.                         </executions>
  989.                     </plugin>
  990.                     <plugin>
  991.                         <groupId>com.github.eirslett</groupId>
  992.                         <artifactId>frontend-maven-plugin</artifactId>
  993.                         <executions>
  994.                             <execution>
  995.                                 <id>install-node-and-npm</id>
  996.                                 <goals>
  997.                                     <goal>install-node-and-npm</goal>
  998.                                 </goals>
  999.                             </execution>
  1000.                             <execution>
  1001.                                 <id>npm install</id>
  1002.                                 <goals>
  1003.                                     <goal>npm</goal>
  1004.                                 </goals>
  1005.                             </execution>
  1006.                             <execution>
  1007.                                 <id>webapp build test</id>
  1008.                                 <goals>
  1009.                                     <goal>npm</goal>
  1010.                                 </goals>
  1011.                                 <phase>test</phase>
  1012.                                 <configuration>
  1013.                                     <arguments>run webapp:test</arguments>
  1014.                                     <npmInheritsProxyConfigFromMaven>false</npmInheritsProxyConfigFromMaven>
  1015.                                 </configuration>
  1016.                             </execution>
  1017.                             <execution>
  1018.                                 <id>webapp build prod</id>
  1019.                                 <goals>
  1020.                                     <goal>npm</goal>
  1021.                                 </goals>
  1022.                                 <phase>generate-resources</phase>
  1023.                                 <configuration>
  1024.                                     <arguments>run webapp:prod</arguments>
  1025.                                     <environmentVariables>
  1026.                                         <APP_VERSION>${project.version}</APP_VERSION>
  1027.                                     </environmentVariables>
  1028.                                     <npmInheritsProxyConfigFromMaven>false</npmInheritsProxyConfigFromMaven>
  1029.                                 </configuration>
  1030.                             </execution>
  1031.                         </executions>
  1032.                     </plugin>
  1033.                     <plugin>
  1034.                         <groupId>io.github.git-commit-id</groupId>
  1035.                         <artifactId>git-commit-id-maven-plugin</artifactId>
  1036.                     </plugin>
  1037.                 </plugins>
  1038.             </build>
  1039.             <dependencies>
  1040.                 <dependency>
  1041.                     <groupId>org.postgresql</groupId>
  1042.                     <artifactId>postgresql</artifactId>
  1043.                 </dependency>
  1044.             </dependencies>
  1045.         </profile>
  1046.         <profile>
  1047.             <id>tls</id>
  1048.             <properties>
  1049.                 <profile.tls>,tls</profile.tls>
  1050.             </properties>
  1051.         </profile>
  1052.         <profile>
  1053.             <id>war</id>
  1054.             <build>
  1055.                 <plugins>
  1056.                     <plugin>
  1057.                         <groupId>org.apache.maven.plugins</groupId>
  1058.                         <artifactId>maven-war-plugin</artifactId>
  1059.                     </plugin>
  1060.                 </plugins>
  1061.             </build>
  1062.         </profile>
  1063.         <profile>
  1064.             <id>webapp</id>
  1065.             <activation>
  1066.                 <activeByDefault>true</activeByDefault>
  1067.             </activation>
  1068.             <build>
  1069.                 <plugins>
  1070.                     <plugin>
  1071.                         <groupId>net.nicoulaj.maven.plugins</groupId>
  1072.                         <artifactId>checksum-maven-plugin</artifactId>
  1073.                         <version>${checksum-maven-plugin.version}</version>
  1074.                         <executions>
  1075.                             <execution>
  1076.                                 <id>create-pre-compiled-webapp-checksum</id>
  1077.                                 <goals>
  1078.                                     <goal>files</goal>
  1079.                                 </goals>
  1080.                                 <phase>generate-resources</phase>
  1081.                             </execution>
  1082.                             <execution>
  1083.                                 <id>create-compiled-webapp-checksum</id>
  1084.                                 <goals>
  1085.                                     <goal>files</goal>
  1086.                                 </goals>
  1087.                                 <phase>compile</phase>
  1088.                                 <configuration>
  1089.                                     <csvSummaryFile>checksums.csv.old</csvSummaryFile>
  1090.                                 </configuration>
  1091.                             </execution>
  1092.                         </executions>
  1093.                         <configuration>
  1094.                             <fileSets>
  1095.                                 <fileSet>
  1096.                                     <directory>${project.basedir}</directory>
  1097.                                     <includes>
  1098.                                         <include>src/main/webapp/**/*.*</include>
  1099.                                         <include>target/classes/static/**/*.*</include>
  1100.                                         <include>package-lock.json</include>
  1101.                                         <include>package.json</include>
  1102.                                         <include>tsconfig.json</include>
  1103.                                         <include>tsconfig.app.json</include>
  1104.                                         <include>webpack/*.*</include>
  1105.                                     </includes>
  1106.                                     <excludes>
  1107.                                         <exclude>**/app/**/service-worker.js</exclude>
  1108.                                         <exclude>**/app/**/vendor.css</exclude>
  1109.                                     </excludes>
  1110.                                 </fileSet>
  1111.                             </fileSets>
  1112.                             <failOnError>false</failOnError>
  1113.                             <failIfNoFiles>false</failIfNoFiles>
  1114.                             <individualFiles>false</individualFiles>
  1115.                             <algorithms>
  1116.                                 <algorithm>SHA-1</algorithm>
  1117.                             </algorithms>
  1118.                             <includeRelativePath>true</includeRelativePath>
  1119.                             <quiet>true</quiet>
  1120.                         </configuration>
  1121.                     </plugin>
  1122.                     <plugin>
  1123.                         <groupId>org.apache.maven.plugins</groupId>
  1124.                         <artifactId>maven-antrun-plugin</artifactId>
  1125.                         <version>${maven-antrun-plugin.version}</version>
  1126.                         <executions>
  1127.                             <execution>
  1128.                                 <id>eval-frontend-checksum</id>
  1129.                                 <phase>generate-resources</phase>
  1130.                                 <goals>
  1131.                                     <goal>run</goal>
  1132.                                 </goals>
  1133.                                 <configuration>
  1134.                                     <target>
  1135.                                         <condition property="skip.npm" value="true" else="false">
  1136.                                             <and>
  1137.                                                 <available file="checksums.csv" filepath="${project.build.directory}"/>
  1138.                                                 <available file="checksums.csv.old" filepath="${project.build.directory}"/>
  1139.                                                 <filesmatch file1="${project.build.directory}/checksums.csv" file2="${project.build.directory}/checksums.csv.old"/>
  1140.                                             </and>
  1141.                                         </condition>
  1142.                                     </target>
  1143.                                     <exportAntProperties>true</exportAntProperties>
  1144.                                 </configuration>
  1145.                             </execution>
  1146.                         </executions>
  1147.                     </plugin>
  1148.                     <plugin>
  1149.                         <groupId>com.github.eirslett</groupId>
  1150.                         <artifactId>frontend-maven-plugin</artifactId>
  1151.                         <executions>
  1152.                             <execution>
  1153.                                 <id>install-node-and-npm</id>
  1154.                                 <goals>
  1155.                                     <goal>install-node-and-npm</goal>
  1156.                                 </goals>
  1157.                             </execution>
  1158.                             <execution>
  1159.                                 <id>npm install</id>
  1160.                                 <goals>
  1161.                                     <goal>npm</goal>
  1162.                                 </goals>
  1163.                             </execution>
  1164.                             <execution>
  1165.                                 <id>webapp build dev</id>
  1166.                                 <goals>
  1167.                                     <goal>npm</goal>
  1168.                                 </goals>
  1169.                                 <phase>generate-resources</phase>
  1170.                                 <configuration>
  1171.                                     <arguments>run webapp:build</arguments>
  1172.                                     <environmentVariables>
  1173.                                         <APP_VERSION>${project.version}</APP_VERSION>
  1174.                                     </environmentVariables>
  1175.                                     <npmInheritsProxyConfigFromMaven>false</npmInheritsProxyConfigFromMaven>
  1176.                                 </configuration>
  1177.                             </execution>
  1178.                         </executions>
  1179.                     </plugin>
  1180.                 </plugins>
  1181.             </build>
  1182.             <properties>
  1183.                 <!-- default Spring profiles -->
  1184.                 <spring.profiles.active>dev${profile.no-liquibase}</spring.profiles.active>
  1185.             </properties>
  1186.         </profile>
  1187.     </profiles>
  1188. </project>
  1189.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement