Bug#737994: fails to build on wheezy

2014-02-07 Thread Mathieu Malaterre
Package: jenkins-trilead-ssh2
Version: 217-jenkins-3-1

I cannot build the package on wheeyz system. It fails with:

[INFO] Scanning for projects...
[INFO] 
[INFO] Building Ganymed SSH2 for Java
[INFO]task-segment: [package]
[INFO] 
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/tmp/jenkins-trilead-ssh2-217-jenkins-3/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 130 source files to
/tmp/jenkins-trilead-ssh2-217-jenkins-3/target/classes
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

/tmp/jenkins-trilead-ssh2-217-jenkins-3/src/com/trilead/ssh2/channel/Channel.java:[13,7]
static import declarations are not supported in -source 1.3
(use -source 5 or higher to enable static import declarations)
import static com.trilead.ssh2.util.IOUtils.closeQuietly;

/tmp/jenkins-trilead-ssh2-217-jenkins-3/src/com/trilead/ssh2/channel/FifoBuffer.java:[53,21]
';' expected


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Feb 07 13:41:02 CET 2014
[INFO] Final Memory: 6M/108M
[INFO] 
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2


It would be nice to have it as backport (this would solve 730685)

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#737994: fails to build on wheezy

2014-02-07 Thread Emmanuel Bourg
On Wheezy the maven-compiler-plugin defaults to the Java 1.3 language
level. The version in unstable/testing is more recent and defaults to
1.5. To solve this you have to add this to debian/maven.properties:

maven.compiler.source=1.5
maven.compiler.target=1.5

Emmanuel Bourg

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#737994: fails to build on wheezy

2014-02-07 Thread Mathieu Malaterre
Control: tags -1 patch
Control: severity -1 wishlist

On Fri, Feb 7, 2014 at 1:52 PM, Emmanuel Bourg ebo...@apache.org wrote:
 On Wheezy the maven-compiler-plugin defaults to the Java 1.3 language
 level. The version in unstable/testing is more recent and defaults to
 1.5. To solve this you have to add this to debian/maven.properties:

 maven.compiler.source=1.5
 maven.compiler.target=1.5

That work thanks !

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.