Hi,
Thanks for your reply.
I have no experience of searching bugs at JIRA.
I have tried several times. But my every search would be followed by a great
of issue :(

But, I think the bug is so abvious, many people may have found it ^_^

a cup of Java, cheers!
Sha Jiang


Wayne Fay wrote:
> 
> It might be a bug -- sounds like the localRepo setting cannot be
> overridden on the CLI like many/most other properties. This may be on
> purpose, or it may be an accident, unsure.
> 
> Check JIRA for a bug report/enhancement request and vote/watch it, or
> file one if you can't find one already posted.
> 
> Wayne
> 
> On 9/10/06, jiangshachina <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>> I have set localRepository parameter in Maven_Home/conf/settings.xml.
>> For install files, I use command
>> mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id>
>> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
>> Defaultly, the file will be install to local repository.
>>
>> If I use command
>> mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id>
>> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
>> -DlocalRepository=<another-local-repository>
>> I still install files to the local repo set in settings.xml, but the
>> another-local-repository set in the upper command.
>> --
>> View this message in context:
>> http://www.nabble.com/Install-file-to-other-repositories--tf2249926.html#a6240205
>> Sent from the Maven - Users forum at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Install-file-to-other-repositories--tf2249926.html#a6240927
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to