Author: dj Date: Sat Aug 25 21:52:45 2018 New Revision: 20401 Log: Update to Apache-Ant-1.10.4. Fixes #10896. Update to Apache-Maven-3.5.4. Fixes #11062. Fix build issue with junit-4.12. Fixes #10777.
Modified: trunk/BOOK/general/prog/apache-ant.xml trunk/BOOK/general/prog/junit.xml trunk/BOOK/general/prog/maven.xml trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/packages.ent Modified: trunk/BOOK/general/prog/apache-ant.xml ============================================================================== --- trunk/BOOK/general/prog/apache-ant.xml Sat Aug 25 21:43:33 2018 (r20400) +++ trunk/BOOK/general/prog/apache-ant.xml Sat Aug 25 21:52:45 2018 (r20401) @@ -6,10 +6,10 @@ <!ENTITY apache-ant-download-http "https://archive.apache.org/dist/ant/source/apache-ant-&apache-ant-version;-src.tar.xz"> <!ENTITY apache-ant-download-ftp " "> - <!ENTITY apache-ant-md5sum "9db4b8ebdf3ee3a50aceb96ee6d54e6a"> + <!ENTITY apache-ant-md5sum "a8297467f7d13873897ff4418ff1e932"> <!ENTITY apache-ant-size "4.0 MB"> - <!ENTITY apache-ant-buildsize "262 MB (not including downloaded files)"> - <!ENTITY apache-ant-time "0.3 SBU (with 4 cores; add download time)"> + <!ENTITY apache-ant-buildsize "264 MB"> + <!ENTITY apache-ant-time "0.2 SBU (excluding download time)"> ]> <sect1 id="apache-ant" xreflabel="apache-ant-&apache-ant-version;"> @@ -39,7 +39,7 @@ a target tree that executes various tasks. Each task is run by an object that implements a particular task interface.</para> - &lfs82_checked; + &lfs83_checked; <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> Modified: trunk/BOOK/general/prog/junit.xml ============================================================================== --- trunk/BOOK/general/prog/junit.xml Sat Aug 25 21:43:33 2018 (r20400) +++ trunk/BOOK/general/prog/junit.xml Sat Aug 25 21:52:45 2018 (r20401) @@ -37,7 +37,7 @@ test data, and test runners for running tests. </para> - &lfs82_checked; + &lfs83_checked; <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> @@ -60,23 +60,16 @@ <para>Estimated build time: &junit-time;</para> </listitem> </itemizedlist> -<!-- maven downloads this for us: <bridgehead renderas="sect3">Additional Downloads</bridgehead> <itemizedlist spacing="compact"> <listitem> <para> - Required file: <ulink - url="http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/&hamcrest-version;/hamcrest-core-&hamcrest-version;.jar"/> - </para> - </listitem> - <listitem> - <para> - Required file: <ulink - url="http://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/&hamcrest-version;/hamcrest-core-&hamcrest-version;-sources.jar"/> + Required patch: <ulink + url="&patch-root;/junit/junit4-&junit-version;-simplify_NoExitSecurityManager-1.patch"/> </para> </listitem> </itemizedlist> ---> + <bridgehead renderas="sect3">JUnit Dependencies</bridgehead> <bridgehead renderas="sect4">Required</bridgehead> @@ -93,13 +86,19 @@ <sect2 role="installation"> <title>Installation of JUnit</title> <para> - First remove a test, which fails with <application>Java 9</application>. + First remove a test, which fails with <application>Java 10</application>. </para> <screen><userinput>sed -e '/MethodsSorted/i @Ignore' \ -i src/test/java/org/junit/runners/model/TestClassTest.java</userinput></screen> <para> + Replace deprecated SecurityManager code: + </para> + +<screen><userinput>patch -Np1 -i ../junit4-&junit-version;-simplify_NoExitSecurityManager-1.patch</userinput></screen> + + <para> Install <application>Junit</application> by running the following commands: </para> Modified: trunk/BOOK/general/prog/maven.xml ============================================================================== --- trunk/BOOK/general/prog/maven.xml Sat Aug 25 21:43:33 2018 (r20400) +++ trunk/BOOK/general/prog/maven.xml Sat Aug 25 21:52:45 2018 (r20401) @@ -6,23 +6,18 @@ <!ENTITY maven-download-http "https://archive.apache.org/dist/maven/maven-3/&maven-version;/source/apache-maven-&maven-version;-src.tar.gz"> <!ENTITY maven-download-ftp " "> - <!ENTITY maven-md5sum "240b880cd7294665d7228f74f6453984"> + <!ENTITY maven-md5sum "a4346b6cb557266677dc9541526e2548"> <!ENTITY maven-size "2.6 MB"> - <!ENTITY maven-buildsize "?? MB"> - <!ENTITY maven-time "?? SBU"> + <!ENTITY maven-buildsize "92 MB"> + <!ENTITY maven-time "0.4 SBU"> <!ENTITY maven-binary-http "https://archive.apache.org/dist/maven/maven-3/&maven-version;/binaries/apache-maven-&maven-version;-bin.tar.gz"> ]> -<!-- Try to keep the indentation used in this file--> <sect1 id="maven" xreflabel="Apache-Maven-&maven-version;"> <?dbhtml filename="maven.html"?> <sect1info> - <!-- this part gets updated when you commit, IFF you set the properties: - first, svn add path/to/thisfile.xml and then - svn propset svn:mime-type text/plain path/to/thisfile.xml and - svn propset svn:keywords "Date LastChangedBy" path/to/thisfile.xml --> <othername>$LastChangedBy: pierre $</othername> <date>$Date: 2017-09-11 12:14:03 +0200 (lun. 11 sept. 2017) $</date> </sect1info> @@ -44,7 +39,7 @@ piece of information. </para> - &lfs82_checked; + &lfs83_checked; <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> Modified: trunk/BOOK/introduction/welcome/changelog.xml ============================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml Sat Aug 25 21:43:33 2018 (r20400) +++ trunk/BOOK/introduction/welcome/changelog.xml Sat Aug 25 21:52:45 2018 (r20401) @@ -45,6 +45,18 @@ <para>August 26th, 2018</para> <itemizedlist> <listitem> + <para>[dj] - Fix build issue with junit-4.12. Fixes + <ulink url="&blfs-ticket-root;10777">#10777</ulink>.</para> + </listitem> + <listitem> + <para>[dj] - Update to Apache-Maven-3.5.4. Fixes + <ulink url="&blfs-ticket-root;11062">#11062</ulink>.</para> + </listitem> + <listitem> + <para>[dj] - Update to Apache-Ant-1.10.4. Fixes + <ulink url="&blfs-ticket-root;10896">#10896</ulink>.</para> + </listitem> + <listitem> <para>[dj] - Update to OpenJDK-10.0.2. Fixes <ulink url="&blfs-ticket-root;10959">#10959</ulink>.</para> </listitem> Modified: trunk/BOOK/packages.ent ============================================================================== --- trunk/BOOK/packages.ent Sat Aug 25 21:43:33 2018 (r20400) +++ trunk/BOOK/packages.ent Sat Aug 25 21:52:45 2018 (r20401) @@ -346,8 +346,8 @@ <!ENTITY valgrind-version "3.13.0"> <!ENTITY yasm-version "1.3.0"> -<!ENTITY apache-ant-version "1.10.3"> -<!ENTITY maven-version "3.5.3"> +<!ENTITY apache-ant-version "1.10.4"> +<!ENTITY maven-version "3.5.4"> <!ENTITY junit-major "4"> <!ENTITY junit-version "4.12"> <!ENTITY hamcrest-version "1.3"> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
