Yes this seems feasible.  The only thing is that changing the utility 
project requires a new deploy but it doesn't change that often anyways.

Thanks for your input Daniel, I might end up implementing your suggestion 
depending on the consensus from others.


_Mang Lau





"Siegmann Daniel, NY" <[EMAIL PROTECTED]> 
04/04/2006 12:14 PM
Please respond to
"Maven Users List" <[email protected]>


To
'Maven Users List' <[email protected]>
cc

Subject
RE: Shared projects and Maven best practice






> Do I make sense or am I missing something?
> 
> Thanks again for your reply.
> 
> 
> _Mang Lau

This is only true if you have to change the snapshot version. I don't know
much about snapshots, particularly in Maven2, but I would assume you could
just have a snapshot version "1-SNAPSHOT" and then have versions "1.0.0",
"1.0.1", "1.1.0", and so on. A project which was working on HEAD would 
just
use "1-SNAPSHOT" as the dependency. This way only the project which moved
off of HEAD would have to list a specific version.

There is one disadvantage to this if you work in Eclipse: you can't modify
the utility code from the application project b/c it's in a jar file, and
changes to the utility code won't affect the application projects until 
you
update the jar. You'd have to make changes to the utility code and then 
run
install on the utility project. Or if you need to make some quick changes 
to
continue your work, just copy the relevant source code into your 
application
project temporarily (this should override the version in the jar).

Still, it is probably not impossible for you to continue working the way 
you
do now. I am not familiar with Continuum, but I think this would be easy
enough to do with CruiseControl. I would just check out a copy from the 
tag
(in a different directory) for CC, and then update the application 
project's
entry in CC's config.xml to point to the new checkout. Perhaps someone
familiar with Continuum will know how you can achieve what you're looking
for.

--
Daniel Siegmann
FJA-US, Inc.
(212) 840-2618 ext. 139

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to