Hmm, it think if maven is building against JDK 6 then you won't see error about 
@Override on your local machine. That would explain why your getting errors on 
Jenkins only...

-- John

> On 8 Feb 2014, at 12:10, Thomas Chojecki <i...@rayman2200.de> wrote:
> 
> Am Sat, 08 Feb 2014 20:53:13 +0100
> schrieb Tilman Hausherr <thaush...@t-online.de>:
> 
>> Not sure what you mean - I do build PDFBOX with maven, which is
>> included with netbeans and works very well.
>> Tilman
> What I mean is, that maybe the IDE client does not compile with the
> settings that are used in the pom.xml. You can see in the jenkins log
> that maven tries to compile the source and fail. It was just a
> recommendation to do the same as jenkins do, just running the
> native maven client ;-) 
> 
> I do run into the same problems if I use the eclipse embedded client.
> The embedded client use the IDE settings not the pom.xml
> settings.
> 
> Best regards
> Thomas
> 
> 
>> Am 08.02.2014 19:28, schrieb Thomas Chojecki:
>>> Am Sat, 08 Feb 2014 19:18:57 +0100
>>> schrieb Tilman Hausherr <thaush...@t-online.de>:
>>> 
>>>> This is set up when checking out the project. No error appeared
>>>> when building the project. The real solution would probably be to
>>>> install another JDK on the computer :-(
>>> I think netbeans has no helper plugin for maven builds like eclipse
>>> has, so I would recommend you to run "mvn compile" or "mvn test" on
>>> console to test the source for compile errors and maybe regressions.
>>> 
>>>> Tilman
>>> Best regards
>>> Thomas
>>> 
>>> 
>>>> Am 08.02.2014 18:22, schrieb John Hewson:
>>>>> You mean Java 5 :)
>>>>> 
>>>>> Tilman, you can specify 1.5 as the language version you are using
>>>>> in Netbeans, see
>>>>> https://blogs.oracle.com/roumen/entry/netbeans_4_1_tip_1
>>>> 
>>>> [SNIP]
> 

Reply via email to