Skip to content

Commit e406c59

Browse files
committed
release 7.1.1
1 parent 0c0e05e commit e406c59

File tree

4 files changed

+18
-10
lines changed

4 files changed

+18
-10
lines changed

jcp-tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<jcp.test.version>7.1.1-SNAPSHOT</jcp.test.version>
12+
<jcp.test.version>7.1.1</jcp.test.version>
1313
<junit.version>5.4.2</junit.version>
1414
<maven.compiler.source>1.8</maven.compiler.source>
1515
<maven.compiler.target>1.8</maven.compiler.target>

jcp/pom.xml

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jcp-pom</artifactId>
8-
<version>7.1.1-SNAPSHOT</version>
8+
<version>7.1.1</version>
99
</parent>
1010

1111
<artifactId>jcp</artifactId>
@@ -143,12 +143,12 @@
143143
<dependency>
144144
<groupId>commons-io</groupId>
145145
<artifactId>commons-io</artifactId>
146-
<version>2.13.0</version>
146+
<version>2.15.1</version>
147147
</dependency>
148148
<dependency>
149149
<groupId>org.apache.commons</groupId>
150150
<artifactId>commons-text</artifactId>
151-
<version>1.10.0</version>
151+
<version>1.11.0</version>
152152
</dependency>
153153
<dependency>
154154
<groupId>commons-codec</groupId>
@@ -455,6 +455,7 @@
455455
<exclude>META-INF/services/org.apache.*</exclude>
456456
<exclude>META-INF/services/org.w3c.*</exclude>
457457
<exclude>META-INF/services/org.xml.*</exclude>
458+
<exclude>META-INF/versions/9/module-info.class</exclude>
458459
</excludes>
459460
</filter>
460461
</filters>

jcp/src/main/java/com/igormaznitsa/jcp/context/CommentRemoverType.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public enum CommentRemoverType {
2727
*/
2828
public static String makeListOfAllRemoverIds() {
2929
return Arrays.stream(CommentRemoverType.values())
30-
.map(Enum::toString).collect(Collectors.joining(","));
30+
.map(Enum::name).collect(Collectors.joining(","));
3131
}
3232

3333
}

pom.xml

+12-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jcp-pom</artifactId>
8-
<version>7.1.1-SNAPSHOT</version>
8+
<version>7.1.1</version>
99
<packaging>pom</packaging>
1010

1111
<url>https://github.com/raydac/java-comment-preprocessor</url>
@@ -140,12 +140,12 @@
140140
<plugin>
141141
<groupId>org.codehaus.mojo</groupId>
142142
<artifactId>animal-sniffer-maven-plugin</artifactId>
143-
<version>1.22</version>
143+
<version>1.23</version>
144144
</plugin>
145145
<plugin>
146146
<groupId>org.apache.maven.plugins</groupId>
147147
<artifactId>maven-enforcer-plugin</artifactId>
148-
<version>3.1.0</version>
148+
<version>3.4.1</version>
149149
</plugin>
150150
<plugin>
151151
<groupId>org.apache.maven.plugins</groupId>
@@ -180,6 +180,13 @@
180180
<requireMavenVersion>
181181
<version>[${min.maven.api}},)</version>
182182
</requireMavenVersion>
183+
<banDuplicateClasses>
184+
<scopes>
185+
<scope>compile</scope>
186+
</scopes>
187+
<findAllDuplicates>true</findAllDuplicates>
188+
<ignoreWhenIdentical>true</ignoreWhenIdentical>
189+
</banDuplicateClasses>
183190
</rules>
184191
</configuration>
185192
<goals>
@@ -191,12 +198,12 @@
191198
<dependency>
192199
<groupId>org.codehaus.mojo</groupId>
193200
<artifactId>extra-enforcer-rules</artifactId>
194-
<version>1.3</version>
201+
<version>1.7.0</version>
195202
</dependency>
196203
<dependency>
197204
<groupId>org.apache.maven.shared</groupId>
198205
<artifactId>maven-dependency-tree</artifactId>
199-
<version>2.2</version>
206+
<version>3.2.1</version>
200207
</dependency>
201208
</dependencies>
202209
</plugin>

0 commit comments

Comments
 (0)