Yes, clean worked. Thank you Steve and sorry about the noise - I'm not very familiar with gradle.
2016-09-21 17:28 GMT+03:00 Steve Ebersole <st...@hibernate.org>: > Try a clean? > > > On Wed, Sep 21, 2016 at 9:23 AM Petar Tahchiev <paranoia...@gmail.com> > wrote: > >> Yeah really strange - branch 5.0 and master (5.2.3) I can build without a >> problem, but 5.1 shows that error. >> >> 2016-09-21 17:17 GMT+03:00 Steve Ebersole <st...@hibernate.org>: >> >>> Strange. It is working in CI: http://ci.hibernate.org/ >>> view/ORM/job/hibernate-orm-5.1-h2/ >>> >>> >>> On Wed, Sep 21, 2016 at 9:03 AM Petar Tahchiev <paranoia...@gmail.com> >>> wrote: >>> >>>> Hi guys, >>>> >>>> I'm trying to build the 5.1 branch with "./gradlew publishToMavenLocal" >>>> but >>>> I get the following error: >>>> >>>> :hibernate-ehcache:generatePomFileForMavenJavaPublication >>>> :hibernate-ehcache:compileJava >>>> Note: Some input files use or override a deprecated API. >>>> Note: Recompile with -Xlint:deprecation for details. >>>> Starting AnimalSniffer checks using [java16-1.0.signature] against >>>> [sourceSets.main] >>>> /home/petar/workspace/hibernate-orm/hibernate- >>>> ehcache/src/main/java/org/hibernate/cache/ehcache/internal/util/ >>>> HibernateEhcacheUtils.java:104: >>>> Undefined reference: >>>> net.sf.ehcache.config.TerracottaConfiguration.ValueMode[] >>>> net.sf.ehcache.config.TerracottaConfiguration.ValueMode.values() >>>> /home/petar/workspace/hibernate-orm/hibernate- >>>> ehcache/src/main/java/org/hibernate/cache/ehcache/internal/util/ >>>> HibernateEhcacheUtils.java:104: >>>> Undefined reference: >>>> net.sf.ehcache.config.TerracottaConfiguration.ValueMode >>>> net.sf.ehcache.config.TerracottaConfiguration.ValueMode.IDENTITY >>>> /home/petar/workspace/hibernate-orm/hibernate- >>>> ehcache/src/main/java/org/hibernate/cache/ehcache/internal/util/ >>>> HibernateEhcacheUtils.java:104: >>>> Undefined reference: int >>>> net.sf.ehcache.config.TerracottaConfiguration.ValueMode.ordinal() >>>> /home/petar/workspace/hibernate-orm/hibernate- >>>> ehcache/src/main/java/org/hibernate/cache/ehcache/internal/util/ >>>> HibernateEhcacheUtils.java:104: >>>> Undefined reference: >>>> net.sf.ehcache.config.TerracottaConfiguration.ValueMode >>>> net.sf.ehcache.config.TerracottaConfiguration.ValueMode.SERIALIZATION >>>> /home/petar/workspace/hibernate-orm/hibernate- >>>> ehcache/src/main/java/org/hibernate/cache/ehcache/internal/util/ >>>> HibernateEhcacheUtils.java:104: >>>> Undefined reference: int >>>> net.sf.ehcache.config.TerracottaConfiguration.ValueMode.ordinal() >>>> :hibernate-ehcache:compileJava FAILED >>>> >>>> FAILURE: Build failed with an exception. >>>> >>>> * What went wrong: >>>> Execution failed for task ':hibernate-ehcache:compileJava'. >>>> > Signature errors found for SourceSet main against >>>> java16-1.0.signature. >>>> Verify errors and ignore them with the proper annotation if needed. >>>> >>>> * Try: >>>> Run with --stacktrace option to get the stack trace. Run with --info or >>>> --debug option to get more log output. >>>> >>>> BUILD FAILED >>>> >>>> Total time: 23.979 secs >>>> >>>> >>>> Can you please help me? >>>> >>>> -- >>>> Regards, Petar! >>>> Karlovo, Bulgaria. >>>> --- >>>> Public PGP Key at: >>>> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611 >>>> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 >>>> _______________________________________________ >>>> hibernate-dev mailing list >>>> hibernate-dev@lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev >>>> >>> >> >> >> -- >> Regards, Petar! >> Karlovo, Bulgaria. >> --- >> Public PGP Key at: http://pgp.mit.edu:11371/pks/lookup?op=get&search= >> 0x19658550C3110611 >> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 >> > -- Regards, Petar! Karlovo, Bulgaria. --- Public PGP Key at: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x19658550C3110611 Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev