2013/2/9 Eric Charles <[email protected]>

> On 09/02/2013 10:10, Mikhail Mazursky wrote:
>
>> Hi, Eric.
>>
>>
>> 2013/2/9 Eric Charles <[email protected]>
>>
>>  Hi,
>>>
>>> I have opened ONAMI-78  Enable the tests.jar sources.jar and
>>> test-sources.jar generation
>>>
>>> 1. Do you have interest/think it is logical to have this generation for
>>> snapshots?
>>>
>>>
>> I think it makes perfect sense.
>>
>>
>>  2. Do you think the proposed solution is acceptable?
>>>
>>> If i understand correctly the issue, as an alternative solution it should
>>>
>> be possible to just disable maven-jar-plugin execution for that particular
>> project with pom packaging type.
>>
>
> Yes, disabling the maven-jar-plugin execution for pom packaging type would
> be better.
>
> Do you know how to achieve this?


It's easy - take a look at this example
http://thomaswabner.wordpress.com/2010/02/16/howto-disable-inherited-maven-plugin/
I agree with Simone - is there a need for test and test-sources artifacts
first of all?


>
>  To me it looks like the question is what
>> is easier to maintain - parent pom and exception in one project vs
>> repeated
>> (but trivial) configuration in multiple places. Implicit vs explicit.
>> Conserning proposed solution - i think it is acceptable and better than
>> alternative one. Also, it looks like a bug or at least as a thing to
>> improve in maven-jar-plugin - and fixing it there whould have been the
>> best
>> option.
>>
>
> I will open a MAVEN JIRA for this.
>

I guess you wanted to say maven-jar-plugin jira [1] because the issue is in
this plugin IMO?

[1]: https://jira.codehaus.org/browse/MJAR

Reply via email to