From 9e204511ae38964391c4281b8455286c77d0b0f1 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Thu, 20 Apr 2023 12:47:39 +0000 Subject: [PATCH 01/14] Update for next development version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 756400a9..f8413217 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ de.skuzzle.enforcer restrict-imports-enforcer-rule - 2.2.0 + 2.2.1-SNAPSHOT jar Restrict Imports Enforcer Rule Bans imports of specified classes/packages From e0e940fa040d08bb9d368773db1dd657069355f8 Mon Sep 17 00:00:00 2001 From: Simon Taddiken Date: Wed, 26 Apr 2023 08:51:33 +0200 Subject: [PATCH 02/14] Add note about spotless formatting rules --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 31364c24..325dcc4a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,5 +9,5 @@ issue before implementing any new feature and sending a pull request. I'm happy discuss your idea and give advice on how to best implement it. If your idea is accepted, simply send the PR against the *development* branch. -Contributions should adhere to the coding standards used. All changes and additions -should be covered by unit tests. We do use spaces here :) +Note that code formatting is enforced by `spotless`. You can apply the configured +formatting rules to your changes by running `./mvnw spotless:apply` From 2860d5458ac5dad477d67b691565b4a5c9f74fb2 Mon Sep 17 00:00:00 2001 From: Simon Taddiken Date: Fri, 26 May 2023 12:20:37 +0200 Subject: [PATCH 03/14] Update several dependencies and maven wrapper --- .mvn/maven.config | 2 + .mvn/wrapper/maven-wrapper.properties | 4 +- README.md | 8 +-- RELEASE_NOTES.md | 4 +- pom.xml | 71 ++++++++++++++++++--------- 5 files changed, 59 insertions(+), 30 deletions(-) create mode 100644 .mvn/maven.config diff --git a/.mvn/maven.config b/.mvn/maven.config new file mode 100644 index 00000000..afdcfab7 --- /dev/null +++ b/.mvn/maven.config @@ -0,0 +1,2 @@ +-Daether.checksums.algorithms=SHA-512,SHA-256,SHA-1,MD5 +-Daether.connector.smartChecksums=false diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index b74bf7fc..10a6da5b 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,2 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip -wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.1-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar diff --git a/README.md b/README.md index 315a4368..df8a462e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.2.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.0/jar) -[![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=2.2.0&color=orange)](http://www.javadoc.io/doc/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.0) +[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.2.1-SNAPSHOT&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.1-SNAPSHOT/jar) +[![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=2.2.1-SNAPSHOT&color=orange)](http://www.javadoc.io/doc/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.1-SNAPSHOT) [![Coverage Status](https://coveralls.io/repos/github/skuzzle/restrict-imports-enforcer-rule/badge.svg?branch=master)](https://coveralls.io/github/skuzzle/restrict-imports-enforcer-rule?branch=master) [![Twitter Follow](https://img.shields.io/twitter/follow/skuzzleOSS.svg?style=social)](https://twitter.com/skuzzleOSS) @@ -21,12 +21,12 @@ information. org.apache.maven.plugins maven-enforcer-plugin - 3.0.0 + 3.3.0 de.skuzzle.enforcer restrict-imports-enforcer-rule - 2.2.0 + 2.2.1-SNAPSHOT diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index b4eb8d01..27fe6274 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,4 +1,4 @@ -[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.2.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.0/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=2.2.0&color=orange)](http://www.javadoc.io/doc/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.0) +[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.2.1-SNAPSHOT&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.1-SNAPSHOT/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=2.2.1-SNAPSHOT&color=orange)](http://www.javadoc.io/doc/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.1-SNAPSHOT) ### Features * [#60](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/60) Fall back to _line-by-line_ parsing if _full-compilation-unit_ parsing failed. @@ -11,6 +11,6 @@ Maven Central coordinates for this release: de.skuzzle.enforcer restrict-imports-enforcer-rule - 2.2.0 + 2.2.1-SNAPSHOT ``` diff --git a/pom.xml b/pom.xml index f8413217..659dfcb2 100644 --- a/pom.xml +++ b/pom.xml @@ -6,6 +6,7 @@ de.skuzzle skuzzle-parent 3.0.1 + de.skuzzle.enforcer restrict-imports-enforcer-rule @@ -13,32 +14,37 @@ jar Restrict Imports Enforcer Rule Bans imports of specified classes/packages + https://github.com/skuzzle/${github.name} + + scm:git:https://github.com/skuzzle/${github.name}.git + HEAD + + false - 1.8 - 1.8 + 0.8.9 + 8 + 8 8 - 3.0.0 - 2.2.1 - 5.8.1 - 3.13.2 - 3.7.2 - 1.7.25 - 4.0.0 + 3.0.0 + 3.0.0 + 3.3.0 + 3.9.1 + 5.9.2 + 3.24.2 + 1.14.4 + 3.14.1 + 1.7.36 + 4.11.0 1.2 - 3.24.10 - 3.2.0 + 3.25.2 + 3.3.1 3.5.1 2.34.0 restrict-imports-enforcer-rule restrict-imports-enforcer-rule - - false - - scm:git:https://github.com/skuzzle/${github.name}.git - HEAD - + @@ -50,7 +56,7 @@ org.apache.maven - maven-project + maven-core ${version.maven} @@ -93,8 +99,19 @@ mockito-core ${version.mockito} + + net.bytebuddy + byte-buddy + ${version.byte-buddy} + + + net.bytebuddy + byte-buddy-agent + ${version.byte-buddy} + + org.slf4j @@ -111,7 +128,7 @@ org.apache.maven - maven-project + maven-core provided @@ -124,6 +141,16 @@ mockito-core test + + net.bytebuddy + byte-buddy + test + + + net.bytebuddy + byte-buddy-agent + test + org.junit.jupiter junit-jupiter @@ -214,7 +241,7 @@ validate - ${basedir} + ${project.basedir} readme/ @@ -260,7 +287,7 @@ true false - src/it/settings.xml + ${project.basedir}/src/it/settings.xml @@ -291,7 +318,7 @@ ${project.groupId} ${project.artifactId} - 2.0.0 + 2.1.0 From 29fcd4f3eb539d566ba8d95aff2be3d6953a39f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 May 2023 10:38:33 +0000 Subject: [PATCH 04/14] Bump mockito-core from 4.0.0 to 5.3.1 Bumps [mockito-core](https://github.com/mockito/mockito) from 4.0.0 to 5.3.1. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](https://github.com/mockito/mockito/compare/v4.0.0...v5.3.1) --- updated-dependencies: - dependency-name: org.mockito:mockito-core dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 659dfcb2..55218528 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,7 @@ 1.14.4 3.14.1 1.7.36 - 4.11.0 + 5.3.1 1.2 3.25.2 3.3.1 From beab5db8b03c6ff3c080312e332699fadc099628 Mon Sep 17 00:00:00 2001 From: Simon Taddiken Date: Fri, 26 May 2023 12:35:58 +0200 Subject: [PATCH 05/14] Use explicit classloader instead of implicit context class loader This potentially fixes #73, an issue with unresolvable LanguageSupport implementations --- pom.xml | 4 ++++ .../restrictimports/parser/lang/SupportedLanguageHolder.java | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 659dfcb2..0dd367d5 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,11 @@ 3.25.2 3.3.1 3.5.1 + + + 2.34.0 + restrict-imports-enforcer-rule restrict-imports-enforcer-rule diff --git a/src/main/java/de/skuzzle/enforcer/restrictimports/parser/lang/SupportedLanguageHolder.java b/src/main/java/de/skuzzle/enforcer/restrictimports/parser/lang/SupportedLanguageHolder.java index 40598558..c435589a 100644 --- a/src/main/java/de/skuzzle/enforcer/restrictimports/parser/lang/SupportedLanguageHolder.java +++ b/src/main/java/de/skuzzle/enforcer/restrictimports/parser/lang/SupportedLanguageHolder.java @@ -39,7 +39,8 @@ static boolean isLanguageSupported(String extension) { * @return The implementations, mapped by their supported extensions. */ private static Map lookupImplementations() { - final ServiceLoader serviceProvider = ServiceLoader.load(LanguageSupport.class); + final ClassLoader classLoader = SupportedLanguageHolder.class.getClassLoader(); + final ServiceLoader serviceProvider = ServiceLoader.load(LanguageSupport.class, classLoader); final Map implementations = new HashMap<>(); serviceProvider.forEach(parser -> parser.getSupportedFileExtensions().stream() .map(SupportedLanguageHolder::determineNormalizedExtension) From 7a90c62e6b15c7fc2f85cdd6d76172ae657fc193 Mon Sep 17 00:00:00 2001 From: Simon Taddiken Date: Fri, 26 May 2023 14:49:35 +0200 Subject: [PATCH 06/14] Update parent to 3.0.4 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0dd367d5..3122c79d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ de.skuzzle skuzzle-parent - 3.0.1 + 3.0.4 de.skuzzle.enforcer From 609fff7a8f618032541a72eedbc7f8f03d6b2840 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 May 2023 16:56:49 +0000 Subject: [PATCH 07/14] Bump version.maven from 3.9.1 to 3.9.2 Bumps `version.maven` from 3.9.1 to 3.9.2. Updates `maven-core` from 3.9.1 to 3.9.2 - [Release notes](https://github.com/apache/maven/releases) - [Commits](https://github.com/apache/maven/compare/maven-3.9.1...maven-3.9.2) Updates `maven-plugin-api` from 3.9.1 to 3.9.2 - [Release notes](https://github.com/apache/maven/releases) - [Commits](https://github.com/apache/maven/compare/maven-3.9.1...maven-3.9.2) --- updated-dependencies: - dependency-name: org.apache.maven:maven-core dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.apache.maven:maven-plugin-api dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3122c79d..5b25d803 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ 3.0.0 3.0.0 3.3.0 - 3.9.1 + 3.9.2 5.9.2 3.24.2 1.14.4 From 06117eb9320ed6cae722019188cee858c6884c28 Mon Sep 17 00:00:00 2001 From: Simon Taddiken Date: Tue, 30 May 2023 10:46:47 +0200 Subject: [PATCH 08/14] Update maven-wrapper to 3.9.2 --- .mvn/wrapper/maven-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 10a6da5b..b34812f9 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,2 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.1-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.2-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar From f16c3a3016a6668c474c48eb68917dd72db154f3 Mon Sep 17 00:00:00 2001 From: Simon Taddiken Date: Tue, 30 May 2023 10:47:55 +0200 Subject: [PATCH 09/14] Fix wrapper properties --- .mvn/wrapper/maven-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index b34812f9..b27a13f1 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,2 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.2-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.2/apache-maven-3.9.2-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar From a776b9b9a07fe0b0d78c703d048e0eec5278c77a Mon Sep 17 00:00:00 2001 From: Simon Taddiken Date: Tue, 30 May 2023 10:58:20 +0200 Subject: [PATCH 10/14] Maintain changelog --- readme/RELEASE_NOTES.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/readme/RELEASE_NOTES.md b/readme/RELEASE_NOTES.md index c7201804..27dee52d 100644 --- a/readme/RELEASE_NOTES.md +++ b/readme/RELEASE_NOTES.md @@ -1,7 +1,10 @@ [![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=${project.version}&color=blue)](https://search.maven.org/artifact/${project.groupId}/${project.artifactId}/${project.version}/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=${project.version}&color=orange)](http://www.javadoc.io/doc/${project.groupId}/${project.artifactId}/${project.version}) -### Features -* [#60](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/60) Fall back to _line-by-line_ parsing if _full-compilation-unit_ parsing failed. +### Bug fixes +* [#73](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/73) Classloader issues while locating LanguageSupport instances #73 + +### Misc +* Updated various dependencies From f62a81d54d9f148051e5bf4b9bc9d3187c3c4ea0 Mon Sep 17 00:00:00 2001 From: Simon Taddiken Date: Wed, 31 May 2023 08:43:02 +0200 Subject: [PATCH 11/14] Make sure that `**` matches at least a single package part Fixes #76 --- RELEASE_NOTES.md | 8 ++++++-- readme/RELEASE_NOTES.md | 3 ++- .../enforcer/restrictimports/analyze/PackagePattern.java | 7 +++++++ .../restrictimports/analyze/PackagePatternTest.java | 8 ++++++++ 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 27fe6274..63a5d358 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,7 +1,11 @@ [![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.2.1-SNAPSHOT&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.1-SNAPSHOT/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=2.2.1-SNAPSHOT&color=orange)](http://www.javadoc.io/doc/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.1-SNAPSHOT) -### Features -* [#60](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/60) Fall back to _line-by-line_ parsing if _full-compilation-unit_ parsing failed. +### Bug fixes +* [#73](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/73) Classloader issues while locating LanguageSupport instances +* [#76](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/76) `**` wildcard must match at least a single package part + +### Misc +* Updated various dependencies diff --git a/readme/RELEASE_NOTES.md b/readme/RELEASE_NOTES.md index 27dee52d..6993283c 100644 --- a/readme/RELEASE_NOTES.md +++ b/readme/RELEASE_NOTES.md @@ -1,7 +1,8 @@ [![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=${project.version}&color=blue)](https://search.maven.org/artifact/${project.groupId}/${project.artifactId}/${project.version}/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=${project.version}&color=orange)](http://www.javadoc.io/doc/${project.groupId}/${project.artifactId}/${project.version}) ### Bug fixes -* [#73](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/73) Classloader issues while locating LanguageSupport instances #73 +* [#73](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/73) Classloader issues while locating LanguageSupport instances +* [#76](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/76) `**` wildcard must match at least a single package part ### Misc * Updated various dependencies diff --git a/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/PackagePattern.java b/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/PackagePattern.java index a8e0c273..08d18c72 100644 --- a/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/PackagePattern.java +++ b/src/main/java/de/skuzzle/enforcer/restrictimports/analyze/PackagePattern.java @@ -163,6 +163,13 @@ private static boolean matchesInternal(boolean matchIsStatic, String[] matchPart if ("**".equals(patternPart)) { if (patternIndex + 1 < patternParts.length) { + + // See #76 + // https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/76 + // ** is supposed to match at least one package. So we eagerly skip + // one package + matchIndex++; + final String nextPatternPart = patternParts[patternIndex + 1]; while (matchIndex < matchParts.length && !matchParts(nextPatternPart, matchParts[matchIndex])) { diff --git a/src/test/java/de/skuzzle/enforcer/restrictimports/analyze/PackagePatternTest.java b/src/test/java/de/skuzzle/enforcer/restrictimports/analyze/PackagePatternTest.java index 2ec684f9..452c732f 100644 --- a/src/test/java/de/skuzzle/enforcer/restrictimports/analyze/PackagePatternTest.java +++ b/src/test/java/de/skuzzle/enforcer/restrictimports/analyze/PackagePatternTest.java @@ -9,6 +9,14 @@ public class PackagePatternTest { + @Test + void testMatchWildcardPrefix() { + // See #76 + // https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/76 + assertThat(PackagePattern.parse("**.com.google.common.annotations.VisibleForTesting") + .matches("com.couchbase.client.core.deps.com.google.common.annotations.VisibleForTesting")).isTrue(); + } + @Test void testMatchLiteralAsterisk() { final PackagePattern pattern = PackagePattern.parse("java.util.'*'"); From 471f457467e9d86f463089d9aa4949e6e079a591 Mon Sep 17 00:00:00 2001 From: Simon Taddiken Date: Wed, 31 May 2023 08:54:17 +0200 Subject: [PATCH 12/14] Bump version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 25e35c3d..95ae9f03 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ de.skuzzle.enforcer restrict-imports-enforcer-rule - 2.2.1-SNAPSHOT + 2.3.0-SNAPSHOT jar Restrict Imports Enforcer Rule Bans imports of specified classes/packages From 03718acf79902f058e4cb96c6d6e336a9bd40f27 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Wed, 31 May 2023 07:05:02 +0000 Subject: [PATCH 13/14] Update versions for release --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 95ae9f03..ac5cf142 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ de.skuzzle.enforcer restrict-imports-enforcer-rule - 2.3.0-SNAPSHOT + 2.3.0 jar Restrict Imports Enforcer Rule Bans imports of specified classes/packages From e2e55af62aab47cad03ade00aad9c3edf6492b2e Mon Sep 17 00:00:00 2001 From: Jenkins Date: Wed, 31 May 2023 07:07:11 +0000 Subject: [PATCH 14/14] Update README and RELEASE_NOTES --- README.md | 6 +++--- RELEASE_NOTES.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index df8a462e..e82b0da9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.2.1-SNAPSHOT&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.1-SNAPSHOT/jar) -[![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=2.2.1-SNAPSHOT&color=orange)](http://www.javadoc.io/doc/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.1-SNAPSHOT) +[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.3.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.3.0/jar) +[![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=2.3.0&color=orange)](http://www.javadoc.io/doc/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.3.0) [![Coverage Status](https://coveralls.io/repos/github/skuzzle/restrict-imports-enforcer-rule/badge.svg?branch=master)](https://coveralls.io/github/skuzzle/restrict-imports-enforcer-rule?branch=master) [![Twitter Follow](https://img.shields.io/twitter/follow/skuzzleOSS.svg?style=social)](https://twitter.com/skuzzleOSS) @@ -26,7 +26,7 @@ information. de.skuzzle.enforcer restrict-imports-enforcer-rule - 2.2.1-SNAPSHOT + 2.3.0 diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 63a5d358..d3a50301 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,4 +1,4 @@ -[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.2.1-SNAPSHOT&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.1-SNAPSHOT/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=2.2.1-SNAPSHOT&color=orange)](http://www.javadoc.io/doc/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.2.1-SNAPSHOT) +[![Maven Central](https://img.shields.io/static/v1?label=MavenCentral&message=2.3.0&color=blue)](https://search.maven.org/artifact/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.3.0/jar) [![JavaDoc](https://img.shields.io/static/v1?label=JavaDoc&message=2.3.0&color=orange)](http://www.javadoc.io/doc/de.skuzzle.enforcer/restrict-imports-enforcer-rule/2.3.0) ### Bug fixes * [#73](https://github.com/skuzzle/restrict-imports-enforcer-rule/issues/73) Classloader issues while locating LanguageSupport instances @@ -15,6 +15,6 @@ Maven Central coordinates for this release: de.skuzzle.enforcer restrict-imports-enforcer-rule - 2.2.1-SNAPSHOT + 2.3.0 ```