Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-build] Build failed in Jenkins: jgit #1494

See <https://ci.eclipse.org/jgit/job/jgit/1494/display/redirect?page=changes>

Changes:

[Matthias Sohn] Use eclipse compiler in Maven build

------------------------------------------
[...truncated 141.64 KB...]
  (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCache.java:[189,50] diamond operator is not supported in -source 1.5
  (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/RemoteRemoveCommand.java:[108,38] multi-catch statement is not supported in -source 1.5
  (use -source 7 or higher to enable multi-catch statement)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java:[174,68] diamond operator is not supported in -source 1.5
  (use -source 7 or higher to enable diamond operator)
[INFO] 100 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] JGit - Parent ...................................... SUCCESS [  8.966 s]
[INFO] JGit - Core ........................................ FAILURE [ 10.637 s]
[INFO] JGit - Ant Tasks ................................... SKIPPED
[INFO] JGit - Archive Formats ............................. SKIPPED
[INFO] JGit - AWT User Interface .......................... SKIPPED
[INFO] JGit - Apache httpclient based HTTP support ........ SKIPPED
[INFO] JGit - HTTP Server ................................. SKIPPED
[INFO] JGit - Large File Storage .......................... SKIPPED
[INFO] JGit - Large File Storage Server ................... SKIPPED
[INFO] JGit - Command Line Interface ...................... SKIPPED
[INFO] JGit - JUnit Utility Classes ....................... SKIPPED
[INFO] JGit - JUnit Http Utility Classes .................. SKIPPED
[INFO] JGit - Core Tests .................................. SKIPPED
[INFO] JGit - Ant Tasks Tests ............................. SKIPPED
[INFO] JGit - HTTP Tests .................................. SKIPPED
[INFO] JGit - Command Line Interface Tests ................ SKIPPED
[INFO] JGit - Large File Storage Tests .................... SKIPPED
[INFO] JGit - LFS Server Tests ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.414 s (Wall Clock)
[INFO] Finished at: 2018-04-26T01:51:51-04:00
[INFO] Final Memory: 50M/1964M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project org.eclipse.jgit: Compilation failure: Compilation failure: 
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/fsck/FsckPackParser.java:[78,71] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ReflogReaderImpl.java:[139,55] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java:[115,51] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java:[168,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/CredentialsProviderUserInfo.java:[154,60] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportLocal.java:[197,52] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/ketch/KetchLeaderCache.java:[75,49] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java:[257,60] lambda expressions are not supported in -source 1.5
[ERROR]   (use -source 8 or higher to enable lambda expressions)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java:[266,46] multi-catch statement is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable multi-catch statement)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java:[365,53] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java:[926,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java:[930,57] method references are not supported in -source 1.5
[ERROR]   (use -source 8 or higher to enable method references)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/RemoteSetUrlCommand.java:[154,38] multi-catch statement is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable multi-catch statement)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java:[119,48] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/Status.java:[222,62] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/ApplyResult.java:[56,57] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/ReftableWriter.java:[211,59] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/ReftableWriter.java:[229,40] lambda expressions are not supported in -source 1.5
[ERROR]   (use -source 8 or higher to enable lambda expressions)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/ReftableWriter.java:[230,48] method references are not supported in -source 1.5
[ERROR]   (use -source 8 or higher to enable method references)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/ChainingCredentialsProvider.java:[71,58] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java:[303,83] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/RebaseCommand.java:[405,29] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/NetRC.java:[128,61] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/NetRC.java:[214,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/nls/GlobalBundleCache.java:[68,31] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftree/RefTree.java:[304,76] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkFetchConnection.java:[199,41] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/WalkFetchConnection.java:[855,29] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/merge/ResolveMerger.java:[200,62] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/merge/ResolveMerger.java:[924,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/DeltaCache.java:[63,44] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java:[256,49] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/lib/IndexDiff.java:[316,29] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/StashListCommand.java:[99,68] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/StashListCommand.java:[101,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/CheckoutResult.java:[141,59] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/notes/DefaultNoteMerger.java:[85,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/lib/RefComparator.java:[77,51] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/ketch/Proposal.java:[130,75] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java:[134,29] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/RepoProject.java:[195,43] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/Transport.java:[111,42] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/Transport.java:[147,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/Transport.java:[1341,57] multi-catch statement is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable multi-catch statement)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/WindowCache.java:[243,44] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleDeinitCommand.java:[98,39] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/SubmoduleDeinitCommand.java:[123,29] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LazyObjectIdSetFile.java:[87,66] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LazyObjectIdSetFile.java:[88,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryCache.java:[238,50] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryCache.java:[291,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/diff/RawText.java:[344,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/Reftable.java:[188,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackBitmapIndexBuilder.java:[79,52] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/LargePackedWholeObject.java:[108,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/StashApplyCommand.java:[178,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/StashApplyCommand.java:[350,65] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/ketch/KetchLeader.java:[227,45] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/ketch/KetchLeader.java:[371,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/AmazonS3.java:[125,46] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/AmazonS3.java:[405,29] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/MergedReftable.java:[164,51] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/MergedReftable.java:[164,81] method references are not supported in -source 1.5
[ERROR]   (use -source 8 or higher to enable method references)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/ketch/StageBuilder.java:[138,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/ketch/StageBuilder.java:[150,61] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackCompactor.java:[123,42] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackCompactor.java:[225,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/RemoteConfig.java:[117,58] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/lib/RefUpdate.java:[601,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/ketch/KetchSystem.java:[291,61] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java:[138,73] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java:[508,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java:[1524,38] multi-catch statement is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable multi-catch statement)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java:[89,47] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java:[814,33] multi-catch statement is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable multi-catch statement)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/util/RefList.java:[71,63] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/OpenSshConfig.java:[176,68] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/OpenSshConfig.java:[230,29] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java:[187,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java:[192,70] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java:[90,52] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java:[131,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsInserter.java:[290,44] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsInserter.java:[331,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/DeltaBaseCache.java:[72,42] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/ListBranchCommand.java:[113,62] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/ListBranchCommand.java:[148,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/BundleFetchConnection.java:[95,59] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/BundleFetchConnection.java:[196,29] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java:[151,43] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/ignore/internal/PathMatcher.java:[96,57] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackPushConnection.java:[332,59] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackPushConnection.java:[335,21] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/IndexDiffFilter.java:[96,62] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/merge/RecursiveMerger.java:[167,66] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java:[237,66] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java:[430,29] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCache.java:[189,50] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/api/RemoteRemoveCommand.java:[108,38] multi-catch statement is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable multi-catch statement)
[ERROR] /jobs/genie.jgit/jgit/workspace/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportHttp.java:[174,68] diamond operator is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable diamond operator)
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.eclipse.jgit
Build step 'Invoke top-level Maven targets' marked build as failure


Back to the top