[
https://issues.apache.org/jira/browse/NPANDAY-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter resolved NPANDAY-284.
----------------------------------
Resolution: Fixed
Assignee: Brett Porter
fixed in NPANDAY-410, but have removed any straggling references to defaults
that weren't used
> NPanday should respect custom localRepository (provided by maven!)
> ------------------------------------------------------------------
>
> Key: NPANDAY-284
> URL: https://issues.apache.org/jira/browse/NPANDAY-284
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Reporter: supkichen
> Assignee: Brett Porter
> Priority: Minor
> Fix For: 1.4.1-incubating
>
>
> *Note: we have several issues, that all handle the same thing. We have done
> some half-hearted fixes. This issue should include all of them!*
> In several places in the code, ~/.m2/* is hard-coded as the parent of the
> maven repository directory. Instead, all possible variations of specifying a
> custom local repository should be respected throughout all NPanday components.
> Ways to override the default localRepository
> * Commandline switch: -DlocalRepository=...
> * setting.xml settings/localRepository
> * Also make sure, when custom maven settings is provided, that it does check
> it up there
> In general MAVEN should figure out, where the localRepo is; in the
> .NET-Addin, though, we'll have to find out ourselves.
> h2. Hints
> Please list here, if you find places. But a Search in Files with ".m2" will
> find most cases, I guess.
> {code:title=from NPANDAY-469}It looks like a hard coded reference to the
> local repo in RepositoryConverterForArtifactMojo.java (Line 72)
> localRepository = new File( System.getProperty( "user.home" ),
> ".m2/repository" );{code}
> {[NPanday.Utils.RepositoryUtility:41}}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira