You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@hotmail.com> on 2006/02/09 00:57:18 UTC
[m2] Do I need to change my directory structure for subversion?
I have been using maven with cvs, and now am needing to move to subversion.
And I am very confused at the how to deal with the ./branches, ./releases,
./trunk I am seeing in an existing subversion project (that does not have
maven currently).
---
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
Washington Mutual (WAMU) (Emeryville, California)
---
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Do I need to change my directory structure for subversion?
Posted by Brad O'Hearne <br...@neurofire.com>.
Based on passed situations I've been involved with that strayed in this
direction, my own opinion (and its only that :-) is that your best
motivator for restructuring isn't maven, its project clarity and
intuitiveness. What you are saying your client wants to do, unless they
are uber-organized, sounds like its a quick path to a mess. I'd separate
your projects in subversion anyway, regardless of whether using maven or
not. This is one plug I'll give for maven -- it helps to encourage this
type of modularization to happen (and gives you a good excuse to steer
your client away from probable confusion).
Brad
Mick Knutson wrote:
> That is what I am thinking I have to do. The client wants to branch
> each sub item individually, but I still was hoping to get inheritance
> fom my master pom. That is what I think I am going to loose correct?
>
>
> ---
> Thank You
> Mick Knutson
>
> Sr. Java/J2EE Consultant
> BASE logic, inc.
> (415) 648-1804 (S.F., CA)
> http://www.BASELogic.com
>
> Washington Mutual (WAMU) (Emeryville, California)
> ---
>
>
>
>
>> From: Julian Wood <wo...@ucalgary.ca>
>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>> To: "Maven Users List" <us...@maven.apache.org>
>> Subject: Re: [m2] Do I need to change my directory structure for
>> subversion?
>> Date: Wed, 8 Feb 2006 18:31:20 -0700
>>
>> These are sounding more and more like discrete projects. Make a
>> totally separate project and add a dependency to your other projects/
>> modules. Would that work?
>>
>> J
>>
>>
>>
>> On 8-Feb-06, at 6:18 PM, Mick Knutson wrote:
>>
>>> But I want to be able to have each of the 3 different modules
>>> branchable. is that possible with maven? Having a master pom, then
>>> having 3 different branchable modules?
>>>
>>> ---
>>> Thank You
>>> Mick Knutson
>>>
>>> Sr. Java/J2EE Consultant
>>> BASE logic, inc.
>>> (415) 648-1804 (S.F., CA)
>>> http://www.BASELogic.com
>>>
>>> Washington Mutual (WAMU) (Emeryville, California)
>>> ---
>>>
>>>
>>>
>>>
>>>> From: Brad O'Hearne <br...@neurofire.com>
>>>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>> To: Maven Users List <us...@maven.apache.org>
>>>> Subject: Re: [m2] Do I need to change my directory structure for
>>>> subversion?
>>>> Date: Wed, 08 Feb 2006 18:10:35 -0700
>>>>
>>>> Subversion doesn't change anything. The work to port ant to maven
>>>> is no different whether working in subversion or not. I'm doing
>>>> the same thing right now, and basically you are going the throw
>>>> the content of your project under:
>>>>
>>>> <project_name>
>>>> - trunk (generally here to start with)
>>>> - tags
>>>> - branches
>>>>
>>>> Just start with a new maven structure for whatever type of project
>>>> you are dealing with (jar, war, ear, etc.). The key thing to
>>>> remember is that unlike ant, where you can build multiple
>>>> archives, though its possible with various plugins to do this in
>>>> maven, the standard convention is one archive per project. So if
>>>> your present ant build is generating two jars, in general that
>>>> means your project is going to split into two projects using
>>>> maven. Its a pain at first, but makes good modular sense.
>>>>
>>>> Brad
>>>>
>>>> Mick Knutson wrote:
>>>>
>>>>> I am goin to read that document right now.
>>>>> Actually, I am only familiar with cvs and I am learning svn.
>>>>> However the project I am staring is in ant and svn, so I hav to
>>>>> learn what the best way to port an existing svn/ant application
>>>>> to svn/maven
>>>>>
>>>>>
>>>>>
>>>>> ---
>>>>> Thank You
>>>>> Mick Knutson
>>>>>
>>>>> Sr. Java/J2EE Consultant
>>>>> BASE logic, inc.
>>>>> (415) 648-1804 (S.F., CA)
>>>>> http://www.BASELogic.com
>>>>>
>>>>> Washington Mutual (WAMU) (Emeryville, California)
>>>>> ---
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> From: Julian Wood <wo...@ucalgary.ca>
>>>>>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>>>> To: "Maven Users List" <us...@maven.apache.org>
>>>>>> Subject: Re: [m2] Do I need to change my directory structure for
>>>>>> subversion?
>>>>>> Date: Wed, 8 Feb 2006 17:56:09 -0700
>>>>>>
>>>>>> If you're doing the porting, and it's okay to change around what
>>>>>> is in cvs/svn, I would do the following.
>>>>>>
>>>>>> myproject/releases
>>>>>> myproject/branches
>>>>>> myproject/trunk
>>>>>> myproject/trunk/pom.xml
>>>>>> myproject/trunk/src
>>>>>> myproject/trunk/jar1/
>>>>>> myproject/trunk/jar1/pom.xml
>>>>>> myproject/trunk/jar1/src
>>>>>> myproject/trunk/jar2/
>>>>>> myproject/trunk/jar2/pom.xml
>>>>>> myproject/trunk/jar2/src
>>>>>> myproject/trunk/jar3/
>>>>>> myproject/trunk/jar3/pom.xml
>>>>>> myproject/trunk/jar3/src
>>>>>>
>>>>>> The packaging on the parent is just 'pom', while each of the
>>>>>> child modules is jar. They will all be built automatically, if
>>>>>> you package from the parent basedir.
>>>>>>
>>>>>> Use svn move to get to this dir structure.
>>>>>>
>>>>>> myproject/releases is often called myproject/tags in maven
>>>>>> parlance.
>>>>>>
>>>>>> I'm not sure if you have to port over any releases or branches,
>>>>>> but if you do, I would try and close things out in cvs, then
>>>>>> make a new branch in svn and a new release using mvn, using
>>>>>> your new dir structure.
>>>>>>
>>>>>> I wrote a document on this latter type of stuff which might help:
>>>>>>
>>>>>> http://wiki.ucalgary.ca/page/LearningCommons/Documentation/
>>>>>> Project_Versioning_-_Best_Practices
>>>>>>
>>>>>> J
>>>>>>
>>>>>>>> I have been using maven with cvs, and now am needing to move
>>>>>>>> to subversion.
>>>>>>>> And I am very confused at the how to deal with the ./ branches,
>>>>>>>> ./ releases, ./trunk I am seeing in an existing subversion
>>>>>>>> project (that does not have maven currently).
>>>>>>>
>>>>>>>
>>>>>>> I guess my confusion is that the ant project I am migrating is
>>>>>>> boken up into 3 different ars, but each has their own branch
>>>>>>> and trunk. Thus I was confused by trying o match that to a
>>>>>>> module in m2. So it seems that I am just going to have to
>>>>>>> create 1 maven project fo each jar.
>>>>>>>
>>>>>>> Then however, my issue is how to I create an assembly that
>>>>>>> will contain all these jars, as well as some extra resources I
>>>>>>> need in my assembly?
>>>>>>>
>>>>>>> Do I still create:
>>>>>>>
>>>>>>> root pom
>>>>>>> --> ./jar1/trunk/**
>>>>>>> --> ./jar1/trunk/**
>>>>>>> --> ./trunk/src/main/assembly/*
>>>>>>> --> ./trunk/src/main/resources/*
>>>>>>>
>>>>>>> and then I will have to build the subprojects seperately?
>>>>>>>
>>>>>>> ---
>>>>>>> Thank You
>>>>>>> Mick Knutson
>>>>>>>
>>>>>>> Sr. Java/J2EE Consultant
>>>>>>> BASE logic, inc.
>>>>>>> (415) 648-1804 (S.F., CA)
>>>>>>> http://www.BASELogic.com
>>>>>>>
>>>>>>> Washington Mutual (WAMU) (Emeryville, California)
>>>>>>> ---
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> From: "Mick Knutson" <mi...@hotmail.com>
>>>>>>>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>>>>>> To: users@maven.apache.org
>>>>>>>> Subject: [m2] Do I need to change my directory structure for
>>>>>>>> subversion?
>>>>>>>> Date: Wed, 08 Feb 2006 15:57:18 -0800
>>>>>>>>
>>>>>>>> I have been using maven with cvs, and now am needing to move
>>>>>>>> to subversion.
>>>>>>>> And I am very confused at the how to deal with the ./ branches,
>>>>>>>> ./ releases, ./trunk I am seeing in an existing subversion
>>>>>>>> project (that does not have maven currently).
>>>>>>>>
>>>>>>>> ---
>>>>>>>> Thank You
>>>>>>>> Mick Knutson
>>>>>>>>
>>>>>>>> Sr. Java/J2EE Consultant
>>>>>>>> BASE logic, inc.
>>>>>>>> (415) 648-1804 (S.F., CA)
>>>>>>>> http://www.BASELogic.com
>>>>>>>>
>>>>>>>> Washington Mutual (WAMU) (Emeryville, California)
>>>>>>>> ---
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -----------------------------------------------------------------
>>>>>>>> ----
>>>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------
>>>>>>> ---
>>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> Julian Wood <wo...@ucalgary.ca>
>>>>>>
>>>>>> Programmer/Analyst
>>>>>> University of Calgary
>>>>>>
>>>>>> http://commons.ucalgary.ca
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------------------
>>>>>> --
>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --------------------------------------------------------------------
>>>>> -
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>> --
>> Julian Wood <wo...@ucalgary.ca>
>>
>> Programmer/Analyst
>> University of Calgary
>>
>> http://commons.ucalgary.ca
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Do I need to change my directory structure for subversion?
Posted by Mick Knutson <mi...@hotmail.com>.
That is what I am thinking I have to do. The client wants to branch each sub
item individually, but I still was hoping to get inheritance fom my master
pom. That is what I think I am going to loose correct?
---
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
Washington Mutual (WAMU) (Emeryville, California)
---
>From: Julian Wood <wo...@ucalgary.ca>
>Reply-To: "Maven Users List" <us...@maven.apache.org>
>To: "Maven Users List" <us...@maven.apache.org>
>Subject: Re: [m2] Do I need to change my directory structure for
>subversion?
>Date: Wed, 8 Feb 2006 18:31:20 -0700
>
>These are sounding more and more like discrete projects. Make a totally
>separate project and add a dependency to your other projects/ modules.
>Would that work?
>
>J
>
>
>
>On 8-Feb-06, at 6:18 PM, Mick Knutson wrote:
>
>>But I want to be able to have each of the 3 different modules branchable.
>>is that possible with maven? Having a master pom, then having 3 different
>>branchable modules?
>>
>>---
>>Thank You
>>Mick Knutson
>>
>>Sr. Java/J2EE Consultant
>>BASE logic, inc.
>>(415) 648-1804 (S.F., CA)
>>http://www.BASELogic.com
>>
>>Washington Mutual (WAMU) (Emeryville, California)
>>---
>>
>>
>>
>>
>>>From: Brad O'Hearne <br...@neurofire.com>
>>>Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>To: Maven Users List <us...@maven.apache.org>
>>>Subject: Re: [m2] Do I need to change my directory structure for
>>>subversion?
>>>Date: Wed, 08 Feb 2006 18:10:35 -0700
>>>
>>>Subversion doesn't change anything. The work to port ant to maven is no
>>>different whether working in subversion or not. I'm doing the same thing
>>>right now, and basically you are going the throw the content of your
>>>project under:
>>>
>>><project_name>
>>> - trunk (generally here to start with)
>>> - tags
>>> - branches
>>>
>>>Just start with a new maven structure for whatever type of project you
>>>are dealing with (jar, war, ear, etc.). The key thing to remember is
>>>that unlike ant, where you can build multiple archives, though its
>>>possible with various plugins to do this in maven, the standard
>>>convention is one archive per project. So if your present ant build is
>>>generating two jars, in general that means your project is going to
>>>split into two projects using maven. Its a pain at first, but makes good
>>>modular sense.
>>>
>>>Brad
>>>
>>>Mick Knutson wrote:
>>>
>>>>I am goin to read that document right now.
>>>>Actually, I am only familiar with cvs and I am learning svn. However
>>>>the project I am staring is in ant and svn, so I hav to learn what the
>>>>best way to port an existing svn/ant application to svn/maven
>>>>
>>>>
>>>>
>>>>---
>>>>Thank You
>>>>Mick Knutson
>>>>
>>>>Sr. Java/J2EE Consultant
>>>>BASE logic, inc.
>>>>(415) 648-1804 (S.F., CA)
>>>>http://www.BASELogic.com
>>>>
>>>>Washington Mutual (WAMU) (Emeryville, California)
>>>>---
>>>>
>>>>
>>>>
>>>>
>>>>>From: Julian Wood <wo...@ucalgary.ca>
>>>>>Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>>>To: "Maven Users List" <us...@maven.apache.org>
>>>>>Subject: Re: [m2] Do I need to change my directory structure for
>>>>>subversion?
>>>>>Date: Wed, 8 Feb 2006 17:56:09 -0700
>>>>>
>>>>>If you're doing the porting, and it's okay to change around what is
>>>>>in cvs/svn, I would do the following.
>>>>>
>>>>>myproject/releases
>>>>>myproject/branches
>>>>>myproject/trunk
>>>>>myproject/trunk/pom.xml
>>>>>myproject/trunk/src
>>>>>myproject/trunk/jar1/
>>>>>myproject/trunk/jar1/pom.xml
>>>>>myproject/trunk/jar1/src
>>>>>myproject/trunk/jar2/
>>>>>myproject/trunk/jar2/pom.xml
>>>>>myproject/trunk/jar2/src
>>>>>myproject/trunk/jar3/
>>>>>myproject/trunk/jar3/pom.xml
>>>>>myproject/trunk/jar3/src
>>>>>
>>>>>The packaging on the parent is just 'pom', while each of the child
>>>>>modules is jar. They will all be built automatically, if you package
>>>>>from the parent basedir.
>>>>>
>>>>>Use svn move to get to this dir structure.
>>>>>
>>>>>myproject/releases is often called myproject/tags in maven parlance.
>>>>>
>>>>>I'm not sure if you have to port over any releases or branches, but
>>>>>if you do, I would try and close things out in cvs, then make a new
>>>>>branch in svn and a new release using mvn, using your new dir
>>>>>structure.
>>>>>
>>>>>I wrote a document on this latter type of stuff which might help:
>>>>>
>>>>>http://wiki.ucalgary.ca/page/LearningCommons/Documentation/
>>>>>Project_Versioning_-_Best_Practices
>>>>>
>>>>>J
>>>>>
>>>>>>>I have been using maven with cvs, and now am needing to move to
>>>>>>>subversion.
>>>>>>>And I am very confused at the how to deal with the ./ branches, ./
>>>>>>>releases, ./trunk I am seeing in an existing subversion project
>>>>>>>(that does not have maven currently).
>>>>>>
>>>>>>I guess my confusion is that the ant project I am migrating is boken
>>>>>>up into 3 different ars, but each has their own branch and trunk.
>>>>>>Thus I was confused by trying o match that to a module in m2. So it
>>>>>>seems that I am just going to have to create 1 maven project fo each
>>>>>>jar.
>>>>>>
>>>>>>Then however, my issue is how to I create an assembly that will
>>>>>>contain all these jars, as well as some extra resources I need in my
>>>>>>assembly?
>>>>>>
>>>>>>Do I still create:
>>>>>>
>>>>>>root pom
>>>>>> --> ./jar1/trunk/**
>>>>>> --> ./jar1/trunk/**
>>>>>> --> ./trunk/src/main/assembly/*
>>>>>> --> ./trunk/src/main/resources/*
>>>>>>
>>>>>>and then I will have to build the subprojects seperately?
>>>>>>
>>>>>>---
>>>>>>Thank You
>>>>>>Mick Knutson
>>>>>>
>>>>>>Sr. Java/J2EE Consultant
>>>>>>BASE logic, inc.
>>>>>>(415) 648-1804 (S.F., CA)
>>>>>>http://www.BASELogic.com
>>>>>>
>>>>>>Washington Mutual (WAMU) (Emeryville, California)
>>>>>>---
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>From: "Mick Knutson" <mi...@hotmail.com>
>>>>>>>Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>>>>>To: users@maven.apache.org
>>>>>>>Subject: [m2] Do I need to change my directory structure for
>>>>>>>subversion?
>>>>>>>Date: Wed, 08 Feb 2006 15:57:18 -0800
>>>>>>>
>>>>>>>I have been using maven with cvs, and now am needing to move to
>>>>>>>subversion.
>>>>>>>And I am very confused at the how to deal with the ./ branches, ./
>>>>>>>releases, ./trunk I am seeing in an existing subversion project
>>>>>>>(that does not have maven currently).
>>>>>>>
>>>>>>>---
>>>>>>>Thank You
>>>>>>>Mick Knutson
>>>>>>>
>>>>>>>Sr. Java/J2EE Consultant
>>>>>>>BASE logic, inc.
>>>>>>>(415) 648-1804 (S.F., CA)
>>>>>>>http://www.BASELogic.com
>>>>>>>
>>>>>>>Washington Mutual (WAMU) (Emeryville, California)
>>>>>>>---
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>-----------------------------------------------------------------
>>>>>>>----
>>>>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>------------------------------------------------------------------ ---
>>>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>>>
>>>>>
>>>>>--
>>>>>Julian Wood <wo...@ucalgary.ca>
>>>>>
>>>>>Programmer/Analyst
>>>>>University of Calgary
>>>>>
>>>>>http://commons.ucalgary.ca
>>>>>
>>>>>
>>>>>------------------------------------------------------------------- --
>>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>
>>>>
>>>>
>>>>-------------------------------------------------------------------- -
>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>
>--
>Julian Wood <wo...@ucalgary.ca>
>
>Programmer/Analyst
>University of Calgary
>
>http://commons.ucalgary.ca
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Do I need to change my directory structure for subversion?
Posted by Julian Wood <wo...@ucalgary.ca>.
These are sounding more and more like discrete projects. Make a
totally separate project and add a dependency to your other projects/
modules. Would that work?
J
On 8-Feb-06, at 6:18 PM, Mick Knutson wrote:
> But I want to be able to have each of the 3 different modules
> branchable. is that possible with maven? Having a master pom, then
> having 3 different branchable modules?
>
> ---
> Thank You
> Mick Knutson
>
> Sr. Java/J2EE Consultant
> BASE logic, inc.
> (415) 648-1804 (S.F., CA)
> http://www.BASELogic.com
>
> Washington Mutual (WAMU) (Emeryville, California)
> ---
>
>
>
>
>> From: Brad O'Hearne <br...@neurofire.com>
>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>> To: Maven Users List <us...@maven.apache.org>
>> Subject: Re: [m2] Do I need to change my directory structure for
>> subversion?
>> Date: Wed, 08 Feb 2006 18:10:35 -0700
>>
>> Subversion doesn't change anything. The work to port ant to maven
>> is no different whether working in subversion or not. I'm doing
>> the same thing right now, and basically you are going the throw
>> the content of your project under:
>>
>> <project_name>
>> - trunk (generally here to start with)
>> - tags
>> - branches
>>
>> Just start with a new maven structure for whatever type of project
>> you are dealing with (jar, war, ear, etc.). The key thing to
>> remember is that unlike ant, where you can build multiple
>> archives, though its possible with various plugins to do this in
>> maven, the standard convention is one archive per project. So if
>> your present ant build is generating two jars, in general that
>> means your project is going to split into two projects using
>> maven. Its a pain at first, but makes good modular sense.
>>
>> Brad
>>
>> Mick Knutson wrote:
>>
>>> I am goin to read that document right now.
>>> Actually, I am only familiar with cvs and I am learning svn.
>>> However the project I am staring is in ant and svn, so I hav to
>>> learn what the best way to port an existing svn/ant application
>>> to svn/maven
>>>
>>>
>>>
>>> ---
>>> Thank You
>>> Mick Knutson
>>>
>>> Sr. Java/J2EE Consultant
>>> BASE logic, inc.
>>> (415) 648-1804 (S.F., CA)
>>> http://www.BASELogic.com
>>>
>>> Washington Mutual (WAMU) (Emeryville, California)
>>> ---
>>>
>>>
>>>
>>>
>>>> From: Julian Wood <wo...@ucalgary.ca>
>>>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>> To: "Maven Users List" <us...@maven.apache.org>
>>>> Subject: Re: [m2] Do I need to change my directory structure for
>>>> subversion?
>>>> Date: Wed, 8 Feb 2006 17:56:09 -0700
>>>>
>>>> If you're doing the porting, and it's okay to change around what
>>>> is in cvs/svn, I would do the following.
>>>>
>>>> myproject/releases
>>>> myproject/branches
>>>> myproject/trunk
>>>> myproject/trunk/pom.xml
>>>> myproject/trunk/src
>>>> myproject/trunk/jar1/
>>>> myproject/trunk/jar1/pom.xml
>>>> myproject/trunk/jar1/src
>>>> myproject/trunk/jar2/
>>>> myproject/trunk/jar2/pom.xml
>>>> myproject/trunk/jar2/src
>>>> myproject/trunk/jar3/
>>>> myproject/trunk/jar3/pom.xml
>>>> myproject/trunk/jar3/src
>>>>
>>>> The packaging on the parent is just 'pom', while each of the
>>>> child modules is jar. They will all be built automatically, if
>>>> you package from the parent basedir.
>>>>
>>>> Use svn move to get to this dir structure.
>>>>
>>>> myproject/releases is often called myproject/tags in maven
>>>> parlance.
>>>>
>>>> I'm not sure if you have to port over any releases or branches,
>>>> but if you do, I would try and close things out in cvs, then
>>>> make a new branch in svn and a new release using mvn, using
>>>> your new dir structure.
>>>>
>>>> I wrote a document on this latter type of stuff which might help:
>>>>
>>>> http://wiki.ucalgary.ca/page/LearningCommons/Documentation/
>>>> Project_Versioning_-_Best_Practices
>>>>
>>>> J
>>>>
>>>>>> I have been using maven with cvs, and now am needing to move
>>>>>> to subversion.
>>>>>> And I am very confused at the how to deal with the ./
>>>>>> branches, ./ releases, ./trunk I am seeing in an existing
>>>>>> subversion project (that does not have maven currently).
>>>>>
>>>>> I guess my confusion is that the ant project I am migrating is
>>>>> boken up into 3 different ars, but each has their own branch
>>>>> and trunk. Thus I was confused by trying o match that to a
>>>>> module in m2. So it seems that I am just going to have to
>>>>> create 1 maven project fo each jar.
>>>>>
>>>>> Then however, my issue is how to I create an assembly that
>>>>> will contain all these jars, as well as some extra resources I
>>>>> need in my assembly?
>>>>>
>>>>> Do I still create:
>>>>>
>>>>> root pom
>>>>> --> ./jar1/trunk/**
>>>>> --> ./jar1/trunk/**
>>>>> --> ./trunk/src/main/assembly/*
>>>>> --> ./trunk/src/main/resources/*
>>>>>
>>>>> and then I will have to build the subprojects seperately?
>>>>>
>>>>> ---
>>>>> Thank You
>>>>> Mick Knutson
>>>>>
>>>>> Sr. Java/J2EE Consultant
>>>>> BASE logic, inc.
>>>>> (415) 648-1804 (S.F., CA)
>>>>> http://www.BASELogic.com
>>>>>
>>>>> Washington Mutual (WAMU) (Emeryville, California)
>>>>> ---
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> From: "Mick Knutson" <mi...@hotmail.com>
>>>>>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>>>> To: users@maven.apache.org
>>>>>> Subject: [m2] Do I need to change my directory structure for
>>>>>> subversion?
>>>>>> Date: Wed, 08 Feb 2006 15:57:18 -0800
>>>>>>
>>>>>> I have been using maven with cvs, and now am needing to move
>>>>>> to subversion.
>>>>>> And I am very confused at the how to deal with the ./
>>>>>> branches, ./ releases, ./trunk I am seeing in an existing
>>>>>> subversion project (that does not have maven currently).
>>>>>>
>>>>>> ---
>>>>>> Thank You
>>>>>> Mick Knutson
>>>>>>
>>>>>> Sr. Java/J2EE Consultant
>>>>>> BASE logic, inc.
>>>>>> (415) 648-1804 (S.F., CA)
>>>>>> http://www.BASELogic.com
>>>>>>
>>>>>> Washington Mutual (WAMU) (Emeryville, California)
>>>>>> ---
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----------------------------------------------------------------
>>>>>> ----
>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> ---
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>
>>>> --
>>>> Julian Wood <wo...@ucalgary.ca>
>>>>
>>>> Programmer/Analyst
>>>> University of Calgary
>>>>
>>>> http://commons.ucalgary.ca
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> --
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
--
Julian Wood <wo...@ucalgary.ca>
Programmer/Analyst
University of Calgary
http://commons.ucalgary.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Do I need to change my directory structure for subversion?
Posted by Mick Knutson <mi...@hotmail.com>.
But I want to be able to have each of the 3 different modules branchable. is
that possible with maven? Having a master pom, then having 3 different
branchable modules?
---
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
Washington Mutual (WAMU) (Emeryville, California)
---
>From: Brad O'Hearne <br...@neurofire.com>
>Reply-To: "Maven Users List" <us...@maven.apache.org>
>To: Maven Users List <us...@maven.apache.org>
>Subject: Re: [m2] Do I need to change my directory structure for
>subversion?
>Date: Wed, 08 Feb 2006 18:10:35 -0700
>
>Subversion doesn't change anything. The work to port ant to maven is no
>different whether working in subversion or not. I'm doing the same thing
>right now, and basically you are going the throw the content of your
>project under:
>
><project_name>
> - trunk (generally here to start with)
> - tags
> - branches
>
>Just start with a new maven structure for whatever type of project you are
>dealing with (jar, war, ear, etc.). The key thing to remember is that
>unlike ant, where you can build multiple archives, though its possible with
>various plugins to do this in maven, the standard convention is one archive
>per project. So if your present ant build is generating two jars, in
>general that means your project is going to split into two projects using
>maven. Its a pain at first, but makes good modular sense.
>
>Brad
>
>Mick Knutson wrote:
>
>>I am goin to read that document right now.
>>Actually, I am only familiar with cvs and I am learning svn. However the
>>project I am staring is in ant and svn, so I hav to learn what the best
>>way to port an existing svn/ant application to svn/maven
>>
>>
>>
>>---
>>Thank You
>>Mick Knutson
>>
>>Sr. Java/J2EE Consultant
>>BASE logic, inc.
>>(415) 648-1804 (S.F., CA)
>>http://www.BASELogic.com
>>
>>Washington Mutual (WAMU) (Emeryville, California)
>>---
>>
>>
>>
>>
>>>From: Julian Wood <wo...@ucalgary.ca>
>>>Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>To: "Maven Users List" <us...@maven.apache.org>
>>>Subject: Re: [m2] Do I need to change my directory structure for
>>>subversion?
>>>Date: Wed, 8 Feb 2006 17:56:09 -0700
>>>
>>>If you're doing the porting, and it's okay to change around what is in
>>>cvs/svn, I would do the following.
>>>
>>>myproject/releases
>>>myproject/branches
>>>myproject/trunk
>>>myproject/trunk/pom.xml
>>>myproject/trunk/src
>>>myproject/trunk/jar1/
>>>myproject/trunk/jar1/pom.xml
>>>myproject/trunk/jar1/src
>>>myproject/trunk/jar2/
>>>myproject/trunk/jar2/pom.xml
>>>myproject/trunk/jar2/src
>>>myproject/trunk/jar3/
>>>myproject/trunk/jar3/pom.xml
>>>myproject/trunk/jar3/src
>>>
>>>The packaging on the parent is just 'pom', while each of the child
>>>modules is jar. They will all be built automatically, if you package
>>>from the parent basedir.
>>>
>>>Use svn move to get to this dir structure.
>>>
>>>myproject/releases is often called myproject/tags in maven parlance.
>>>
>>>I'm not sure if you have to port over any releases or branches, but if
>>>you do, I would try and close things out in cvs, then make a new branch
>>>in svn and a new release using mvn, using your new dir structure.
>>>
>>>I wrote a document on this latter type of stuff which might help:
>>>
>>>http://wiki.ucalgary.ca/page/LearningCommons/Documentation/
>>>Project_Versioning_-_Best_Practices
>>>
>>>J
>>>
>>>>>I have been using maven with cvs, and now am needing to move to
>>>>>subversion.
>>>>>And I am very confused at the how to deal with the ./branches, ./
>>>>>releases, ./trunk I am seeing in an existing subversion project (that
>>>>>does not have maven currently).
>>>>
>>>>I guess my confusion is that the ant project I am migrating is boken up
>>>>into 3 different ars, but each has their own branch and trunk. Thus I
>>>>was confused by trying o match that to a module in m2. So it seems that
>>>>I am just going to have to create 1 maven project fo each jar.
>>>>
>>>>Then however, my issue is how to I create an assembly that will contain
>>>>all these jars, as well as some extra resources I need in my assembly?
>>>>
>>>>Do I still create:
>>>>
>>>>root pom
>>>> --> ./jar1/trunk/**
>>>> --> ./jar1/trunk/**
>>>> --> ./trunk/src/main/assembly/*
>>>> --> ./trunk/src/main/resources/*
>>>>
>>>>and then I will have to build the subprojects seperately?
>>>>
>>>>---
>>>>Thank You
>>>>Mick Knutson
>>>>
>>>>Sr. Java/J2EE Consultant
>>>>BASE logic, inc.
>>>>(415) 648-1804 (S.F., CA)
>>>>http://www.BASELogic.com
>>>>
>>>>Washington Mutual (WAMU) (Emeryville, California)
>>>>---
>>>>
>>>>
>>>>
>>>>
>>>>>From: "Mick Knutson" <mi...@hotmail.com>
>>>>>Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>>>To: users@maven.apache.org
>>>>>Subject: [m2] Do I need to change my directory structure for
>>>>>subversion?
>>>>>Date: Wed, 08 Feb 2006 15:57:18 -0800
>>>>>
>>>>>I have been using maven with cvs, and now am needing to move to
>>>>>subversion.
>>>>>And I am very confused at the how to deal with the ./branches, ./
>>>>>releases, ./trunk I am seeing in an existing subversion project (that
>>>>>does not have maven currently).
>>>>>
>>>>>---
>>>>>Thank You
>>>>>Mick Knutson
>>>>>
>>>>>Sr. Java/J2EE Consultant
>>>>>BASE logic, inc.
>>>>>(415) 648-1804 (S.F., CA)
>>>>>http://www.BASELogic.com
>>>>>
>>>>>Washington Mutual (WAMU) (Emeryville, California)
>>>>>---
>>>>>
>>>>>
>>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>
>>>--
>>>Julian Wood <wo...@ucalgary.ca>
>>>
>>>Programmer/Analyst
>>>University of Calgary
>>>
>>>http://commons.ucalgary.ca
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Do I need to change my directory structure for subversion?
Posted by Brad O'Hearne <br...@neurofire.com>.
Subversion doesn't change anything. The work to port ant to maven is no
different whether working in subversion or not. I'm doing the same thing
right now, and basically you are going the throw the content of your
project under:
<project_name>
- trunk (generally here to start with)
- tags
- branches
Just start with a new maven structure for whatever type of project you
are dealing with (jar, war, ear, etc.). The key thing to remember is
that unlike ant, where you can build multiple archives, though its
possible with various plugins to do this in maven, the standard
convention is one archive per project. So if your present ant build is
generating two jars, in general that means your project is going to
split into two projects using maven. Its a pain at first, but makes good
modular sense.
Brad
Mick Knutson wrote:
> I am goin to read that document right now.
> Actually, I am only familiar with cvs and I am learning svn. However
> the project I am staring is in ant and svn, so I hav to learn what the
> best way to port an existing svn/ant application to svn/maven
>
>
>
> ---
> Thank You
> Mick Knutson
>
> Sr. Java/J2EE Consultant
> BASE logic, inc.
> (415) 648-1804 (S.F., CA)
> http://www.BASELogic.com
>
> Washington Mutual (WAMU) (Emeryville, California)
> ---
>
>
>
>
>> From: Julian Wood <wo...@ucalgary.ca>
>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>> To: "Maven Users List" <us...@maven.apache.org>
>> Subject: Re: [m2] Do I need to change my directory structure for
>> subversion?
>> Date: Wed, 8 Feb 2006 17:56:09 -0700
>>
>> If you're doing the porting, and it's okay to change around what is
>> in cvs/svn, I would do the following.
>>
>> myproject/releases
>> myproject/branches
>> myproject/trunk
>> myproject/trunk/pom.xml
>> myproject/trunk/src
>> myproject/trunk/jar1/
>> myproject/trunk/jar1/pom.xml
>> myproject/trunk/jar1/src
>> myproject/trunk/jar2/
>> myproject/trunk/jar2/pom.xml
>> myproject/trunk/jar2/src
>> myproject/trunk/jar3/
>> myproject/trunk/jar3/pom.xml
>> myproject/trunk/jar3/src
>>
>> The packaging on the parent is just 'pom', while each of the child
>> modules is jar. They will all be built automatically, if you package
>> from the parent basedir.
>>
>> Use svn move to get to this dir structure.
>>
>> myproject/releases is often called myproject/tags in maven parlance.
>>
>> I'm not sure if you have to port over any releases or branches, but
>> if you do, I would try and close things out in cvs, then make a new
>> branch in svn and a new release using mvn, using your new dir structure.
>>
>> I wrote a document on this latter type of stuff which might help:
>>
>> http://wiki.ucalgary.ca/page/LearningCommons/Documentation/
>> Project_Versioning_-_Best_Practices
>>
>> J
>>
>>>> I have been using maven with cvs, and now am needing to move to
>>>> subversion.
>>>> And I am very confused at the how to deal with the ./branches, ./
>>>> releases, ./trunk I am seeing in an existing subversion project
>>>> (that does not have maven currently).
>>>
>>> I guess my confusion is that the ant project I am migrating is
>>> boken up into 3 different ars, but each has their own branch and
>>> trunk. Thus I was confused by trying o match that to a module in
>>> m2. So it seems that I am just going to have to create 1 maven
>>> project fo each jar.
>>>
>>> Then however, my issue is how to I create an assembly that will
>>> contain all these jars, as well as some extra resources I need in
>>> my assembly?
>>>
>>> Do I still create:
>>>
>>> root pom
>>> --> ./jar1/trunk/**
>>> --> ./jar1/trunk/**
>>> --> ./trunk/src/main/assembly/*
>>> --> ./trunk/src/main/resources/*
>>>
>>> and then I will have to build the subprojects seperately?
>>>
>>> ---
>>> Thank You
>>> Mick Knutson
>>>
>>> Sr. Java/J2EE Consultant
>>> BASE logic, inc.
>>> (415) 648-1804 (S.F., CA)
>>> http://www.BASELogic.com
>>>
>>> Washington Mutual (WAMU) (Emeryville, California)
>>> ---
>>>
>>>
>>>
>>>
>>>> From: "Mick Knutson" <mi...@hotmail.com>
>>>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>> To: users@maven.apache.org
>>>> Subject: [m2] Do I need to change my directory structure for
>>>> subversion?
>>>> Date: Wed, 08 Feb 2006 15:57:18 -0800
>>>>
>>>> I have been using maven with cvs, and now am needing to move to
>>>> subversion.
>>>> And I am very confused at the how to deal with the ./branches, ./
>>>> releases, ./trunk I am seeing in an existing subversion project
>>>> (that does not have maven currently).
>>>>
>>>> ---
>>>> Thank You
>>>> Mick Knutson
>>>>
>>>> Sr. Java/J2EE Consultant
>>>> BASE logic, inc.
>>>> (415) 648-1804 (S.F., CA)
>>>> http://www.BASELogic.com
>>>>
>>>> Washington Mutual (WAMU) (Emeryville, California)
>>>> ---
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>> --
>> Julian Wood <wo...@ucalgary.ca>
>>
>> Programmer/Analyst
>> University of Calgary
>>
>> http://commons.ucalgary.ca
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Do I need to change my directory structure for subversion?
Posted by Mick Knutson <mi...@hotmail.com>.
I am goin to read that document right now.
Actually, I am only familiar with cvs and I am learning svn. However the
project I am staring is in ant and svn, so I hav to learn what the best way
to port an existing svn/ant application to svn/maven
---
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
Washington Mutual (WAMU) (Emeryville, California)
---
>From: Julian Wood <wo...@ucalgary.ca>
>Reply-To: "Maven Users List" <us...@maven.apache.org>
>To: "Maven Users List" <us...@maven.apache.org>
>Subject: Re: [m2] Do I need to change my directory structure for
>subversion?
>Date: Wed, 8 Feb 2006 17:56:09 -0700
>
>If you're doing the porting, and it's okay to change around what is in
>cvs/svn, I would do the following.
>
>myproject/releases
>myproject/branches
>myproject/trunk
>myproject/trunk/pom.xml
>myproject/trunk/src
>myproject/trunk/jar1/
>myproject/trunk/jar1/pom.xml
>myproject/trunk/jar1/src
>myproject/trunk/jar2/
>myproject/trunk/jar2/pom.xml
>myproject/trunk/jar2/src
>myproject/trunk/jar3/
>myproject/trunk/jar3/pom.xml
>myproject/trunk/jar3/src
>
>The packaging on the parent is just 'pom', while each of the child modules
>is jar. They will all be built automatically, if you package from the
>parent basedir.
>
>Use svn move to get to this dir structure.
>
>myproject/releases is often called myproject/tags in maven parlance.
>
>I'm not sure if you have to port over any releases or branches, but if you
>do, I would try and close things out in cvs, then make a new branch in svn
>and a new release using mvn, using your new dir structure.
>
>I wrote a document on this latter type of stuff which might help:
>
>http://wiki.ucalgary.ca/page/LearningCommons/Documentation/
>Project_Versioning_-_Best_Practices
>
>J
>
>>>I have been using maven with cvs, and now am needing to move to
>>>subversion.
>>>And I am very confused at the how to deal with the ./branches, ./
>>>releases, ./trunk I am seeing in an existing subversion project (that
>>>does not have maven currently).
>>I guess my confusion is that the ant project I am migrating is boken up
>>into 3 different ars, but each has their own branch and trunk. Thus I was
>>confused by trying o match that to a module in m2. So it seems that I am
>>just going to have to create 1 maven project fo each jar.
>>
>>Then however, my issue is how to I create an assembly that will contain
>>all these jars, as well as some extra resources I need in my assembly?
>>
>>Do I still create:
>>
>>root pom
>> --> ./jar1/trunk/**
>> --> ./jar1/trunk/**
>> --> ./trunk/src/main/assembly/*
>> --> ./trunk/src/main/resources/*
>>
>>and then I will have to build the subprojects seperately?
>>
>>---
>>Thank You
>>Mick Knutson
>>
>>Sr. Java/J2EE Consultant
>>BASE logic, inc.
>>(415) 648-1804 (S.F., CA)
>>http://www.BASELogic.com
>>
>>Washington Mutual (WAMU) (Emeryville, California)
>>---
>>
>>
>>
>>
>>>From: "Mick Knutson" <mi...@hotmail.com>
>>>Reply-To: "Maven Users List" <us...@maven.apache.org>
>>>To: users@maven.apache.org
>>>Subject: [m2] Do I need to change my directory structure for subversion?
>>>Date: Wed, 08 Feb 2006 15:57:18 -0800
>>>
>>>I have been using maven with cvs, and now am needing to move to
>>>subversion.
>>>And I am very confused at the how to deal with the ./branches, ./
>>>releases, ./trunk I am seeing in an existing subversion project (that
>>>does not have maven currently).
>>>
>>>---
>>>Thank You
>>>Mick Knutson
>>>
>>>Sr. Java/J2EE Consultant
>>>BASE logic, inc.
>>>(415) 648-1804 (S.F., CA)
>>>http://www.BASELogic.com
>>>
>>>Washington Mutual (WAMU) (Emeryville, California)
>>>---
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>
>--
>Julian Wood <wo...@ucalgary.ca>
>
>Programmer/Analyst
>University of Calgary
>
>http://commons.ucalgary.ca
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Do I need to change my directory structure for subversion?
Posted by Julian Wood <wo...@ucalgary.ca>.
If you're doing the porting, and it's okay to change around what is
in cvs/svn, I would do the following.
myproject/releases
myproject/branches
myproject/trunk
myproject/trunk/pom.xml
myproject/trunk/src
myproject/trunk/jar1/
myproject/trunk/jar1/pom.xml
myproject/trunk/jar1/src
myproject/trunk/jar2/
myproject/trunk/jar2/pom.xml
myproject/trunk/jar2/src
myproject/trunk/jar3/
myproject/trunk/jar3/pom.xml
myproject/trunk/jar3/src
The packaging on the parent is just 'pom', while each of the child
modules is jar. They will all be built automatically, if you package
from the parent basedir.
Use svn move to get to this dir structure.
myproject/releases is often called myproject/tags in maven parlance.
I'm not sure if you have to port over any releases or branches, but
if you do, I would try and close things out in cvs, then make a new
branch in svn and a new release using mvn, using your new dir structure.
I wrote a document on this latter type of stuff which might help:
http://wiki.ucalgary.ca/page/LearningCommons/Documentation/
Project_Versioning_-_Best_Practices
J
>> I have been using maven with cvs, and now am needing to move to
>> subversion.
>> And I am very confused at the how to deal with the ./branches, ./
>> releases, ./trunk I am seeing in an existing subversion project
>> (that does not have maven currently).
> I guess my confusion is that the ant project I am migrating is
> boken up into 3 different ars, but each has their own branch and
> trunk. Thus I was confused by trying o match that to a module in
> m2. So it seems that I am just going to have to create 1 maven
> project fo each jar.
>
> Then however, my issue is how to I create an assembly that will
> contain all these jars, as well as some extra resources I need in
> my assembly?
>
> Do I still create:
>
> root pom
> --> ./jar1/trunk/**
> --> ./jar1/trunk/**
> --> ./trunk/src/main/assembly/*
> --> ./trunk/src/main/resources/*
>
> and then I will have to build the subprojects seperately?
>
> ---
> Thank You
> Mick Knutson
>
> Sr. Java/J2EE Consultant
> BASE logic, inc.
> (415) 648-1804 (S.F., CA)
> http://www.BASELogic.com
>
> Washington Mutual (WAMU) (Emeryville, California)
> ---
>
>
>
>
>> From: "Mick Knutson" <mi...@hotmail.com>
>> Reply-To: "Maven Users List" <us...@maven.apache.org>
>> To: users@maven.apache.org
>> Subject: [m2] Do I need to change my directory structure for
>> subversion?
>> Date: Wed, 08 Feb 2006 15:57:18 -0800
>>
>> I have been using maven with cvs, and now am needing to move to
>> subversion.
>> And I am very confused at the how to deal with the ./branches, ./
>> releases, ./trunk I am seeing in an existing subversion project
>> (that does not have maven currently).
>>
>> ---
>> Thank You
>> Mick Knutson
>>
>> Sr. Java/J2EE Consultant
>> BASE logic, inc.
>> (415) 648-1804 (S.F., CA)
>> http://www.BASELogic.com
>>
>> Washington Mutual (WAMU) (Emeryville, California)
>> ---
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
--
Julian Wood <wo...@ucalgary.ca>
Programmer/Analyst
University of Calgary
http://commons.ucalgary.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: [m2] Do I need to change my directory structure for subversion?
Posted by Mick Knutson <mi...@hotmail.com>.
I guess my confusion is that the ant project I am migrating is boken up into
3 different ars, but each has their own branch and trunk. Thus I was
confused by trying o match that to a module in m2. So it seems that I am
just going to have to create 1 maven project fo each jar.
Then however, my issue is how to I create an assembly that will contain all
these jars, as well as some extra resources I need in my assembly?
Do I still create:
root pom
--> ./jar1/trunk/**
--> ./jar1/trunk/**
--> ./trunk/src/main/assembly/*
--> ./trunk/src/main/resources/*
and then I will have to build the subprojects seperately?
---
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
Washington Mutual (WAMU) (Emeryville, California)
---
>From: "Mick Knutson" <mi...@hotmail.com>
>Reply-To: "Maven Users List" <us...@maven.apache.org>
>To: users@maven.apache.org
>Subject: [m2] Do I need to change my directory structure for subversion?
>Date: Wed, 08 Feb 2006 15:57:18 -0800
>
>I have been using maven with cvs, and now am needing to move to subversion.
>And I am very confused at the how to deal with the ./branches, ./releases,
>./trunk I am seeing in an existing subversion project (that does not have
>maven currently).
>
>---
>Thank You
>Mick Knutson
>
>Sr. Java/J2EE Consultant
>BASE logic, inc.
>(415) 648-1804 (S.F., CA)
>http://www.BASELogic.com
>
>Washington Mutual (WAMU) (Emeryville, California)
>---
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org