You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by idan72 <is...@cisco.com> on 2008/12/30 17:47:03 UTC

maven with different source directory

Hi,

I have project of RFT where the source code is under two directories : com ,
resources .
Both directories include java source code and other files generated by RFT.

How can I compile both directories into the target directory ?
Can I tell maven to put the .class file in the same splace as the .java file
for both com,resources ?
If not How can I copy some of the files generated by RFT to the target
directory ?

Thanks

-- 
View this message in context: http://www.nabble.com/maven-with-different-source-directory-tp21219713p21219713.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven with different source directory

Posted by Wendy Smoak <ws...@gmail.com>.
On Tue, Dec 30, 2008 at 9:47 AM, idan72 <is...@cisco.com> wrote:
> I have project of RFT where the source code is under two directories : com ,
> resources .
> Both directories include java source code and other files generated by RFT.
>
> How can I compile both directories into the target directory ?
> Can I tell maven to put the .class file in the same splace as the .java file
> for both com,resources ?

The Build Helper plugin can add additional source directories:
http://mojo.codehaus.org/build-helper-maven-plugin/usage.html

If there are non-Java resources that you need copied in, you may need
to configure <resources> to pick them up.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org