If the parent is deployed internally then you don't need to worry about
the structure.

Alternatively, if you are using a Build Management s Server like AHP or
Hudson, tey can alter the layout on-the-fly at checkout/update time.


________________________________

Curt Yanko | Continuous Integration Services | UnitedHealth Group IT 
Making IT Happen, one build at a time

-----Original Message-----
From: thisguy [mailto:bobsmith30...@yahoo.com] 
Sent: Tuesday, October 19, 2010 10:40 AM
To: users@maven.apache.org
Subject: project structure with per-project trunks and svn


Hello experts, I'm trying to reconcile the standard maven project
structure with the standard svn project structure (with per-project
versioning).  I'd like to have a subversion structure like this:

pom.xml
--proj A
----trunk
------pom.xml
------src
--proj B
----trunk
------pom.xml
------src

etc.  

How can I get maven to build everything properly?  

Should I use svn externals to magically remove the trunk directories so
that this layout would conform to standard maven layout?  If I did that,
how would I handle the situation of wanting to build a particular
branch..wouldn't I have to update the externals properties back and
forth (cumbersome)?  

Or should I change all project poms to use parent relative paths of
"../../pom.xml" to get to the parent pom?  But this technique wouldn't
work if I wanted to build a particular branch because it would be an
extra level deep (i.e. proj->branches->1.0.0->pom.xml).

What is best practice here?  Thank you.


--
View this message in context:
http://maven.40175.n5.nabble.com/project-structure-with-per-project-trun
ks-and-svn-tp3219163p3219163.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.


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

Reply via email to