ponziani commented on code in PR #2979:
URL: https://github.com/apache/karaf/pull/2979#discussion_r4248121680
##########
tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/utils/MojoSupport.java:
##########
@@ -52,10 +52,16 @@
import org.apache.maven.project.ProjectBuildingException;
import org.apache.maven.settings.Proxy;
import org.codehaus.plexus.PlexusContainer;
+import org.ops4j.pax.url.mvn.ServiceConstants;
@SuppressWarnings({"deprecation", "rawtypes", "unchecked"})
public abstract class MojoSupport extends AbstractMojo {
+ /**
+ * Prefix of the Maven resolver (1.9+) configuration properties for the
split local repository.
+ */
+ private static final String ENHANCED_LOCAL_REPOSITORY =
"aether.enhancedLocalRepository.";
+
Review Comment:
Thanks @CptBartender, applied: the options and prefixes are now static
constants holding the full property keys, in the same order. Thanks @jbonofre
for spotting the double-prefix catch. I also added `remotePrefix` and
`releasesPrefix` to `testLocalRepositoryWithSplit`, so all four prefixes are
covered now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]