[seam-issues] [JBoss JIRA] (JBSEAM-4929) seam-booking 2.3.0.Beta1 uses web.xml 3.0 without compiling to Java 1.6
Fred Bricon (JIRA)
jira-events at lists.jboss.org
Tue Apr 10 05:57:47 EDT 2012
Fred Bricon created JBSEAM-4929:
-----------------------------------
Summary: seam-booking 2.3.0.Beta1 uses web.xml 3.0 without compiling to Java 1.6
Key: JBSEAM-4929
URL: https://issues.jboss.org/browse/JBSEAM-4929
Project: Seam 2
Issue Type: Bug
Components: Examples
Affects Versions: 2.3.0.BETA1
Reporter: Fred Bricon
When importing the booking example with m2e, import fails because of a failed constraint : Dynamic Web facet 3.0 requires Java 1.6.
This causes JBIDE-11504.
Actually, Eclipse follows the [JavaEE 6 spec|http://jcp.org/en/jsr/detail?id=316] to the letter : "Java EE 6 is the Enterprise Edition of version 6 of the Java platform, and thus will be built on Java SE 6"
To fix that issue, you need to add the following snippet to the [parent pom|http://anonsvn.jboss.org/repos/seam/tags/JBoss_Seam_2_3_0_Beta1/examples-ee6/booking/pom.xml] :
{code:xml}
<build>
...
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
...
</plugins>
</pluginManagement>
...
</build>
{code}
You might also check other examples follow the same requirements.
--
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
More information about the seam-issues
mailing list