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}.
--
Sincerely,
David Walluck
<david(a)zarb.org>