[Bug 591305] Review Request: apache-commons-digester - XML to Java object mapping module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=591305

--- Comment #4 from Mat Booth <fedora@xxxxxxxxxxxxxx> 2010-05-12 16:41:00 EDT ---
> (In reply to comment #2)
> > Rest is just my curiosity...why have "-Dmaven.compile.target=1.5" ? Were there
> > problems with building without these defines?    
> 
> Indeed there were, Maven throws a wobbly when using GCJ if you don't set those
> properties. For some reason 1.2 is the default:
> 
> Compiling 70 source files to
> /home/mbooth/rpmbuild/BUILD/commons-digester-1.8.1-src/target/classes
> source level should be comprised in between '1.3' and '1.6' (or '5', '5.0',
> ..., '7' or '7.0'): 1.2
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure    

Sorry, I should expand on that: For some reason *upstream* set it to 1.2 by
default. GCJ complains about this. OpenJDK doesn't care, but it seems silly to
restrict it to java >= 1.6 when it quite clearly also builds and runs on 1.5.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]