|
| 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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>example</groupId> |
| 5 | + <artifactId>angular-validator</artifactId> |
| 6 | + <version>0.1.0-SNAPSHOT</version> |
| 7 | + <packaging>jar</packaging> |
| 8 | + <name>basic-angular-validator</name> |
| 9 | + <description>Springboot Template page Demo project</description> |
| 10 | + <parent> |
| 11 | + <groupId>org.springframework.boot</groupId> |
| 12 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 13 | + <version>1.5.4.RELEASE</version> |
| 14 | + <relativePath/> |
| 15 | + </parent> |
| 16 | + <properties> |
| 17 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 18 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 19 | + <java.version>1.8</java.version> |
| 20 | + <finalName>${project.groupId}.${project.artifactId}</finalName> |
| 21 | + <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version> |
| 22 | + <java.version>1.8</java.version> |
| 23 | + <maven.compiler.source>${java.version}</maven.compiler.source> |
| 24 | + <maven.compiler.target>${java.version}</maven.compiler.target> |
| 25 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
| 26 | + <thymeleaf.version>3.0.8.RELEASE</thymeleaf.version> |
| 27 | + <thymeleaf-extras-java8time.version>3.0.0.RELEASE</thymeleaf-extras-java8time.version> |
| 28 | + <thymeleaf-layout-dialect.version>2.2.2</thymeleaf-layout-dialect.version> |
| 29 | + <assertj.version>3.8.0</assertj.version> |
| 30 | + |
| 31 | + <webjars-locator.version>0.30</webjars-locator.version> |
| 32 | + <webjars.bootstrap.version>3.3.7</webjars.bootstrap.version> |
| 33 | + <webjars.jquery.version>3.2.1</webjars.jquery.version> |
| 34 | + </properties> |
| 35 | + <dependencies> |
| 36 | + <dependency> |
| 37 | + <groupId>org.springframework.boot</groupId> |
| 38 | + <artifactId>spring-boot-devtools</artifactId> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>org.springframework.boot</groupId> |
| 42 | + <artifactId>spring-boot-starter-web</artifactId> |
| 43 | + </dependency> |
| 44 | + <dependency> |
| 45 | + <groupId>org.springframework.boot</groupId> |
| 46 | + <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| 47 | +<!-- NOTE: after switchihg 1.5.4.RELEASE to 2.3.4.RELEASE |
| 48 | +[ERROR] Failed to execute goal on project static_page: Could not resolve dependencies for project |
| 49 | +Could not find artifact org.thymeleaf:thymeleaf-spring5:jar:3.0.6.RELEASE |
| 50 | +in central (https://repo.maven.apache.org/maven2) |
| 51 | +https://mvnrepository.com/artifact/org.thymeleaf/thymeleaf-spring5 |
| 52 | +--> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>org.thymeleaf.extras</groupId> |
| 56 | + <artifactId>thymeleaf-extras-java8time</artifactId> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>org.springframework.boot</groupId> |
| 60 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>org.webjars</groupId> |
| 64 | + <artifactId>bootstrap</artifactId> |
| 65 | + <version>${webjars.bootstrap.version}</version> |
| 66 | + </dependency> |
| 67 | + <dependency> |
| 68 | + <groupId>org.webjars</groupId> |
| 69 | + <artifactId>jquery</artifactId> |
| 70 | + <version>${webjars.jquery.version}</version> |
| 71 | + </dependency> |
| 72 | + <dependency> |
| 73 | + <groupId>org.webjars</groupId> |
| 74 | + <artifactId>webjars-locator</artifactId> |
| 75 | + <version>${webjars-locator.version}</version> |
| 76 | +<!-- NOTE: after switchihg 1.5.4.RELEASE to 2.3.4.RELEASE |
| 77 | +[ERROR] 'dependencies.dependency.version' for org.webjars:webjars-locator:jar is missing. @ line 64, column 17 |
| 78 | +[ERROR] |
| 79 | +
|
| 80 | +--> |
| 81 | + </dependency> |
| 82 | + <!-- Test --> |
| 83 | + <dependency> |
| 84 | + <groupId>org.springframework.boot</groupId> |
| 85 | + <artifactId>spring-boot-starter-test</artifactId> |
| 86 | + <scope>test</scope> |
| 87 | + </dependency> |
| 88 | + <dependency> |
| 89 | + <groupId>org.owasp.antisamy</groupId> |
| 90 | + <artifactId>antisamy</artifactId> |
| 91 | + <version>1.5.9</version> |
| 92 | + </dependency> |
| 93 | + <dependency> |
| 94 | + <groupId>org.seleniumhq.selenium</groupId> |
| 95 | + <artifactId>selenium-java</artifactId> |
| 96 | + <version>3.13.0</version> |
| 97 | + <scope>test</scope> |
| 98 | + </dependency> |
| 99 | + </dependencies> |
| 100 | + <build> |
| 101 | + <sourceDirectory>src/main/java</sourceDirectory> |
| 102 | + <plugins> |
| 103 | + <plugin> |
| 104 | + <groupId>org.jacoco</groupId> |
| 105 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 106 | + <version>${jacoco-maven-plugin.version}</version> |
| 107 | + <executions> |
| 108 | + <execution> |
| 109 | + <goals> |
| 110 | + <goal>prepare-agent</goal> |
| 111 | + </goals> |
| 112 | + </execution> |
| 113 | + <execution> |
| 114 | + <id>report</id> |
| 115 | + <phase>test</phase> |
| 116 | + <goals> |
| 117 | + <goal>report</goal> |
| 118 | + </goals> |
| 119 | + </execution> |
| 120 | + <execution> |
| 121 | + <id>jacoco-check</id> |
| 122 | + <goals> |
| 123 | + <goal>check</goal> |
| 124 | + </goals> |
| 125 | + <configuration> |
| 126 | + <rules> |
| 127 | + <rule> |
| 128 | + <element>PACKAGE</element> |
| 129 | + <limits> |
| 130 | + <limit> |
| 131 | + <counter>LINE</counter> |
| 132 | + <value>COVEREDRATIO</value> |
| 133 | + <minimum>${minimum.coverage}</minimum> |
| 134 | + </limit> |
| 135 | + </limits> |
| 136 | + </rule> |
| 137 | + </rules> |
| 138 | + </configuration> |
| 139 | + </execution> |
| 140 | + </executions> |
| 141 | + </plugin> |
| 142 | + <plugin> |
| 143 | + <groupId>org.springframework.boot</groupId> |
| 144 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 145 | + <configuration> |
| 146 | + <finalName>${finalName}</finalName> |
| 147 | + </configuration> |
| 148 | + </plugin> |
| 149 | + </plugins> |
| 150 | + </build> |
| 151 | +</project> |
0 commit comments