[forge-dev] [JBoss JIRA] Commented: (SEAMFORGE-97) CDI facet should add cdi-api to maven dependencies

Paul Bakker (JIRA) jira-events at lists.jboss.org
Tue Apr 5 14:21:33 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFORGE-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593825#comment-12593825 ] 

Paul Bakker commented on SEAMFORGE-97:
--------------------------------------

Now I know a little more about Forge I see you're right. I'll extend it a bit too when I make the changes:
-Check if either cdi-api or jboss-specs are in the pom already -> if so, don't add anything
-if not promt the user if cdi-api should be installed (defaults to Y)
-if Y, promt the user what scope it should get, defaults to compile (probably it's a standalone project, otherwise the specs should have been on the classpath)

Do you agree?


 


> CDI facet should add cdi-api to maven dependencies 
> ---------------------------------------------------
>
>                 Key: SEAMFORGE-97
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-97
>             Project: Seam Forge
>          Issue Type: Enhancement
>          Components: Builtin Plugins
>            Reporter: Paul Bakker
>
> After adding CDI it should be possible to use @Inject etc. in code, but the dependencies are not added to the project. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-dev mailing list