Closed aalmiray closed 3 years ago
Oh I see. Then I think this has to be documented in the README.
Alright, so repositories are configurable via external sources, I can go with that, but what if you wanted to close down the available repositories without external interference? That is, repositories might need to be configured via LayersConfig
, wouldn't they?
Additionally, consider offline mode with access to a local repository that's not Maven Local (~/.m2/repository
or whatever is defined in ~/.m2/settings.xml
) rather a directory with repo layout as created by the appassambler-maven-plugin
for example.
Yes, good points. So we'd need an option on the launcher for customizing the local repo location. And perhaps another option which takes the location of a custom settings.xml, for overriding remote repos and more? WDYT?
Agreed. Potentially we're looking at he following scenarios:
~/.m2/settings.xml
which gives us Maven Central, Maven Local, and any other repository found in settings.xml
. This is the current state.settings.xml
-> requires specifying location to settings file.Done.
That already is supported (I think) via settings.xml in $M2_HOME. Or did you think of something else?