No. I've changed it to put the test classes into that directory.

Mike

<br><br><br>&gt;From: Dennis Geurts &lt;[EMAIL PROTECTED]&gt;<br>&gt;Reply-To: Dennis Geurts &lt;[EMAIL PROTECTED]&gt;<br>&gt;To: Maven Users List &lt;[email protected]&gt;<br>&gt;Subject: Re: Multiproject resources problem<br>&gt;Date: Wed, 27 Jul 2005 13:16:56 +0200<br>&gt;<br>&gt;Michael,<br>&gt; you specify:<br>&gt; &lt;directory&gt;${basedir}/build/testclasses&lt;/directory&gt;<br>&gt; shouldn't that be:<br>&gt;&lt;directory&gt;${basedir}/target/test-classes&lt;/directory&gt;<br>&gt; ??<br>&gt; Dennis<br>&gt;<br>&gt; On 7/27/05, Michael Owen &lt;[EMAIL PROTECTED]&gt; wrote:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; I have a problem when doing jar:install in a multiproject scenerio. In my<br>&gt; &gt; individual project I have:<br>&gt; &gt;<br>&gt; &gt; &lt;resources&gt;<br>&gt; &gt; &lt;resource&gt;<br>&gt; &gt; &lt;directory&gt;${basedir}/build/testclasses&lt;/directory&gt;<br>&gt; &gt; &lt;includes&gt;<br>&gt; &gt; &lt;include&gt;**/*&lt;/include&gt;<br>&gt; &gt; &lt;/includes&gt;<br>&gt; &gt; &lt;/resource&gt;<br>&gt; &gt; &lt;/resources&gt;<br>&gt; &gt;<br>&gt; &gt; to include the testclasses into the produced jar when I do jar:install.<br>&gt; &gt; This<br>&gt; &gt; happens when doing it for the individual project, but when done as a goal<br>&gt; &gt; for a multiproject goal ie:<br>&gt; &gt;<br>&gt; &gt; &lt;goal name=&quot;multi:build&quot;&gt;<br>&gt; &gt; &lt;j:set var=&quot;goal&quot; value=&quot;jar:install&quot;/&gt;<br>&gt; &gt; &lt;attainGoal name=&quot;multiproject:goal&quot;/&gt;<br>&gt; &gt; &lt;/goal&gt;<br>&gt; &gt;<br>&gt; &gt; The testclasses don't get put into the jar. Any help? Looked on the<br>&gt; &gt; multiproject plugin documentation page and it says to use ${basedir} to<br>&gt; &gt; solve the problem, but I've done that.<br>&gt; &gt;<br>&gt; &gt; Mike<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ---------------------------------------------------------------------<br>&gt; &gt; To unsubscribe, e-mail: [EMAIL PROTECTED]<br>&gt; &gt; For additional commands, e-mail: [EMAIL PROTECTED]<br>&gt; &gt;<br>&gt; &gt;<br>



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

Reply via email to