This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-math.git
commit 8588039a4747082607d5c5c9fd7470be6d1eb718 Author: Alex Herbert <[email protected]> AuthorDate: Tue May 5 17:02:59 2026 +0100 Correct userguide example --- src/userguide/README | 8 ++++---- src/userguide/pom.xml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/userguide/README b/src/userguide/README index f81bc0f23..fa9198278 100644 --- a/src/userguide/README +++ b/src/userguide/README @@ -6,16 +6,16 @@ In order to run one of the applications (a class that must contain a "main" method), you would type (in a shell console) a command similar to the following: $ mvn -q exec:java \ - -Dexec.mainClass=org.apache.commons.math4.userguide.sofm.ChineseRingsClassifier + -Dexec.mainClass=org.apache.commons.math4.userguide.LowDiscrepancyGeneratorComparison Alternatively, a "standalone" JAR can be created with the following command: - $ mvn -Dmainclass=org.apache.commons.math4.userguide.rng.ChineseRingsClassifier \ - -Djarbasename=ChineseRingsClassifier \ + $ mvn -Dmainclass=org.apache.commons.math4.userguide.LowDiscrepancyGeneratorComparison \ + -Djarbasename=LowDiscrepancyGeneratorComparison \ clean compile assembly:single where the value of the "mainclass" argument is the fully-qualified name of the class whose "main" method will be the program's entry point, and the "jarbasename" argument is the basename of the JAR file to be created. Then, the application can be run with the following command: - $ java -jar ChineseRingsClassifier [args] + $ java -jar target/LowDiscrepancyGeneratorComparison.jar [args] where "[args]" is the list of arguments passed to the "main" method. diff --git a/src/userguide/pom.xml b/src/userguide/pom.xml index 46b293952..a96853a82 100644 --- a/src/userguide/pom.xml +++ b/src/userguide/pom.xml @@ -39,8 +39,8 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> - <maven.compiler.source>1.7</maven.compiler.source> - <maven.compiler.target>1.7</maven.compiler.target> + <maven.compiler.source>1.8</maven.compiler.source> + <maven.compiler.target>1.8</maven.compiler.target> </properties> <build>
