Somewhere in the back of my head I recall an issue that a lot of
people ran into due to the fact that some open source project included
some .java files in their jar. I might recall wrong, but I would keep
the java source files in a separate jar file (as is the de facto
standard in maven repos).

/Anders

On Mon, Aug 15, 2011 at 21:53, Olivier Lamy <[email protected]> wrote:
> Hello,
> See source plugin :
> http://maven.apache.org/plugins/maven-source-plugin/usage.html
>
>
> 2011/8/15 Yang <[email protected]>:
>> when I build a jar to be exported, I'd like to also include the java
>> sources files so that users can
>> immediately see the source files when he does "show type definition"
>> in eclipse, and not having to do "attach source files".
>>
>>
>> I looked around the the config options of maven-jar-plugin, doesn't
>> seem there is anything for that;
>> the maven-source-plugin could do it, but it generates a different file name.
>>
>>
>> what is the best approach to do this?
>>
>> Thanks
>> Yang
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
>
> --
> Olivier Lamy
> Talend : http://talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to