After adding src directory under resources, I'm able to see the source files
in the output jar. 

Thanks for your help,
Raja.


Wendy Smoak-3 wrote:
> 
> On Thu, Aug 28, 2008 at 9:47 AM, raja72 <[EMAIL PROTECTED]> wrote:
> 
>> I'm trying to compile an utility jar file with source code and add it the
>> local repository using maven.
> 
> Try specifying your 'src' directory in <resources> so that it will get
> copied into your jar.
> 
> If you have anything in src/main/resources that is currently getting
> copied you'll need to add that also.  Once you specify <resources> in
> the pom you lose the default.
> 
> -- 
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Including-source-in-the-target-tp19186956p19205507.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to