We have moved on to a karaf version which does not need this hack,
remove it.
Change-Id: Icb67a337cc739c2aba83777c70c850dfc26ac89d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
String repository = url.toString();
String unwrappedRepo = WRAP_PATTERN.matcher(repository).replaceFirst("");
- // FIXME: this is a hack to deal with broken upstream repo and should be removed once karaf moves
- // to hibernate-validator-osgi-features-5.4.2+
- if ("mvn:com.thoughtworks.paranamer:paranamer:2.8".equals(unwrappedRepo)) {
- LOG.info("Working around broken hibernate-validator-osgi-karaf-features...");
- unwrappedRepo = "mvn:com.thoughtworks.paranamer/paranamer/2.8";
- }
-
Parser parser = new Parser(unwrappedRepo);
String coord = MVN_PATTERN.matcher(parser.getGroup()).replaceFirst("") + ":" + parser.getArtifact();
if (parser.getType() != null) {