[shrinkwrap-issues] [JBoss JIRA] (SHRINKDESC-161) org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method

Tomas Remes (JIRA) issues at jboss.org
Thu May 14 03:21:19 EDT 2015


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

Tomas Remes commented on SHRINKDESC-161:
----------------------------------------

No it is not a workaround. <scan> element can only be specified once.

> org.jboss.shrinkwrap.descriptor.api.beans11.Scan should provide "createExclude" method
> --------------------------------------------------------------------------------------
>
>                 Key: SHRINKDESC-161
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-161
>             Project: ShrinkWrap Descriptors
>          Issue Type: Bug
>          Components: impl-base
>    Affects Versions: 2.0.0-alpha-7
>            Reporter: Tomas Remes
>
> It is not possible to create multiple excludes in beans.xml without this method. The current beans_1_1.xsd seems to be correct. Note that changing xsd to:
> {noformat}
> <xs:element name="exclude" maxOccurs="unbounded">
> {noformat}
> generates the required method. Also note that parent node is <xs:sequence maxOccurs="unbounded" minOccurs="0"> so additional  maxOccurs indicator shouldn't be necessary. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the shrinkwrap-issues mailing list