[Bug 607385] Review Request: felix-osgi-foundation - OSGi Foundation Execution Environment (EE) Classes

bugzilla at redhat.com bugzilla at redhat.com
Tue Jun 29 20:39:52 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=607385

--- Comment #4 from Victor G. Vasilyev <victor.vasilyev at sun.com> 2010-06-29 16:39:51 EDT ---
(In reply to comment #3)
> Is there any reason why not use maven directly? 
A reason was to have smooth review. :-) But, if seriously then:

1. I do not see any Fedora's guidelines that explain how to create good
packages for the maven projects. Obviously, the section
https://fedoraproject.org/wiki/Packaging/Java#maven is not enough for
packagers. BTW an example in the section is not a common pattern, because it
contains artifacts that are specific for the maven-archiver package.  

2. Use of the maven to build a package for Fedora requires extra work and time.
Additionally to finding of all project dependencies a packager should also find
and specify required maven plugins. E.g. to find all of required maven plugins
for this package I've restarted rpmbuild 7 times. Of course, it is not a big
problem for this small project, but not all of projects are small. 

3. A Fedora requirement to use only local resources during building of the
packages discounts power of the maven that has got a nature based on principles
of the "cloud computing".  Nevertheless, I believe that ALL maven plugins will
be packaged for Fedora soon, and the issue will be resolved ;-)

> So just explain why you are not using maven directly, 
> or better yet start using it :-) 
Of course, "Better is better than worse" :-) 
So, I've prepared second revision of the package, and started using maven
instead of ant. At least, this approach lets to avoid ALL warnings of the
rpmlint tool.

Spec URL: http://victorv.fedorapeople.org/files/felix-osgi-foundation.spec
SRPM URL:
http://victorv.fedorapeople.org/files/felix-osgi-foundation-1.2.0-2.fc14.src.rpm

Successful scratch koji build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2281273

The rpmlint tool shows 0 errors, 0 warnings for all packages, i.e SRPM and
RPMs.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list