[fedora-java] Missing pom in netbeans-ide

Deepak Bhole dbhole at redhat.com
Mon Apr 26 20:45:54 UTC 2010


* Guido Grazioli <guido.grazioli at gmail.com> [2010-04-25 06:30]:
> 
> 
> 2010/4/22 Deepak Bhole <dbhole at redhat.com>
> 
>     * Alexander Kurtakov <akurtako at redhat.com> [2010-04-22 02:52]:
>     > > On Thursday 22 April 2010, Guido Grazioli wrote:
>     > > Well it turns out that i actually need that pom to build maven-release;
>     > > some advice needed:
>     > > - should i bother netbeans maintainer to add the pom (but no pom
>     > > distribuited with netbeans sources)
>     > > - would it be a candidate for maven-common-poms rpm?
>     > > - packaging cvsclient itself, and make netbeans depend on it?
>     >
>     > Hi Guido,
>     >
>     > I've talked with the netbeans maintainer and he agreed that cvsclient
>     should
>     > be packaged in a subpackage and available in the standard places. See
>     > https://bugzilla.redhat.com/show_bug.cgi?id=572165.  Please add your
>     > comments/needs to this bug and let him know what work is pending on this.
>     > Hopefully this will give it a higher priority. And I doubt that Victor
>     will
>     > deny help :).
>     >
> 
>     Agreed. maven2-common-poms was created only to contain poms that are:
>     1) Direct/indirect maven dependencies
>     2) Parent level poms with no corresponding jars (e.g.
>       commons-parent.pom)
> 
> 
> Ok, let me recapitulate to know if im doing it right. I have a maven-release
> parent pom, defining two modules maven-release-manager and
> maven-release-plugin,
> one depending on the other.
> - maven-release pom (no jar) goes to maven-common-poms
> - from the sources i build two rpms (actually two distinct package reviews) and
> make them buildrequire maven-common-poms
>

The parent pom should then go into a maven-release package which
installs only the pom.
 
>  
> 
>     This this case, the package providing cvsclient.jar should provide the pom.
> 
> 
> 
> This is a good point, but Victor also has a good point saying [1] that
> netbeans-lib-cvsclient has no dependency with maven. For the moment
> im putting it in maven-scm (i took ownership in pkgdb) in rawhide.
> 
> 1. https://bugzilla.redhat.com/show_bug.cgi?id=572165
> 

Installing a pom does not necessitate requiring maven. There are many
ant built packages that install a pom. As long as the
add_to_maven_depmap and update_maven_depmap macros are run, it should be
fine.

Cheers,
Deepak

> Thanks
> 
> --
> 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