#10422: Move to maven for java builds
-----------------------------+------------------------------
Reporter: pierre.labastie | Owner: pierre.labastie
Type: enhancement | Status: assigned
Priority: normal | Milestone: 8.3
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by pierre.labastie):
I realize that what we consider as ''building'' and ''installing'' is not
quite the same in the maven ecosystem: everything that is built by maven
has to be put into the repository(ies) in order to be reused in other
builds (in addition to be installed to the system of course). Using
''system libraries'' is possible with some tweaks, but is discouraged.
I see that debian uses /usr/share/maven-repo, and adds some files to the
repo for all the packages contained there. That's rather complicated...
Other things (unrelated). If we want to build everything from source in
the java world, it may be a big task. We'd need other build tools (for
example hamcrest, needed for junit, requires ''gradle''. ''gradle'' can
bootstrap itself. junit needs maven for building. maven needs junit. etc)
Even the jtreg test manager for OpenJDK requires a dozen of jars, from the
same amount of sources...
I guess it would need a new book, something like JLFS (Java LFS). And a
few authors...
In the absence of those, we'll have to use a lot of binaries without
building them. Those may be downloaded from maven-central or apache
repositories and stored in the local repository. But now, what do we want
to build? Even fop can be found on those repos... I am wondering what is
the limit between what we accept as binaries, and what we really want to
build from source.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/10422#comment:6>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page