Re: Maven Release release:prepare / perform etc.

2009-03-30 Thread Karl Heinz Marbaise

Hi,

Hi David,

sorry.. a second one...

   mvn release:prepare -DpreparationGoals="clean install"
In my opinion this couldn't work, cause the goal clean tries to download 
things from local repository (like xy-1.0.0.pom) which will be created 
by the process so the only goal in this case could be "install" ...

If i had written -DpreparationGoals correct than it had worked...

Thanks for your help

Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen   http://www.soebes.de

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven Release release:prepare / perform etc.

2009-03-30 Thread Stephen Connolly
I am going to bet that you might be using the dependency:copy or the
dependency:unpack goals and not dependency:copy-dependencies

If you are picking something up from the reactor you need to use goals that
look in the reactor

2009/3/30 Karl Heinz Marbaise 

> Hi David,
>
> sorry.. a second one...
>
>>   mvn release:prepare -DpreparationGoals="clean install"
>>
> In my opinion this couldn't work, cause the goal clean tries to download
> things from local repository (like xy-1.0.0.pom) which will be created by
> the process so the only goal in this case could be "install" ...
>
> Kind regards
> Karl Heinz Marbaise
> --
> SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
> Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029
> Hauptstrasse 177 USt.IdNr: DE191347579
> 52146 Würselen   http://www.soebes.de
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Maven Release release:prepare / perform etc.

2009-03-30 Thread Karl Heinz Marbaise

Hi David,

sorry.. a second one...

   mvn release:prepare -DpreparationGoals="clean install"
In my opinion this couldn't work, cause the goal clean tries to download 
things from local repository (like xy-1.0.0.pom) which will be created 
by the process so the only goal in this case could be "install" ...


Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen   http://www.soebes.de

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven Release release:prepare / perform etc.

2009-03-30 Thread Karl Heinz Marbaise

Hi David,

first thanks for your fast answer...


Hey Karl,
This issue has been coming up quite a bit, lately.  

Hm...my english seemed to be no good enough to understand this...



> Some will disagree

with me, but here is my solution to this problem.

   mvn release:prepare -DpreparationGoals="clean install"

The release:prepare normally only does a packaging, so the install step 
never happens.  It really should find the artifact in the reactor, but 
it doesn't.  So, you have to install it.

Good luck,
Dave


Karl Heinz Marbaise wrote:

Hi there,

i have a project which is building etc. with mvn clean package etc.
Now i would like to do a mvn release:prepare
answering questins: like release Version 1.0.0 and the tag name etc.

but it's comming up that during the release:prepare cycle Maven want 
to download artifact like xyz-1.0.0.pom from a repository but that 
can't be cause that artifact is exactly what is currently buildin 
Version 1.0.0 ?


So can someone give me hint what I'm doing wrong ? Or do i understand 
something wrong ?


Kind regards
Karl Heinz Marbaise


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




--
SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen   http://www.soebes.de

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven Release release:prepare / perform etc.

2009-03-30 Thread David C. Hicks

Hey Karl,
This issue has been coming up quite a bit, lately.  Some will disagree 
with me, but here is my solution to this problem.


   mvn release:prepare -DpreparationGoals="clean install"

The release:prepare normally only does a packaging, so the install step 
never happens.  It really should find the artifact in the reactor, but 
it doesn't.  So, you have to install it.

Good luck,
Dave


Karl Heinz Marbaise wrote:

Hi there,

i have a project which is building etc. with mvn clean package etc.
Now i would like to do a mvn release:prepare
answering questins: like release Version 1.0.0 and the tag name etc.

but it's comming up that during the release:prepare cycle Maven want 
to download artifact like xyz-1.0.0.pom from a repository but that 
can't be cause that artifact is exactly what is currently buildin 
Version 1.0.0 ?


So can someone give me hint what I'm doing wrong ? Or do i understand 
something wrong ?


Kind regards
Karl Heinz Marbaise


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven Release release:prepare / perform etc.

2009-03-30 Thread Karl Heinz Marbaise

Hi there,

i have a project which is building etc. with mvn clean package etc.
Now i would like to do a mvn release:prepare
answering questins: like release Version 1.0.0 and the tag name etc.

but it's comming up that during the release:prepare cycle Maven want to 
download artifact like xyz-1.0.0.pom from a repository but that can't be 
cause that artifact is exactly what is currently buildin Version 1.0.0 ?


So can someone give me hint what I'm doing wrong ? Or do i understand 
something wrong ?


Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen   http://www.soebes.de

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org