You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@helix.apache.org by Ming Fang <mi...@mac.com> on 2013/03/11 07:04:31 UTC

Maven Attach Source

The pom configuration for maven-source-plugin is in the wrong place.
It needs to be moved from pluginManagement to plugin for it to take effect.

Re: Maven Attach Source

Posted by Olivier Lamy <ol...@apache.org>.
pushed.

2013/3/13 Ming Fang <mi...@mac.com>:
> Most Apache projects I've used tends to include sources even for SNAPSHOTs.
> I think it's very useful.
>
> Sent from my iPad
>
> On Mar 12, 2013, at 4:50 PM, Olivier Lamy <ol...@apache.org> wrote:
>
>> AFAIK sources are attached for release.
>> Do you really need that for SNAPSHOTs ?
>>
>> 2013/3/11 Ming Fang <mi...@mac.com>:
>>> Maven attach source is meant to jar up the source code in addition to the
>>> binary jar.
>>> The source jar is then uploaded to the Maven repository.
>>> IDEs such as Intellij can then download the source jar which is very useful
>>> for debugging.
>>>
>>> Currently the source jar not being attached and I can't see the Helix source
>>> when debugging my own application.
>>> Please find the fix here
>>> https://github.com/mingfang/apache-helix/commit/f2979f4e724653150a75136350b68ed3c44fad4e
>>>
>>> On Mar 11, 2013, at 2:14 AM, kishore g <g....@gmail.com> wrote:
>>>
>>> What is the symptom, you are not able to attach helix source to the jar. Do
>>> you mind what needs to change. Olivier is our maven expert.
>>>
>>>
>>> On Sun, Mar 10, 2013 at 11:04 PM, Ming Fang <mi...@mac.com> wrote:
>>>>
>>>> The pom configuration for maven-source-plugin is in the wrong place.
>>>> It needs to be moved from pluginManagement to plugin for it to take
>>>> effect.
>>
>>
>>
>> --
>> Olivier Lamy
>> Talend: http://coders.talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

Re: Maven Attach Source

Posted by Ming Fang <mi...@mac.com>.
Most Apache projects I've used tends to include sources even for SNAPSHOTs. 
I think it's very useful. 

Sent from my iPad

On Mar 12, 2013, at 4:50 PM, Olivier Lamy <ol...@apache.org> wrote:

> AFAIK sources are attached for release.
> Do you really need that for SNAPSHOTs ?
> 
> 2013/3/11 Ming Fang <mi...@mac.com>:
>> Maven attach source is meant to jar up the source code in addition to the
>> binary jar.
>> The source jar is then uploaded to the Maven repository.
>> IDEs such as Intellij can then download the source jar which is very useful
>> for debugging.
>> 
>> Currently the source jar not being attached and I can't see the Helix source
>> when debugging my own application.
>> Please find the fix here
>> https://github.com/mingfang/apache-helix/commit/f2979f4e724653150a75136350b68ed3c44fad4e
>> 
>> On Mar 11, 2013, at 2:14 AM, kishore g <g....@gmail.com> wrote:
>> 
>> What is the symptom, you are not able to attach helix source to the jar. Do
>> you mind what needs to change. Olivier is our maven expert.
>> 
>> 
>> On Sun, Mar 10, 2013 at 11:04 PM, Ming Fang <mi...@mac.com> wrote:
>>> 
>>> The pom configuration for maven-source-plugin is in the wrong place.
>>> It needs to be moved from pluginManagement to plugin for it to take
>>> effect.
> 
> 
> 
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy

Re: Maven Attach Source

Posted by Olivier Lamy <ol...@apache.org>.
AFAIK sources are attached for release.
Do you really need that for SNAPSHOTs ?

2013/3/11 Ming Fang <mi...@mac.com>:
> Maven attach source is meant to jar up the source code in addition to the
> binary jar.
> The source jar is then uploaded to the Maven repository.
> IDEs such as Intellij can then download the source jar which is very useful
> for debugging.
>
> Currently the source jar not being attached and I can't see the Helix source
> when debugging my own application.
> Please find the fix here
> https://github.com/mingfang/apache-helix/commit/f2979f4e724653150a75136350b68ed3c44fad4e
>
> On Mar 11, 2013, at 2:14 AM, kishore g <g....@gmail.com> wrote:
>
> What is the symptom, you are not able to attach helix source to the jar. Do
> you mind what needs to change. Olivier is our maven expert.
>
>
> On Sun, Mar 10, 2013 at 11:04 PM, Ming Fang <mi...@mac.com> wrote:
>>
>> The pom configuration for maven-source-plugin is in the wrong place.
>> It needs to be moved from pluginManagement to plugin for it to take
>> effect.
>
>
>



--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

Re: Maven Attach Source

Posted by Ming Fang <mi...@mac.com>.
Maven attach source is meant to jar up the source code in addition to the binary jar.
The source jar is then uploaded to the Maven repository.
IDEs such as Intellij can then download the source jar which is very useful for debugging.

Currently the source jar not being attached and I can't see the Helix source when debugging my own application.
Please find the fix here https://github.com/mingfang/apache-helix/commit/f2979f4e724653150a75136350b68ed3c44fad4e

On Mar 11, 2013, at 2:14 AM, kishore g <g....@gmail.com> wrote:

> What is the symptom, you are not able to attach helix source to the jar. Do you mind what needs to change. Olivier is our maven expert.
> 
> 
> On Sun, Mar 10, 2013 at 11:04 PM, Ming Fang <mi...@mac.com> wrote:
> The pom configuration for maven-source-plugin is in the wrong place.
> It needs to be moved from pluginManagement to plugin for it to take effect.
> 


Re: Maven Attach Source

Posted by kishore g <g....@gmail.com>.
What is the symptom, you are not able to attach helix source to the jar. Do
you mind what needs to change. Olivier is our maven expert.


On Sun, Mar 10, 2013 at 11:04 PM, Ming Fang <mi...@mac.com> wrote:

> The pom configuration for maven-source-plugin is in the wrong place.
> It needs to be moved from pluginManagement to plugin for it to take effect.
>