> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: 26 June 2003 09:05
> To: 'Cactus Users List'
> Subject: RE: Building Cactus with Maven -> I'd like to volonteer

[snip]

> 
> Yes, Maven can handle this. The easiest solution (if we don't want to
> change the current src structure), involves doing some copy: copy
> j2ee${j2ee.api}/** and share/** to a target-${j2ee.api}/src directory
> and then point Maven to target-${j2ee.api}/src.

Actually I forgot that there is another solution (reminded to me by
Brett on the maven mailing list):

<preGoal name="java:compile">
  <ant:path id="maven.j2ee.compile.src.set"
      location="${pom.build.sourceDirectory}/../${j2ee.version}"/>
  <maven:addPath id="maven.compile.src.set"
      refid="maven.j2ee.compile.src.set"/>
</preGoal>

[snip]

-Vincent



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

Reply via email to