You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Mark Reynolds <sc...@tailwaggers.com> on 2006/07/05 01:38:12 UTC

Re: How to install artifact created with assembly artifact into Continuum's local repository

I have changed my multi-project build so it only builds the parent pom 
without --non-recursive. My parent pom is <packaging>pom</packaging> and 
the only thing that gets copied to the internal "Deployment 
Repository" 	is the parent pom. Is this the expected behavior? I would 
like to have all my module artifacts as well as artifacts created by the 
assembly plugin put into this repository. Is this possible?

Thanks.

-- Mark R

Mark Reynolds wrote:
> I should have mentioned that I am not talking about the local repository 
> used by maven (in .m2). Artifacts created with the assembly plugin get 
> installed in there just fine.
> 
> Rather, I can't see how to get them to install into the local repository 
> configured in Continuum 1.0.3. Should I be able to do this?
> 
> Thanks,
> 
> -- Mark Reynolds
> 
> Mark Reynolds wrote:
>> The primary artifact from each of my pom's are copied into Continuum's 
>> repository, but not the additional artifacts that are created using 
>> the assembly plugin. Is there a way to make this happen?
>>
>>
> 
> 


Re: How to install artifact created with assembly artifact into Continuum's local repository

Posted by Mark Reynolds <sc...@tailwaggers.com>.
Barrie Treloar wrote:
> On 7/5/06, Mark Reynolds <sc...@tailwaggers.com> wrote:
>> I have changed my multi-project build so it only builds the parent pom
>> without --non-recursive.
> 
> There are some double negatives here.
> 
> Do you mean you have deleted your other projects from the continuum
> build and that there is now only one project which is the parent
> project and for the parent project you have deleted the
> --non-recursive argument in the continuum build definitions arguments?
> 

Yes.

>> My parent pom is <packaging>pom</packaging> and
>> the only thing that gets copied to the internal "Deployment
>> Repository"     is the parent pom. Is this the expected behavior? I would
>> like to have all my module artifacts as well as artifacts created by the
>> assembly plugin put into this repository. Is this possible?
> 
> Continuum just runs the commands the same as you would on the command line.
> 

Correct.

> Go into the working directory that continuum is using and invoke by
> hand the same command.
> 
> If it doesn't work by hand, fix it.
> Once it works as you expect it, continuum will behave the same way.
> 

My build is working just fine. My only question regards the copying of 
artifacts into the repository configured in Administration => 
Configuration => Deployment Repository Directory.

-- Mark R


Re: How to install artifact created with assembly artifact into Continuum's local repository

Posted by Barrie Treloar <ba...@gmail.com>.
On 7/5/06, Mark Reynolds <sc...@tailwaggers.com> wrote:
> I have changed my multi-project build so it only builds the parent pom
> without --non-recursive.

There are some double negatives here.

Do you mean you have deleted your other projects from the continuum
build and that there is now only one project which is the parent
project and for the parent project you have deleted the
--non-recursive argument in the continuum build definitions arguments?

> My parent pom is <packaging>pom</packaging> and
> the only thing that gets copied to the internal "Deployment
> Repository"     is the parent pom. Is this the expected behavior? I would
> like to have all my module artifacts as well as artifacts created by the
> assembly plugin put into this repository. Is this possible?

Continuum just runs the commands the same as you would on the command line.

Go into the working directory that continuum is using and invoke by
hand the same command.

If it doesn't work by hand, fix it.
Once it works as you expect it, continuum will behave the same way.