arbeeorlar / jcardsim

Automatically exported from code.google.com/p/jcardsim
1 stars 0 forks source link

Build failure due to @Override not supported in sources 1.3 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download jcardsim sources
2. Compile it using maven: mvn test
3. See the failure

What is the expected output? What do you see instead?
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Java Card Runime Environment Simulator
[INFO]    task-segment: [test]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/lumag/EMV/jcardsim/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 70 source files to /home/lumag/EMV/jcardsim/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

AsymmetricSignatureImpl.java:[69,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

ECPrivateKeyImpl.java:[61,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

ECPublicKeyImpl.java:[63,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

SymmetricSignatureImpl.java:[85,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

KeyAgreementImpl.java:[56,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

RSAPrivateCrtKeyImpl.java:[111,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

DSAPublicKeyImpl.java:[62,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

RandomDataImpl.java:[39,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

RSAKeyImpl.java:[83,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

MessageDigestImpl.java:[56,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

DSAPrivateKeyImpl.java:[62,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

DSAKeyImpl.java:[68,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

SymmetricCipherImpl.java:[46,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

AssymetricCipherImpl.java:[55,5] annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
    @Override

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16 seconds
[INFO] Finished at: Sun Jan 08 01:04:05 MSK 2012
[INFO] Final Memory: 6M/106M
[INFO] ------------------------------------------------------------------------

What version of the product are you using? On what operating system?
I'm building on Debian wheezy, maven 2.2.1, javac from OpenJDK 1.6.0_24

Please provide any additional information below.

Original issue reported on code.google.com by dbarysh...@gmail.com on 7 Jan 2012 at 9:06

GoogleCodeExporter commented 9 years ago
Problem reproduced. Is some netbeans code format issue ( Fix 11.01.2012 after 
google code maintenance. 

Original comment by jcard...@licel.ru on 10 Jan 2012 at 7:49

GoogleCodeExporter commented 9 years ago
Fixed. Source and binary compatibility turn to the 1.3. Changes commited in 
trunk

Original comment by jcard...@licel.ru on 11 Jan 2012 at 8:12