You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2016/08/18 14:32:32 UTC

[1/3] commons-rng git commit: Fix dependency info.

Repository: commons-rng
Updated Branches:
  refs/heads/master cccd43c05 -> 294fa53a2


Fix dependency info.


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/55e935ef
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/55e935ef
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/55e935ef

Branch: refs/heads/master
Commit: 55e935ef14fdc66b9872feeb96629917adaaf6a0
Parents: cccd43c
Author: Gilles <er...@apache.org>
Authored: Thu Aug 18 18:01:52 2016 +0200
Committer: Gilles <er...@apache.org>
Committed: Thu Aug 18 18:01:52 2016 +0200

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/55e935ef/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 807babc..2843c90 100644
--- a/pom.xml
+++ b/pom.xml
@@ -102,7 +102,7 @@
     <commons.osgi.private>org.apache.commons.rng.internal</commons.osgi.private>
     <!-- do not use snapshot suffix here -->
     <commons.release.version>1.0</commons.release.version>
-    <commons.release.desc>(requires Java 1.5+)</commons.release.desc>
+    <commons.release.desc>(requires Java 1.6+)</commons.release.desc>
     <!-- <commons.rc.version>RC1</commons.rc.version> -->
     <commons.binary.suffix>-bin</commons.binary.suffix>
 


Re: [rng] JDK version (Was: ... commit ...)

Posted by Benedikt Ritter <be...@gmail.com>.
Hi Gilles,

Gilles <gi...@harfang.homelinux.org> schrieb am Do., 18. Aug. 2016 um
16:46 Uhr:

> Hi.
>
> On Thu, 18 Aug 2016 14:33:30 +0000, Benedikt Ritter wrote:
> > Hello,
> >
> > <er...@apache.org> schrieb am Do., 18. Aug. 2016 um 16:32 Uhr:
> >
> >> Repository: commons-rng
> >> Updated Branches:
> >>   refs/heads/master cccd43c05 -> 294fa53a2
> >>
> >>
> >> Fix dependency info.
> >>
> >>
> >> Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
> >> Commit:
> >> http://git-wip-us.apache.org/repos/asf/commons-rng/commit/55e935ef
> >> Tree:
> >> http://git-wip-us.apache.org/repos/asf/commons-rng/tree/55e935ef
> >> Diff:
> >> http://git-wip-us.apache.org/repos/asf/commons-rng/diff/55e935ef
> >>
> >> Branch: refs/heads/master
> >> Commit: 55e935ef14fdc66b9872feeb96629917adaaf6a0
> >> Parents: cccd43c
> >> Author: Gilles <er...@apache.org>
> >> Authored: Thu Aug 18 18:01:52 2016 +0200
> >> Committer: Gilles <er...@apache.org>
> >> Committed: Thu Aug 18 18:01:52 2016 +0200
> >>
> >>
> >> ----------------------------------------------------------------------
> >>  pom.xml | 2 +-
> >>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> ----------------------------------------------------------------------
> >>
> >>
> >>
> >>
> http://git-wip-us.apache.org/repos/asf/commons-rng/blob/55e935ef/pom.xml
> >>
> >> ----------------------------------------------------------------------
> >> diff --git a/pom.xml b/pom.xml
> >> index 807babc..2843c90 100644
> >> --- a/pom.xml
> >> +++ b/pom.xml
> >> @@ -102,7 +102,7 @@
> >>
> >>
> >>
> <commons.osgi.private>org.apache.commons.rng.internal</commons.osgi.private>
> >>      <!-- do not use snapshot suffix here -->
> >>      <commons.release.version>1.0</commons.release.version>
> >> -    <commons.release.desc>(requires Java
> >> 1.5+)</commons.release.desc>
> >> +    <commons.release.desc>(requires Java 1.6+)
> >
> >
> > Whould be okay for me to go with 1.7 right away.
>
> There was a discussion about that (cf. archive).
> Short summary: we can stick with 1.6 for the time being (only a few
> lines of code would benefit from 1.7).
>

D'oh, I should stop writing before I finish going through the pile of mails
that has gathered during my absence :o)

Thank you
Benedikt


>
> Regards,
> Gilles
>
> P.S. A thing we did not consider is whether a JAR compiled for 1.7
> would provide
>       a performance enhancement.
>       If that's the case, users of later Java versions should recompile
> rather
>       than use the JAR provided by Apache.  Perhaps this is more
> important than
>       loosing JDK 6 potential users.
>       Developers who still have JDK 6 and 7 installed are welcome to run
> the
>       benchmarks (JMH-ready in "src/test").
>
>
> >> </commons.release.desc>
> >>      <!-- <commons.rc.version>RC1</commons.rc.version> -->
> >>      <commons.binary.suffix>-bin</commons.binary.suffix>
> >>
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

