[
https://issues.jboss.org/browse/RF-11802?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-11802:
-------------------------------
Summary: A project created with the richfaces-archetype-simpleapp won't compile
with eclipse (was: A project created richfaces-archetype-simpleapp won't compile with
eclipse)
A project created with the richfaces-archetype-simpleapp won't
compile with eclipse
-----------------------------------------------------------------------------------
Key: RF-11802
URL:
https://issues.jboss.org/browse/RF-11802
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: archetype
Affects Versions: 4.1.0.CR2
Reporter: Fred Bricon
Priority: Blocker
Fix For: 4.1.0.Final
(12:54:10 PM) fbricon: the compiler target version is not set
(12:54:37 PM) fbricon: gives a compilation error in eclipse
(12:55:01 PM) fbricon: takes java 1.5 by default
(12:55:54 PM) fbricon: it *might* compile when running in CLI with a jdk6
(12:56:05 PM) fbricon: but Eclipse is *very* strict about it
(12:59:41 PM) fbricon: bleathem: You just need to add the following properties in the
<properties> section
(12:59:41 PM) fbricon: <maven.compiler.source>1.6</maven.compiler.source>
(12:59:41 PM) fbricon: <maven.compiler.target>1.6</maven.compiler.target>
(01:01:54 PM) fbricon: bleathem: you also should bump the maven-compiler-plugin version
to 2.3.2, unless you have good reasons not to
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira