Re: [Fedora-packaging] correct name for maven pom-file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Orion Poplawski <orion@xxxxxxxxxxxxx> [2010-07-08 16:30]:
> On 07/08/2010 02:04 PM, Andrew Overholt wrote:
> > Hi Chris,
> >
> > Java/Maven-specific questions like this should probably be directed to
> > java-devel@xxxxxxxxxxxxxxxxxxxxxxx first.
> >
> > Andrew
> >
> > * Chris Spike<chris.spike@xxxxxxxx>  [2010-07-08 15:59]:
> >> Hi,
> >>
> >> Is there a recommendation on the name of the pom file for java packages?
> >> There is a template in the wiki[1] that tells me to name it
> >> JPP-%{name}.pom, but actually most packages call it JPP.%{name}.pom or
> >> JPP-%{short_name}.pom.
> >> Even apache-commons packages are non consistent (e.g.
> >> JPP-commons-codec.pom, JPP-apache-commons-math.pom,
> >> JPP.jakarta-commons-io.pom or JPP-jakarta-commons-net.pom) so I guess
> >> this is up to taste?
> >>

It is up to taste I guess. As long as the name follows the rules here,
it will continue to work:
http://fedoraproject.org/wiki/Java/JPPMavenReadme#POM_file_names

> >> Regards, Chris
> >>
> >> [1] https://fedoraproject.org/wiki/Packaging/Java#maven_2
> >> --
> 
> 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}
 
Cheers,
Deepak

> 
> -- 
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA/CoRA Division                    FAX: 303-415-9702
> 3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
> Boulder, CO 80301              http://www.cora.nwra.com
> --
> java-devel mailing list
> java-devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/java-devel
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux