|
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 |
|
6 | | - <groupId>io.github.alaugks</groupId> |
7 | 6 | <artifactId>spring-messagesource-xliff-example</artifactId> |
8 | | - |
9 | 7 | <version>2.0.0.3</version> |
10 | | - |
11 | 8 | <packaging>jar</packaging> |
12 | 9 |
|
13 | 10 | <name>${project.groupId}:${project.artifactId}</name> |
14 | 11 | <description>Example: Spring MessageSource for XLIFF files</description> |
15 | 12 | <url>https://github.com/alaugks/spring-xliff-translation-example</url> |
16 | 13 |
|
17 | | - <properties> |
18 | | - <java.version>17</java.version> |
19 | | - </properties> |
20 | | - |
21 | 14 | <parent> |
22 | | - <groupId>org.springframework.boot</groupId> |
| 15 | + <groupId>io.github.alaugks</groupId> |
23 | 16 | <artifactId>spring-boot-starter-parent</artifactId> |
24 | | - <version>3.3.4</version> |
25 | | - <relativePath/> |
| 17 | + <version>3.2.12</version> |
26 | 18 | </parent> |
27 | 19 |
|
28 | 20 | <dependencies> |
|
42 | 34 | <dependency> |
43 | 35 | <groupId>io.github.alaugks</groupId> |
44 | 36 | <artifactId>spring-messagesource-xliff</artifactId> |
45 | | - <version>2.0.0</version> |
| 37 | + <version>2.0.1-SNAPSHOT</version> |
46 | 38 | </dependency> |
47 | 39 | <dependency> |
48 | 40 | <groupId>io.github.alaugks</groupId> |
|
58 | 50 | </dependency> |
59 | 51 | </dependencies> |
60 | 52 |
|
61 | | - <profiles> |
62 | | - |
63 | | - <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
64 | | - <!-- TEST COVERAGE --> |
65 | | - <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
66 | | - <!-- @see https://howtodoinjava.com/junit5/jacoco-test-coverage/ --> |
67 | | - <!-- mvn test -P test-coverage --> |
68 | | - <profile> |
69 | | - <id>test-coverage</id> |
70 | | - <build> |
71 | | - <plugins> |
72 | | - <plugin> |
73 | | - <groupId>org.jacoco</groupId> |
74 | | - <artifactId>jacoco-maven-plugin</artifactId> |
75 | | - <version>0.8.11</version> |
76 | | - <executions> |
77 | | - <execution> |
78 | | - <id>before-unit-test-execution</id> |
79 | | - <goals> |
80 | | - <goal>prepare-agent</goal> |
81 | | - </goals> |
82 | | - <configuration> |
83 | | - <destFile>${project.build.directory}/jacoco-output/jacoco-unit-tests.exec</destFile> |
84 | | - <propertyName>surefire.jacoco.args</propertyName> |
85 | | - </configuration> |
86 | | - </execution> |
87 | | - <execution> |
88 | | - <id>after-unit-test-execution</id> |
89 | | - <phase>test</phase> |
90 | | - <goals> |
91 | | - <goal>report</goal> |
92 | | - </goals> |
93 | | - <configuration> |
94 | | - <dataFile>${project.build.directory}/jacoco-output/jacoco-unit-tests.exec</dataFile> |
95 | | - <outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory> |
96 | | - </configuration> |
97 | | - </execution> |
98 | | - <execution> |
99 | | - <id>before-integration-test-execution</id> |
100 | | - <phase>pre-integration-test</phase> |
101 | | - <goals> |
102 | | - <goal>prepare-agent</goal> |
103 | | - </goals> |
104 | | - <configuration> |
105 | | - <destFile>${project.build.directory}/jacoco-output/jacoco-integration-tests.exec |
106 | | - </destFile> |
107 | | - <propertyName>failsafe.jacoco.args</propertyName> |
108 | | - </configuration> |
109 | | - </execution> |
110 | | - <execution> |
111 | | - <id>after-integration-test-execution</id> |
112 | | - <phase>post-integration-test</phase> |
113 | | - <goals> |
114 | | - <goal>report</goal> |
115 | | - </goals> |
116 | | - <configuration> |
117 | | - <dataFile>${project.build.directory}/jacoco-output/jacoco-integration-tests.exec |
118 | | - </dataFile> |
119 | | - <outputDirectory> |
120 | | - ${project.reporting.outputDirectory}/jacoco-integration-test-coverage-report |
121 | | - </outputDirectory> |
122 | | - </configuration> |
123 | | - </execution> |
124 | | - <execution> |
125 | | - <id>merge-unit-and-integration</id> |
126 | | - <phase>post-integration-test</phase> |
127 | | - <goals> |
128 | | - <goal>merge</goal> |
129 | | - </goals> |
130 | | - <configuration> |
131 | | - <fileSets> |
132 | | - <fileSet> |
133 | | - <directory>${project.build.directory}/jacoco-output/</directory> |
134 | | - <includes> |
135 | | - <include>*.exec</include> |
136 | | - </includes> |
137 | | - </fileSet> |
138 | | - </fileSets> |
139 | | - <destFile>${project.build.directory}/jacoco-output/merged.exec</destFile> |
140 | | - </configuration> |
141 | | - </execution> |
142 | | - <execution> |
143 | | - <id>create-merged-report</id> |
144 | | - <phase>post-integration-test</phase> |
145 | | - <goals> |
146 | | - <goal>report</goal> |
147 | | - </goals> |
148 | | - <configuration> |
149 | | - <dataFile>${project.build.directory}/jacoco-output/merged.exec</dataFile> |
150 | | - <outputDirectory> |
151 | | - ${project.reporting.outputDirectory}/jacoco-merged-test-coverage-report |
152 | | - </outputDirectory> |
153 | | - </configuration> |
154 | | - </execution> |
155 | | - <execution> |
156 | | - <id>check</id> |
157 | | - <phase>verify</phase> |
158 | | - <goals> |
159 | | - <goal>check</goal> |
160 | | - </goals> |
161 | | - <configuration> |
162 | | - <rules> |
163 | | - <rule> |
164 | | - <element>CLASS</element> |
165 | | - <excludes> |
166 | | - <exclude>*Test</exclude> |
167 | | - <exclude>*IT</exclude> |
168 | | - </excludes> |
169 | | - <limits> |
170 | | - <limit> |
171 | | - <counter>LINE</counter> |
172 | | - <value>COVEREDRATIO</value> |
173 | | - <minimum>100%</minimum> |
174 | | - </limit> |
175 | | - </limits> |
176 | | - </rule> |
177 | | - </rules> |
178 | | - <dataFile>${project.build.directory}/jacoco-output/merged.exec</dataFile> |
179 | | - </configuration> |
180 | | - </execution> |
181 | | - </executions> |
182 | | - </plugin> |
183 | | - <plugin> |
184 | | - <groupId>org.apache.maven.plugins</groupId> |
185 | | - <artifactId>maven-surefire-plugin</artifactId> |
186 | | - <version>2.22.2</version> |
187 | | - <configuration> |
188 | | - <argLine>${surefire.jacoco.args}</argLine> |
189 | | - </configuration> |
190 | | - </plugin> |
191 | | - <plugin> |
192 | | - <groupId>org.apache.maven.plugins</groupId> |
193 | | - <artifactId>maven-failsafe-plugin</artifactId> |
194 | | - <version>2.22.2</version> |
195 | | - <configuration> |
196 | | - <argLine>${failsafe.jacoco.args}</argLine> |
197 | | - </configuration> |
198 | | - <executions> |
199 | | - <execution> |
200 | | - <goals> |
201 | | - <goal>integration-test</goal> |
202 | | - <goal>verify</goal> |
203 | | - </goals> |
204 | | - </execution> |
205 | | - </executions> |
206 | | - </plugin> |
207 | | - </plugins> |
208 | | - </build> |
209 | | - </profile> |
210 | | - |
211 | | - </profiles> |
| 53 | + <repositories> |
| 54 | + <repository> |
| 55 | + <id>maven-snapshots</id> |
| 56 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> |
| 57 | + <layout>default</layout> |
| 58 | + <releases> |
| 59 | + <enabled>false</enabled> |
| 60 | + </releases> |
| 61 | + <snapshots> |
| 62 | + <enabled>true</enabled> |
| 63 | + </snapshots> |
| 64 | + </repository> |
| 65 | + </repositories> |
212 | 66 |
|
213 | 67 | <build> |
214 | 68 | <finalName>application</finalName> |
|
0 commit comments