On 4/6/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> We ship some example apps and have always included the source code
> (src/main/java) under WEB-INF/src.
>
> How do I do that with Maven 2?
>
> We tried a couple of things with <resources> such as:
>      <targetPath>../${pom.artifactId}/WEB-INF/src/main/java</targetPath>
> and
>      <targetPath>${basedir}/${pom.artifactId
> }/WEB-INF/src/main/java</targetPath>
> but each would work for one developer and not another.  Strange.


I'm probably misunderstanding, but why not just:

<targetPath>${project.build.directory}/${pom.artifactId
}/WEB-INF/src/main/java</targetPath>

--
Martin Cooper


You can see it here, possibly commented out:
>    http://svn.apache.org/repos/asf/struts/action/trunk/apps/pom.xml
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to