-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
%
Currently the Hawtio Maven Indexer Plugin only has the following repositories configured:
http://repository.jboss.org/nexus/content/repositories/ea
http://repo1.maven.org/maven2
private String[] repositories = { "http://repository.jboss.org/nexus/content/repositories/ea@id=ea.jboss..release.repo", "http://repo1.maven.org/maven2@central" };
It appears there was configuration that was stubbed out to allow these repositories to be configurable but this was commented out:
<bean id="mavenIndexer" class="io.hawt.maven.indexer.AsyncMavenIndexerFacadeFactory" init-method="init" destroy-method="destroy" scope="singleton"> <property name="indexDirectory" value="${indexDir}"/> <!-- <property name="repositories" value="${hawtio.maven.index.repos}"/> --> </bean>
It would be nice if the Maven Indexer plugin repositories could be configured in the Hawtio UI as part of the preferences.
If at all possible, it might be nice if the Maven Indexer could detect the repositories that container is configured to use in etc/org.ops4j.pax.url.mvn.cfg. Understanding we don't want to introduce dependencies specific to the container.