Le 14/04/2015 00:12, Gary Gregory a écrit :
> How about updating the platform req to Java 6 and be done with it?

Then it would not be compatible with previous 3.X :-(
We have upgraded to Java 7 with next major release (4.0), but this one
is still in the 3.X branch.

> 
> Gary
> 
> On Mon, Apr 13, 2015 at 2:34 PM, Jörg Schaible <joerg.schai...@gmx.de>
> wrote:
> 
>> Hi Luc,
>>
>> -1, it claims to be Java 5 compatible, but it is not (at least not the
>> tests):

Weird ... I'll run another RC then.

Thanks for the report.

best regards,
Luc

>>
>> ============================== %< ========================
>> $ mvn -P java-1.5 clean test
>> [INFO] Scanning for projects...
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache Commons Math 3.5
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ commons-math3 ---
>> [INFO] Deleting /home/joehni/tmp/download/commons-math3-3.5-src/target
>> [INFO]
>> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-3) @ commons-
>> math3 ---
>> [INFO]
>> [INFO] --- maven-antrun-plugin:1.7:run (javadoc.resources) @ commons-math3
>> ---
>> [INFO] Executing tasks
>>
>> main:
>>      [copy] Copying 2 files to /home/joehni/tmp/download/commons-math3-3.5-
>> src/target/apidocs/META-INF
>> [INFO] Executed tasks
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ commons-
>> math3 ---
>> [INFO]
>> [INFO] --- buildnumber-maven-plugin:1.2:create (default) @ commons-math3
>> ---
>> [INFO] Checking for local modifications: skipped.
>> [INFO] Updating project files from SCM: skipped.
>> [INFO] Executing: /bin/sh -c cd
>> /home/joehni/tmp/download/commons-math3-3.5-
>> src && git rev-parse --verify HEAD
>> [INFO] Working directory: /home/joehni/tmp/download/commons-math3-3.5-src
>> [INFO] Storing buildNumber: ?????? at timestamp: 1428960511127
>> [INFO] Executing: /bin/sh -c cd
>> /home/joehni/tmp/download/commons-math3-3.5-
>> src && git rev-parse --verify HEAD
>> [INFO] Working directory: /home/joehni/tmp/download/commons-math3-3.5-src
>> [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
>> [INFO]
>> [INFO] --- maven-jgit-buildnumber-plugin:1.2.8:extract-buildnumber
>> (default)
>> @ commons-math3 ---
>> [ERROR]
>> java.lang.IllegalArgumentException: One of setGitDir or setWorkTree must be
>> called.
>>         at
>>
>> org.eclipse.jgit.lib.BaseRepositoryBuilder.requireGitDirOrWorkTree(BaseRepositoryBuilder.java:582)
>>         at
>>
>> org.eclipse.jgit.lib.BaseRepositoryBuilder.setup(BaseRepositoryBuilder.java:550)
>>         at
>>
>> org.eclipse.jgit.storage.file.FileRepositoryBuilder.build(FileRepositoryBuilder.java:89)
>>         at
>>
>> ru.concerteza.util.buildnumber.BuildNumberExtractor.extract(BuildNumberExtractor.java:38)
>>         at
>>
>> ru.concerteza.util.buildnumber.JGitBuildNumberMojo.execute(JGitBuildNumberMojo.java:124)
>>         at
>>
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
>>         at
>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>>         at
>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>         at
>>
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>         at
>>
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>>         at
>>
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>>         at
>>
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>>         at
>>
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
>>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
>>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
>>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>         at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:606)
>>         at
>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>         at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>         at
>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>>         at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>> commons-math3 ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 2 resources
>> [INFO] Copying 2 resources to META-INF
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ commons-
>> math3 ---
>> [INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 927 source files to /home/joehni/tmp/download/commons-
>> math3-3.5-src/target/classes
>> [INFO]
>> [INFO] --- maven-bundle-plugin:2.4.0:manifest (bundle-manifest) @ commons-
>> math3 ---
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources)
>> @ commons-math3 ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 38 resources
>> [INFO] Copying 2 resources to META-INF
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
>> commons-math3 ---
>> [INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 570 source files to /home/joehni/tmp/download/commons-
>> math3-3.5-src/target/test-classes
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR] /home/joehni/tmp/download/commons-math3-3.5-
>>
>> src/src/test/java/org/apache/commons/math3/geometry/partitioning/RegionDumper.java:
>> [207,9] method does not override a method from its superclass
>> [ERROR] /home/joehni/tmp/download/commons-math3-3.5-
>>
>> src/src/test/java/org/apache/commons/math3/geometry/partitioning/RegionDumper.java:
>> [213,9] method does not override a method from its superclass
>> [ERROR] /home/joehni/tmp/download/commons-math3-3.5-
>>
>> src/src/test/java/org/apache/commons/math3/geometry/partitioning/RegionDumper.java:
>> [222,9] method does not override a method from its superclass
>> [ERROR] /home/joehni/tmp/download/commons-math3-3.5-
>>
>> src/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/PolyhedronsSetTest.java:
>> [397,8] cannot find symbol
>> symbol  : method
>>
>> checkError(java.util.List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D>,java.util.List<<nulltype>[]>,org.apache.commons.math3.exception.util.LocalizedFormats)
>> location: class
>> org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSetTest
>> [INFO] 4 errors
>> [INFO] -------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 17.806 s
>> [INFO] Finished at: 2015-04-13T23:28:46+02:00
>> [INFO] Final Memory: 18M/220M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-
>> plugin:3.1:testCompile (default-testCompile) on project commons-math3:
>> Compilation failure: Compilation failure:
>> [ERROR] /home/joehni/tmp/download/commons-math3-3.5-
>>
>> src/src/test/java/org/apache/commons/math3/geometry/partitioning/RegionDumper.java:
>> [207,9] method does not override a method from its superclass
>> [ERROR] /home/joehni/tmp/download/commons-math3-3.5-
>>
>> src/src/test/java/org/apache/commons/math3/geometry/partitioning/RegionDumper.java:
>> [213,9] method does not override a method from its superclass
>> [ERROR] /home/joehni/tmp/download/commons-math3-3.5-
>>
>> src/src/test/java/org/apache/commons/math3/geometry/partitioning/RegionDumper.java:
>> [222,9] method does not override a method from its superclass
>> [ERROR] /home/joehni/tmp/download/commons-math3-3.5-
>>
>> src/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/PolyhedronsSetTest.java:
>> [397,8] cannot find symbol
>> [ERROR] symbol  : method
>>
>> checkError(java.util.List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D>,java.util.List<<nulltype>[]>,org.apache.commons.math3.exception.util.LocalizedFormats)
>> [ERROR] location: class
>> org.apache.commons.math3.geometry.euclidean.threed.PolyhedronsSetTest
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
>> switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please
>> read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>> ============================== %< ========================
>>
>> Cheers,
>> Jörg
>>
>> Luc Maisonobe wrote:
>>
>>> This is a [VOTE] for releasing Apache Commons Math 3.5 from release
>>> candidate 1.
>>>
>>> Tag name: MATH_3_5_RC1 (signature can be checked from git using 'git tag
>>> -v')
>>>
>>> Tag URL:
>>>
>>> <
>> https://git-wip-us.apache.org/repos/asf?p=commons-math.git;a=commit;h=7efda3f0a0941362e9e4152d0e0e92872a8ce8d3
>>>
>>>
>>> Commit ID the tag points at: 7efda3f0a0941362e9e4152d0e0e92872a8ce8d3
>>>
>>> Site: <http://people.apache.org/~luc/commons-math-3.5-RC1-site>
>>>
>>> Distribution files: https://dist.apache.org/repos/dist/dev/commons/math/
>>>
>>> Distribution files hashes (SHA1):
>>> 3a06c6297f4975b6a5f32bacdfad126c8cec94b7 commons-math3-3.5-bin.tar.gz
>>> 2873864620239f4a3efd3d088f06fbd2d533b224 commons-math3-3.5-bin.zip
>>> 7ff72a98ea2da18dda7846adc699a18893b8c26b commons-math3-3.5-src.tar.gz
>>> 2838050ebe95fb5456e1eca15af1e005b08011fa commons-math3-3.5-src.zip
>>>
>>> The svn commit revision for the distribution files above is r8586.
>>>
>>> KEYS file to check signatures: http://www.apache.org/dist/commons/KEYS
>>>
>>> Maven artifacts:
>>>
>>>
>> <
>> https://repository.apache.org/content/repositories/orgapachecommons-1087/org/apache/commons/commons-math3/3.5/
>>>
>>>
>>> [ ] +1 Release it.
>>> [ ] +0 Go ahead; I don't care.
>>> [ ] -0 There are a few minor glitches: ...
>>> [ ] -1 No, do not release it because ...
>>>
>>> This vote will close in 72 hours, at 2015-04-15T19:00:00Z (this is UTC
>>> time).
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
> 
> 


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

Reply via email to