A script to help packaging Maven artifacts
by Mikolaj Izdebski
Maven is currently dominating build system in Fedora Java
packages. Autogenerating source RPM packages (or package
skeletons) from Maven artifacts isn't new idea [1], but I'm
not aware of any tool implementing such thing.
I've been recently playing a bit with Maven and I thought of
creating a tool that given a Maven groupId and artifactId would
download it along with all dependencies that are not yet
packaged for Fedora and create skeleton packages. A lot of
metadata (including Requires, BuildRequires, URLs, Description)
is already present in pom.xml files and can be easily extracted.
I could rather easily crqeate such tool. The question is, would
anyone be interested in seeing (and perhaps using) that?
If yes, please speak up and share your ideas.
Mikolaj Izdebski
11 years, 7 months
gradle-local and lein-local?
by Dan Allen
Are there any plans to create gradle-local and lein-local scripts for the
Gradle and Leiningen packages, respectively, that complement the mvn-local
script. Having a dependency resolver that resolves dependencies on the
system is essential for creating packages for projects built with Gradle or
Leiningen. It's also a nice feature for achieving stable production builds
(though not all will agree with that approach, there are those that do).
Until something like lein-local is available, I've taken the approach of
adding a Maven build file to projects that use Leiningen (e.g., vimclojure)
in order to package them.
-Dan
--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://google.com/profiles/dan.j.allen
http://mojavelinux.com
http://mojavelinux.com/seaminaction
11 years, 7 months
Maven plugin to simplify spec %install section
by Mikolaj Izdebski
Hello all,
As you know, %build section of the majority of all Java packages
built with Maven is fairly simple, usually consisting of a single
call to mvn-rpmbuild. But the install section can still be long
and complicated, especially for large packages.
As a solution I have created a plugin for Maven that can install
the whole project in Fedora way. It creates all necessary
directories in buildroot, installs pom.xml and jar files, creates
depmaps as needed, installs javadocs. With this plugin the whole
%install section of typical packages (including multi-artifact
ones) can be reduced to a single line.
What do you think about this idea? Would you like to see it
implemented in Fedora?
Mikolaj Izdebski
11 years, 7 months
Java SIG Meeting
by Tomas Radej
Hello fellow Javaists,
Since we haven't had a SIG meeting in quite a while (almost a year, to
be precise), and a new version of Java Packaging Guidelines is bound to
be enacted, it is time to hold another meeting.
It will happen on a day between September 17th and 20th, date and time
chosen by popular vote [1].
Agenda:
* New version of Guidelines
* J2EE API Introduction
* POM modifying macros
Please choose date and time that fits you, and remember to set an
appropriate time zone for you. All other info is to be found at the
Meeting Page [2].
Cheers, Tomas Radej
[1] http://www.doodle.com/h9uaqs95qwiencvm
[2] http://fedoraproject.org/wiki/Meeting:Java_SIG_2012-09
--
Tomas Radej
FAS, IRC nick tradej
11 years, 7 months
Removing java provides from java-1.5.0-gcj
by Stanislav Ochotnicky
We've encountered some minor issues with a few package which were kind
of hard to track down. They were partially caused by a bug in yum which
causes both gcj and openjdk being pulled in when only one of them should
be. The other part was small and hard to spot packaging issues which
caused gcj getting accidentaly pulled into BR instead openjdk
Now there are legitimate reasons to require gcj directly, but I'd like
to propose removing "Provides: java = %{javaver}" (and -devel
counterpart). I think leaving rest of the provides should not be an
issue.
This way we'll be able to remove obscure need for "Requires: java >= 1:1.6.0"
I am CCing Deepak as primary maintainer. Does anyone have strong
objections for said removal?
--
Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Software Engineer - Base Operating Systems Brno
PGP: 7B087241
Red Hat Inc. http://cz.redhat.com
11 years, 7 months
Java Web Application for review
by Simone Caronni
Hello,
I managed to build my first Java Web Application for Fedora, and I'm
looking for a reviewer.
I tried to look at any existing java web app in Fedora to take as an
example but I did not find any, so I followed the draft Java Web Apps
packaging guidelines as close as possible.
Anyone willing to have a look at the package and have a look if the
packaging guidelines can be updated as well? Will take any review in
return.
All the required packages are already in updates-testing for supported
Fedora releases.
https://bugzilla.redhat.com/show_bug.cgi?id=853922
Thanks,
--Simone
--
You cannot discover new oceans unless you have the courage to lose
sight of the shore (R. W. Emerson).
11 years, 7 months