Local repository location for plugins
-------------------------------------
Key: GERONIMO-3487
URL: https://issues.apache.org/jira/browse/GERONIMO-3487
Project: Geronimo
Issue Type: Improvement
Security Level: public (Regular issues)
Components: Plugins
Reporter: Jarek Gawor
The generated geronimo-plugin.xml contains the local repository as:
<source-repository>~/.m2/repository/</source-repository>. That assumes that the
local repository lives in the user's home directory (the
PluginRepositoryDownloader.java replaces ~ with user.home system property).
However, this might not be always be true as Maven can be configured to use a
different directory.
It might be nicer to generate the geronimo-plugin.xml with
<source-repository>${local.repo}</source-repository> or similar and then the
PluginRepositoryDownloader.java would replace it with an appropriate value. For
example. by default it would assume ~/.m2/repository but the user could specify
a different directory by setting a system property or changing the
configuration.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.