INFRA-17381: Repository moved to "gitbox". master
authorGilles Sadowski <gilles@harfang.homelinux.org>
Tue, 11 Dec 2018 01:45:33 +0000 (02:45 +0100)
committerGilles Sadowski <gilles@harfang.homelinux.org>
Tue, 11 Dec 2018 01:45:33 +0000 (02:45 +0100)
pom.xml
src/site/site.xml
src/site/xdoc/developers.xml

diff --git a/pom.xml b/pom.xml
index e7d9413..45606ba 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>41</version>
+    <version>47</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.commons</groupId>
@@ -38,9 +38,9 @@
   </issueManagement>
 
   <scm>
-    <connection>scm:git:http://git-wip-us.apache.org/repos/asf/commons-math.git</connection>
-    <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-math.git</developerConnection>
-    <url>https://git-wip-us.apache.org/repos/asf?p=commons-math.git</url>
+    <connection>scm:git:http://gitbox.apache.org/repos/asf/commons-math.git</connection>
+    <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-math.git</developerConnection>
+    <url>https://gitbox.apache.org/repos/asf?p=commons-math.git</url>
   </scm>
 
   <distributionManagement>
     <math.findbugs.version>3.0.4</math.findbugs.version>
     <math.checkstyle.version>2.17</math.checkstyle.version>
     <math.clirr.version>2.8</math.clirr.version>
+    <math.mathjax.version>2.7.2</math.mathjax.version>
 
     <!-- Temporary fix to support Java 8 -->
-    <commons.jacoco.version>0.7.9</commons.jacoco.version>
+    <commons.jacoco.version>0.8.0</commons.jacoco.version>
     <commons.jacoco.classRatio>0.96</commons.jacoco.classRatio>
     <commons.jacoco.instructionRatio>0.8</commons.jacoco.instructionRatio>
     <commons.jacoco.methodRatio>0.8</commons.jacoco.methodRatio>
     <!-- JMH Benchmark related properties, version, target compiler and name of the benchmarking uber jar. -->
     <jmh.version>1.13</jmh.version>
     <uberjar.name>benchmarks</uberjar.name>
+    <!-- Java8+ requires additional Javadoc qualifier for MathJax (default to empty). -->
+    <allowscript.javadoc.qualifier></allowscript.javadoc.qualifier>
     <!-- MathJax requires additional Javadoc qualifier for Java8+ -->
     <!-- default to empty for earlier versions of Java -->
-    <mathjax.javadoc.qualifier></mathjax.javadoc.qualifier>
+    <doclint.javadoc.qualifier></doclint.javadoc.qualifier>
   </properties>
 
   <build>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
+            <!-- Fix for OpenJDK 8 now validating class-path attributes in Jar manifests. -->
+            <!-- See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912333#63 -->
+            <useSystemClassLoader>false</useSystemClassLoader>
               <includes>
                 <include>**/*Test.java</include>
                 <include>**/*TestBinary.java</include>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-          <additionalparam>${mathjax.javadoc.qualifier} -header '&lt;script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalparam>
+          <!-- Enable MathJax -->
+          <additionalparam>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '&lt;script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/${math.mathjax.version}/MathJax.js?config=TeX-AMS-MML_HTMLorMML"&gt;&lt;/script&gt;'</additionalparam>
+          <!-- <aggregate>true</aggregate> -->
         </configuration>
       </plugin>
     </plugins>
       <activation><jdk>[1.8,)</jdk></activation>
       <properties>
         <!-- MathJax requires additional Javadoc qualifier for Java8+ -->
-        <mathjax.javadoc.qualifier>--allow-script-in-comments</mathjax.javadoc.qualifier>
+        <allowscript.javadoc.qualifier>--allow-script-in-comments</allowscript.javadoc.qualifier>
       </properties>
     </profile>
   </profiles>
index 294c006..60060fc 100644 (file)
@@ -51,7 +51,7 @@
          href="http://commons.apache.org/math/javadocs/api-2.2/index.html"/>
       <item name="Issue Tracking" href="/issue-tracking.html"/>
       <item name="Source Repository (current)" 
-         href="http://git-wip-us.apache.org/repos/asf/commons-math.git"/>
+         href="http://gitbox.apache.org/repos/asf/commons-math.git"/>
       <item name="Wiki"  
             href="http://wiki.apache.org/commons/Math"/>
       <item name="Developers Guide" href="/developers.html"/>
index f280a6c..2ba9ad1 100644 (file)
         </li>
         <li>Download the Commons Math source code.  Follow the instructions
         under the heading "Repository Checkout" on the
-        <a href="https://git-wip-us.apache.org/">Git at the ASF page</a>.
+        <a href="https://gitbox.apache.org/">Git at the ASF page</a>.
         The git url for the current development sources of Commons Math
-        is <source>http://git-wip-us.apache.org/repos/asf/commons-math.git</source>
+        is <source>http://gitbox.apache.org/repos/asf/commons-math.git</source>
         for anonymous read-only access and
-        <source>https://apacheid@git-wip-us.apache.org/repos/asf/commons-math.git</source>
+        <source>https://apacheid@gitbox.apache.org/repos/asf/commons-math.git</source>
         (where apacheid should be replaced by each committer Apache ID) for committers
         read-write access.
         </li>