[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2026) Maven archetypes

Neil Crow (JIRA) jira-events at lists.jboss.org
Wed Sep 17 07:55:20 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12429994#action_12429994 ] 

Neil Crow commented on JBSEAM-2026:
-----------------------------------

The maven archetypes shouldn't be aware of which IDE is to be used.
They should generate the maven project structure and fill in the dependencies in the pom.

Once the maven project has been created, the developer should cd to the project directory and then use the maven plugins to generate their IDE files, e.g. mvn eclipse:eclipse   or    mvn idea:idea

These maven plugins should be responsible for generating the metadata that best supports the IDE.
These plugins will read the pom to calculate the classpath requirements and other settings, it may be necessary for the archetypes mentioned above to add additional information to the pom that can be used by the IDE plugins to fine tune their configuration.
However any information added to the pom should preferably be ignorant of the IDE that is going to be used.

Often the IDE files (.project and .classpath) are not committed to the source control repository for maven projects as they can be generated.
There are also tools available that will generate these files as part of the checkout process.

Neil.

> Maven archetypes
> ----------------
>
>                 Key: JBSEAM-2026
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-2026
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Tools
>            Reporter: Pete Muir
>            Assignee: Dan Allen
>             Fix For: The future
>
>
> Create some maven archetypes to compliment seam-gen.

-- 
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

        



More information about the seam-issues mailing list