[
https://jira.jboss.org/jira/browse/JBIDE-4736?page=com.atlassian.jira.plu...
]
Snjezana Peco commented on JBIDE-4736:
--------------------------------------
I have committed the initial version of the Seam Maven configurator.
The configurator will add Seam nature, Seam facet, required facets (Web Module, Java,
JSF...), JBoss Maven Integration facet if the Maven project contains a dependency with the
org.jboss.seam groupId and an artifactId starting with 'jboss-seam'.
Seam capabilities will be added to the EJB, EAR and WAR project.
There is a preference in the JBoss Tools category - "JBoss Maven Integration" to
suspend this configurator.
The bug related to adding the JBoss Maven Integration facet to an existing project
(JBIDE-4706) is fixed.
There are minimal changes in the seam.core plugin. I have added two preferences to the
Seam Facet model. They suspend adding the default Seam Runtime and copying files from the
Seam distribution that are unnecessary when importing a Maven project.
For now the user needs to configure some Seam properties using the Seam Settings property
page after importing a Maven project.
TODO:
- EAR projects require more testing especially because there are some m2eclipse bugs that
need to be fixed.I have sent the patches that, I hope, will be applied this weekend.
I will test photoalbum from the richfaces distribution, portletbridge examples, seam
booking application, but would be really helpful if someone knows some other mavenized
Seam EAR applications.
- configure Seam Runtime that matches the Seam version from the Maven project if it exists
in the workspace.
- configure the View folder, the Model and Action's Source folder and package,
The m2eclipse EAR configurator doesn't create application.xml, JBoss datasource and
jboss-app.xml no mater if they are specified in maven-ear-plugin. I think we need to
create these files.
Add m2eclipse project-configurator for Seam projects
----------------------------------------------------
Key: JBIDE-4736
URL:
https://jira.jboss.org/jira/browse/JBIDE-4736
Project: JBoss Tools
Issue Type: Feature Request
Components: maven
Affects Versions: 3.1.0.M2
Reporter: Max Rydahl Andersen
Assignee: Snjezana Peco
Fix For: 3.1.0.M3
To get proper Maven integration we should explore the project-configurator of m2eclipse
allowing you to import existing maven projects AND allow picking up settings setup in
pom.xml after project have been created.
Created this issue since I couldn't find something similar, let us discuss here what
needs to be done/any problems ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira