On 07/08/2010 10:50 PM, Deepak Bhole wrote: >>> * 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 It says: JPP[.<subdir name under %{_javadir}>] -jarname.pom So I guess JPP-commons-codec.pom is ok and JPP.jakarta-commons-io.pom is a bug? >>>> [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} Ok, that helps. Thanks. Regards, Chris -- java-devel mailing list java-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/java-devel