[fedora-java] [Fedora-packaging] correct name for maven pom-file

Guido Grazioli guido.grazioli at gmail.com
Fri Jul 9 06:46:12 UTC 2010


2010/7/9 David Walluck <david at zarb.org>:
> On 07/08/2010 05:26 PM, Andrew Overholt wrote:
>> Hi Deepak,
>>
>>> > Also, it shows:
>>> >
>>> > %add_to_maven_depmap org.apache.maven %{name} %{version} JPP %{name}
>>> >
>>> > But org.apache.maven almost certainly needs to be changed to the appropriate
>>> > parent, but there is no discussion about this on the page.
>>> >
>>>
>>> Agreed. It should be something like:
>>>
>>> %add_to_maven_depmap <original group name for the module> %{name} %{version} JPP %{name}
>>
>> Please take this modification to the guidelines to the Fedora packaging
>> committee for inclusion on the wiki.
>
> The second argument is not %{name}, but the artifactId, so it's more like
>
> %add_to_maven_depmap <groupId> <artifactId> <version>
> JPP[/path/relative/to/%{_javadir}] <jar>
>
> The third argument is typically ignored, and in fact, even here, it
> should be the version in the pom, which is almost always (but not
> necessarily) the same as %{version}.
>

We had some discussions on that topic before, in response
to this proposal:
https://fedoraproject.org/wiki/User:Abo/JavaPackagingDraftUpdate
which looks better than current guidelines imho

cheers


-- 
Guido Grazioli <guido.grazioli at gmail.com>
Via Parri 11 48011 - Alfonsine (RA)
Mobile: +39 347 1017202 (10-18)
Key FP = 7040 F398 0DED A737 7337  DAE1 12DC A698 5E81 2278
Linked in: http://www.linkedin.com/in/guidograzioli


More information about the java-devel mailing list