Essentially it's exactly the same source root, just need an extra
specialised compilation step for a subset of the code.

Could I use modules here?

Thanks

--Calum

On 4/3/06, Milos Kleint <[EMAIL PROTECTED]> wrote:
> make it 2  projects, that's the general rule of thumb when you have 2
> different source roots or have rules for parts of the sourcebase (in
> which case you need to separate the sources).
>
> Milos
>
> Calum Shaw-Mackay wrote:
> > Hello
> >
> > I'm just starting out using Maven for some of my projects and I have a
> > couple of questions
> >
> > How do I in a my pom.xml indicate that I want a subset of my source
> > compiled to a separate directory using 1.4, whilst having the whole
> > source (including the subset) compiled to 1.5 in another directory
> >
> > Essentially, this is for jini-like projects where you can run the main
> > application under 1.5 but clients to the service maybe running under
> > 1.4
> >
> > I then want to add them as separate artifacts; one for the downloaded
> > files for the service, one for the interfaces that the clients are
> > compiled against and another for the actual service.
> >
> > I'm thinking of using profiles, as a start.....
> >
> > Any help or pointers would be greatly appreciated
> >
> > Thanks
> >
> >    --Calum
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to