[ http://jira.codehaus.org/browse/MIDEA-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95103 ]
Dennis Lundberg commented on MIDEA-86: -------------------------------------- I'm reluctant to add features to this plugin for IDEA 7. IDEA 7 is still under development and its features and configuration file format might change before it's final release. So I prefer to not add this feature until IDEA 7 has been released. Setting the jdkLevel for the plugin is a good idea. But I think that I will do it in the plugins pom instead, or perhaps even higher up in the pom hierarchy. > [Patch] Add support for IDEA 7 (Selena) EJB/EAR modules > ------------------------------------------------------- > > Key: MIDEA-86 > URL: http://jira.codehaus.org/browse/MIDEA-86 > Project: Maven 2.x Idea Plugin > Issue Type: Improvement > Affects Versions: 2.0, 2.1 > Environment: IntelliJ IDEA 7.x (Selena) > Reporter: Arik Kfir > Attachments: idea-7-support.patch > > > This patch prevents generation of an entry for the deployment descriptor if > it does not exist, in accordance to JEE 5. This is only done if the actual > IDEA version (set in the project's POM) is indeed 7. In IDEA 7, if a > descriptor is specified in the IML file, but does not exist, it spits out an > error on every compilation.... > Also, *unrelated* to the plugin runtime, this patch adds this snippet to the > pom.xml: > {noformat}<build> > <plugins> > <plugin> > <artifactId>maven-idea-plugin</artifactId> > <configuration> > <jdkLevel>1.4</jdkLevel> > </configuration> > </plugin> > </plugins> > </build>{noformat} > For those who use IDEA to work on the plugin, this makes sure that the > project JDK level is 1.4 (which is the policy currently, to prevent IDEA's > suggestions for JDK 5-level (e.g. "don't suggest using a "for-each" instead > of "for(int i=...)") -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira