#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):
What I have done so far:
- Download https://archive.apache.org/dist/maven/maven-3/3.5.3/source
/apache-maven-3.5.3-src.tar.gz
and https://archive.apache.org/dist/maven/maven-3/3.5.3/binaries
/apache-maven-3.5.3-bin.tar.gz
(maven needs a maven binary for building itself).
- Untar ''apache-maven-3.5.3-src.tar.gz'' and '''cd apache-
maven-3.5.3'''
- '''tar xf ../apache-maven-3.5.3-bin.tar.gz''' (extracts to ''apache-
maven-3.5.3'' inside ''apache-maven-3.5.3'', so maybe a
--stripā»components=1 would be better)
- Find the ''mvn'' binary with PATH=apache-maven-3.5.3/bin:$PATH
- Run '''mvn -Drat.ignoreErrors=true package'''. The -Drat.ignoreErrors
switch is necessary because one file does not have a correct licence
header (it does not have any licence header actually)
It takes a few minutes, but the time is mainly spent downloading files.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/10422#comment:3>
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