[rng] JDK version (Was: ... commit ...)

Posted by Gilles <gi...@harfang.homelinux.org>.
Hi.

On Thu, 18 Aug 2016 14:33:30 +0000, Benedikt Ritter wrote:
> Hello,
>
> <er...@apache.org> schrieb am Do., 18. Aug. 2016 um 16:32 Uhr:
>
>> Repository: commons-rng
>> Updated Branches:
>>   refs/heads/master cccd43c05 -> 294fa53a2
>>
>>
>> Fix dependency info.
>>
>>
>> Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
>> Commit: 
>> http://git-wip-us.apache.org/repos/asf/commons-rng/commit/55e935ef
>> Tree: 
>> http://git-wip-us.apache.org/repos/asf/commons-rng/tree/55e935ef
>> Diff: 
>> http://git-wip-us.apache.org/repos/asf/commons-rng/diff/55e935ef
>>
>> Branch: refs/heads/master
>> Commit: 55e935ef14fdc66b9872feeb96629917adaaf6a0
>> Parents: cccd43c
>> Author: Gilles <er...@apache.org>
>> Authored: Thu Aug 18 18:01:52 2016 +0200
>> Committer: Gilles <er...@apache.org>
>> Committed: Thu Aug 18 18:01:52 2016 +0200
>>
>> 
>> ----------------------------------------------------------------------
>>  pom.xml | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> ----------------------------------------------------------------------
>>
>>
>> 
>> http://git-wip-us.apache.org/repos/asf/commons-rng/blob/55e935ef/pom.xml
>> 
>> ----------------------------------------------------------------------
>> diff --git a/pom.xml b/pom.xml
>> index 807babc..2843c90 100644
>> --- a/pom.xml
>> +++ b/pom.xml
>> @@ -102,7 +102,7 @@
>>
>>  
>> <commons.osgi.private>org.apache.commons.rng.internal</commons.osgi.private>
>>      <!-- do not use snapshot suffix here -->
>>      <commons.release.version>1.0</commons.release.version>
>> -    <commons.release.desc>(requires Java 
>> 1.5+)</commons.release.desc>
>> +    <commons.release.desc>(requires Java 1.6+)
>
>
> Whould be okay for me to go with 1.7 right away.

There was a discussion about that (cf. archive).
Short summary: we can stick with 1.6 for the time being (only a few
lines of code would benefit from 1.7).

Regards,
Gilles

P.S. A thing we did not consider is whether a JAR compiled for 1.7 
would provide
      a performance enhancement.
      If that's the case, users of later Java versions should recompile 
rather
      than use the JAR provided by Apache.  Perhaps this is more 
important than
      loosing JDK 6 potential users.
      Developers who still have JDK 6 and 7 installed are welcome to run 
the
      benchmarks (JMH-ready in "src/test").


>> </commons.release.desc>
>>      <!-- <commons.rc.version>RC1</commons.rc.version> -->
>>      <commons.binary.suffix>-bin</commons.binary.suffix>
>>
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [1/3] commons-rng git commit: Fix dependency info.

Posted by Benedikt Ritter <br...@apache.org>.
Hello,

<er...@apache.org> schrieb am Do., 18. Aug. 2016 um 16:32 Uhr:

> Repository: commons-rng
> Updated Branches:
>   refs/heads/master cccd43c05 -> 294fa53a2
>
>
> Fix dependency info.
>
>
> Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
> Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/55e935ef
> Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/55e935ef
> Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/55e935ef
>
> Branch: refs/heads/master
> Commit: 55e935ef14fdc66b9872feeb96629917adaaf6a0
> Parents: cccd43c
> Author: Gilles <er...@apache.org>
> Authored: Thu Aug 18 18:01:52 2016 +0200
> Committer: Gilles <er...@apache.org>
> Committed: Thu Aug 18 18:01:52 2016 +0200
>
> ----------------------------------------------------------------------
>  pom.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/commons-rng/blob/55e935ef/pom.xml
> ----------------------------------------------------------------------
> diff --git a/pom.xml b/pom.xml
> index 807babc..2843c90 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -102,7 +102,7 @@
>
>  <commons.osgi.private>org.apache.commons.rng.internal</commons.osgi.private>
>      <!-- do not use snapshot suffix here -->
>      <commons.release.version>1.0</commons.release.version>
> -    <commons.release.desc>(requires Java 1.5+)</commons.release.desc>
> +    <commons.release.desc>(requires Java 1.6+)


Whould be okay for me to go with 1.7 right away.


> </commons.release.desc>
>      <!-- <commons.rc.version>RC1</commons.rc.version> -->
>      <commons.binary.suffix>-bin</commons.binary.suffix>
>
>
>

[3/3] commons-rng git commit: Info on current status (web site).

Posted by er...@apache.org.
Info on current status (web site).

Temporary contents until official release.


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/294fa53a
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/294fa53a
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/294fa53a

Branch: refs/heads/master
Commit: 294fa53a2571de636a9ffb4816686f922e58235f
Parents: 9b4e826
Author: Gilles <er...@apache.org>
Authored: Thu Aug 18 18:15:46 2016 +0200
Committer: Gilles <er...@apache.org>
Committed: Thu Aug 18 18:15:46 2016 +0200

----------------------------------------------------------------------
 src/site/xdoc/download_rng.xml | 101 ++++++------------------------------
 src/site/xdoc/index.xml        |  26 ++++++++--
 2 files changed, 39 insertions(+), 88 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/294fa53a/src/site/xdoc/download_rng.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/download_rng.xml b/src/site/xdoc/download_rng.xml
index 6ac756b..6b57a10 100644
--- a/src/site/xdoc/download_rng.xml
+++ b/src/site/xdoc/download_rng.xml
@@ -31,10 +31,21 @@ limitations under the License.
  | 2) Set the following properties in the component's pom:              |
  |    - commons.componentid (required, alphabetic, lower case)          |
  |    - commons.release.version (required)                              |
- |    - commons.binary.suffix (optional)                                |
+ |    - commons.release.name    (required)                              |
+ |    - commons.binary.suffix   (optional)                              |
  |      (defaults to "-bin", set to "" for pre-maven2 releases)         |
+ |    - commons.release.desc    (optional)                              |
+ |    - commons.release.subdir  (optional)                              |
+ |                                                                      |
+ |    - commons.release.2/3.version       (conditional)                 |
+ |    - commons.release.2/3.name          (conditional)                 |
+ |    - commons.release.2/3.binary.suffix (optional)                    |
+ |    - commons.release.2/3.desc          (optional)                    |
+ |    - commons.release.2/3.subdir        (optional)                    |
  |                                                                      |
  | 3) Example Properties                                                |
