Thanks for the quick answer!

Correct me if I am wrong but this copies dependencies and not the
built artifacts.
It is exactly the opposite of deploy...
I need to copy only artifacts built...

Regards,
Alon

On Wed, Dec 12, 2012 at 3:18 PM, Anders Hammar <[email protected]> wrote:
> You can use the copy-dependencies goal of the dependency plugin and use the
> useRepositoryLayout parameter.
>
> /Anders
>
>
> On Wed, Dec 12, 2012 at 11:32 AM, Alon Bar-Lev <[email protected]>wrote:
>
>> Hello,
>>
>> I saw some corresponding regarding this subject, but saw now solution.
>>
>> I would like to create a local repository of a specific project. Up
>> until now I used the deploy plugin to achieve that.
>>
>> mvn -D altDeploymentRepository=install::default::file://$(targetdir)/maven
>> deploy
>>
>> This was great, as it created the repository layout and copied and
>> generated all required files.
>>
>> The problem that for some reason the deploy plugin is disabled in
>> offline  mode, even if it can be used with local repository.
>>
>> Being able to create repository in offline is required for packaging a
>> project, without manually copy the artifacts out of tree.
>>
>> Maybe there is some other plugin that can be used to achieve the same
>> task... I will be happy to use any alternative that creates the maven
>> repository only for the artifacts that are being built and work in
>> offline mode.
>>
>> Regards,
>> Alon Bar-Lev.
>>
>> ---------------------------------------------------------------------
>> 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]

Reply via email to