You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2006/04/09 14:18:10 UTC

[HttpComponents] Cutting the very first release: Maven release plugin trouble

Folks,

I spent a good half of yesterday struggling with the Maven2 release
plug-in. After having spent several hours I am still unable to make
Maven2 do what I want. 

The trouble is that the current layout of HttpComponents repository does
not seem to conform to Maven SVN layout guidelines. Presently
HttpComponent modules do not have separate trunk/tag/branch folders.
They share a common trunk and therefore must share common tags and
branches folders as well. The SVN layout looks something like that 

/repos/asf/jakarta/httpcomponents
  trunk
    http-core
    http-async
    http-client
    ...
  tags
    http-core-4.0-alpha1
    http-core-4.0-alpha2
    http-client-4.0-alpha1
    ...

That doesn't seem to be compatible with the way Maven2 release plug-in
functions. It appears Maven can only work with the following SVN layout

/repos/asf/jakarta/httpcomponents
  http-core
    trunk
    tags
      4.0-alpha1
      4.0-alpha2
    ...
  http-client
    trunk
    tags
      4.0-alpha1
    ...

Essentially, we have two options here
(1) keep things as they are at the moment thus probably having to manage
the release process manually
(2) restructure the repository in order to make Maven2 happy. Since we
have not had a single official release to this point now would be the
least disruptive moment to go ahead with such restructuring

Opinions?

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Re: [HttpComponents] Cutting the very first release: Maven release plugin trouble

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Sun, 2006-04-09 at 09:53 -0400, Michael Becke wrote:
> Yep, I agree with Odi.  #2 seems like the way to go.
> 
> Mike
> 

All right. I'll take care of that.

Oleg


> On 4/9/06, Oleg Kalnichevski <ol...@apache.org> wrote:
> > Folks,
> >
> > I spent a good half of yesterday struggling with the Maven2 release
> > plug-in. After having spent several hours I am still unable to make
> > Maven2 do what I want.
> >
> > The trouble is that the current layout of HttpComponents repository does
> > not seem to conform to Maven SVN layout guidelines. Presently
> > HttpComponent modules do not have separate trunk/tag/branch folders.
> > They share a common trunk and therefore must share common tags and
> > branches folders as well. The SVN layout looks something like that
> >
> > /repos/asf/jakarta/httpcomponents
> >   trunk
> >     http-core
> >     http-async
> >     http-client
> >     ...
> >   tags
> >     http-core-4.0-alpha1
> >     http-core-4.0-alpha2
> >     http-client-4.0-alpha1
> >     ...
> >
> > That doesn't seem to be compatible with the way Maven2 release plug-in
> > functions. It appears Maven can only work with the following SVN layout
> >
> > /repos/asf/jakarta/httpcomponents
> >   http-core
> >     trunk
> >     tags
> >       4.0-alpha1
> >       4.0-alpha2
> >     ...
> >   http-client
> >     trunk
> >     tags
> >       4.0-alpha1
> >     ...
> >
> > Essentially, we have two options here
> > (1) keep things as they are at the moment thus probably having to manage
> > the release process manually
> > (2) restructure the repository in order to make Maven2 happy. Since we
> > have not had a single official release to this point now would be the
> > least disruptive moment to go ahead with such restructuring
> >
> > Opinions?
> >
> > Oleg
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Re: [HttpComponents] Cutting the very first release: Maven release plugin trouble

Posted by Michael Becke <mb...@gmail.com>.
Yep, I agree with Odi.  #2 seems like the way to go.

Mike

On 4/9/06, Oleg Kalnichevski <ol...@apache.org> wrote:
> Folks,
>
> I spent a good half of yesterday struggling with the Maven2 release
> plug-in. After having spent several hours I am still unable to make
> Maven2 do what I want.
>
> The trouble is that the current layout of HttpComponents repository does
> not seem to conform to Maven SVN layout guidelines. Presently
> HttpComponent modules do not have separate trunk/tag/branch folders.
> They share a common trunk and therefore must share common tags and
> branches folders as well. The SVN layout looks something like that
>
> /repos/asf/jakarta/httpcomponents
>   trunk
>     http-core
>     http-async
>     http-client
>     ...
>   tags
>     http-core-4.0-alpha1
>     http-core-4.0-alpha2
>     http-client-4.0-alpha1
>     ...
>
> That doesn't seem to be compatible with the way Maven2 release plug-in
> functions. It appears Maven can only work with the following SVN layout
>
> /repos/asf/jakarta/httpcomponents
>   http-core
>     trunk
>     tags
>       4.0-alpha1
>       4.0-alpha2
>     ...
>   http-client
>     trunk
>     tags
>       4.0-alpha1
>     ...
>
> Essentially, we have two options here
> (1) keep things as they are at the moment thus probably having to manage
> the release process manually
> (2) restructure the repository in order to make Maven2 happy. Since we
> have not had a single official release to this point now would be the
> least disruptive moment to go ahead with such restructuring
>
> Opinions?
>
> Oleg
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Re: [HttpComponents] Cutting the very first release: Maven release plugin trouble

Posted by Ortwin Glück <od...@odi.ch>.

Oleg Kalnichevski wrote:
> Essentially, we have two options here
> (1) keep things as they are at the moment thus probably having to manage
> the release process manually
> (2) restructure the repository in order to make Maven2 happy. Since we
> have not had a single official release to this point now would be the
> least disruptive moment to go ahead with such restructuring
> 
> Opinions?
> 
> Oleg

Even if it's a bit of work I suggest changing the SVN structure. It is a 
clean approach how Maven expects the structure. Our current one doesn't 
reflect things appropriately.

Odi

-- 
[web]  http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp]  key 0x81CF3416
        finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org