+ |    (commons.release.name inherited by parent:                        |
+ |     ${project.artifactId}-${commons.release.version}                 |
  |                                                                      |
  |  <properties>                                                        |
  |    <commons.componentid>math</commons.componentid>                   |
@@ -46,93 +57,13 @@ limitations under the License.
 <document>
   <properties>
     <title>Download Apache Commons Rng</title>
-    <author email="dev@commons.apache.org">Commons Documentation Team</author>
+    <author email="dev@commons.apache.org">Apache Commons Documentation Team</author>
   </properties>
   <body>
     <section name="Download Apache Commons Rng">
-    <subsection name="Using a Mirror">
-      <p>
-        We recommend you use a mirror to download our release
-        builds, but you <strong>must</strong> verify the integrity of
-        the downloaded files using signatures downloaded from our main
-        distribution directories. Recent releases (48 hours) may not yet
-        be available from the mirrors.
-      </p>
-
-      <p>
-        You are currently using <b>[preferred]</b>.  If you
-        encounter a problem with this mirror, please select another
-        mirror.  If all mirrors are failing, there are <i>backup</i>
-        mirrors (at the end of the mirrors list) that should be
-        available.
-        <br></br>
-        [if-any logo]<a href="[link]"><img align="right" src="[logo]" border="0"></img></a>[end]
-      </p>
-
-      <form action="[location]" method="get" id="SelectMirror">
-        <p>
-          Other mirrors:
-          <select name="Preferred">
-          [if-any http]
-            [for http]<option value="[http]">[http]</option>[end]
-          [end]
-          [if-any ftp]
-            [for ftp]<option value="[ftp]">[ftp]</option>[end]
-          [end]
-          [if-any backup]
-            [for backup]<option value="[backup]">[backup] (backup)</option>[end]
-          [end]
-          </select>
-          <input type="submit" value="Change"></input>
-        </p>
-      </form>
-
-      <p>
-        The <a href="http://www.apache.org/dist/commons/KEYS">KEYS</a>
-        link links to the code signing keys used to sign the product.
-        The <code>PGP</code> link downloads the OpenPGP compatible signature from our main site.
-        The <code>MD5</code> link downloads the checksum from the main site.
-      </p>
-    </subsection>
-    </section>
-    <section name="Apache Commons Rng 0.1 (requires Java 1.6+)">
-      <subsection name="Binaries">
-        <table>
-          <tr>
-              <td><a href="[preferred]/commons/rng/binaries/commons-rng-0.1-bin.tar.gz">commons-rng-0.1-bin.tar.gz</a></td>
-              <td><a href="http://www.apache.org/dist/commons/rng/binaries/commons-rng-0.1-bin.tar.gz.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/rng/binaries/commons-rng-0.1-bin.tar.gz.asc">pgp</a></td>
-          </tr>
-          <tr>
-              <td><a href="[preferred]/commons/rng/binaries/commons-rng-0.1-bin.zip">commons-rng-0.1-bin.zip</a></td>
-              <td><a href="http://www.apache.org/dist/commons/rng/binaries/commons-rng-0.1-bin.zip.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/rng/binaries/commons-rng-0.1-bin.zip.asc">pgp</a></td>
-          </tr>
-        </table>
-      </subsection>
-      <subsection name="Source">
-        <table>
-          <tr>
-              <td><a href="[preferred]/commons/rng/source/commons-rng-0.1-src.tar.gz">commons-rng-0.1-src.tar.gz</a></td>
-              <td><a href="http://www.apache.org/dist/commons/rng/source/commons-rng-0.1-src.tar.gz.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/rng/source/commons-rng-0.1-src.tar.gz.asc">pgp</a></td>
-          </tr>
-          <tr>
-              <td><a href="[preferred]/commons/rng/source/commons-rng-0.1-src.zip">commons-rng-0.1-src.zip</a></td>
-              <td><a href="http://www.apache.org/dist/commons/rng/source/commons-rng-0.1-src.zip.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/rng/source/commons-rng-0.1-src.zip.asc">pgp</a></td>
-          </tr>
-        </table>
-      </subsection>
-    </section>
-    <section name="Archives">
-        <p>
-          Older releases can be obtained from the archives.
-        </p>
-        <ul>
-          <li class="download"><a href="[preferred]/commons/rng/">browse download area</a></li>
-          <li><a href="http://archive.apache.org/dist/commons/rng/">archives...</a></li>
-        </ul>
+      <!-- DO NOT RUN "mvn commons:download-page" until there is something to download
+           from this page -->
+      <i>Coming soon.</i>
     </section>
   </body>
 </document>

http://git-wip-us.apache.org/repos/asf/commons-rng/blob/294fa53a/src/site/xdoc/index.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 8effb83..c45f94a 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -34,10 +34,30 @@
     <section name="Download Rng">
       <subsection name="Releases">
         <p>
-          Download the 
-          <a href="http://commons.apache.org/rng/download_rng.cgi">
-            Latest Release</a> of Commons Rng.
+          <i>There isn't any release yet.</i>
         </p>
+
+        <p>
+          Work is currently performed actively towards release 1.0:
+          <a href="https://issues.apache.org/jira/browse/RNG-6">See our issue-tracking system.</a>
+        </p>
+
+        <p>
+          <b>Interested people are most welcome to review the API for this important milestone:</b>
+          Source code is available from <a href="./source-repository.html">a git repository at Apache</a>
+          or from its <a href="https://github.com/apache/commons-rng">Github</a> mirror.
+        </p>
+
+        <p>
+          <b>"Beta-testers" are welcome to test the library</b> by downloading the unofficial JAR (nightly builds) from
+          <a href="https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-rng/1.0-SNAPSHOT/">here</a>.
+        </p>
+
+        <!-- <p> -->
+        <!--   Download the  -->
+        <!--   <a href="http://commons.apache.org/rng/download_rng.cgi"> -->
+        <!--     Latest Release</a> of Commons Rng. -->
+        <!-- </p> -->
       </subsection>
     </section>
 


[2/3] commons-rng git commit: Fixed spurious dependencies.

Posted by er...@apache.org.
Fixed spurious dependencies.

JMH is a dependency only for running benchmarks (provided in "src/test").


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/9b4e8267
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/9b4e8267
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/9b4e8267

Branch: refs/heads/master
Commit: 9b4e8267bc43fc87ae0eab231604e1556536fc57
Parents: 55e935e
Author: Gilles <er...@apache.org>
Authored: Thu Aug 18 18:13:02 2016 +0200
Committer: Gilles <er...@apache.org>
Committed: Thu Aug 18 18:13:02 2016 +0200

----------------------------------------------------------------------
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/9b4e8267/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2843c90..9e5d001 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,13 +73,14 @@
       <groupId>org.openjdk.jmh</groupId>
       <artifactId>jmh-core</artifactId>
       <version>${jmh.version}</version>
+      <scope>test</scope>
     </dependency>
 
     <dependency>
       <groupId>org.openjdk.jmh</groupId>
       <artifactId>jmh-generator-annprocess</artifactId>
       <version>${jmh.version}</version>
-      <scope>provided</scope>
+      <scope>test</scope>
     </dependency>
 
     <dependency>