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

Ralf Battenfeld (JIRA) issues at jboss.org
Sun May 17 03:26:19 EDT 2015


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

Ralf Battenfeld commented on SHRINKDESC-161:
--------------------------------------------

Fixed and PR sent. You can now do this:

.createScan()
     .createExclude().name("name1")
          .createIfClassAvailable().name("name3").up()
          .createIfClassAvailable().name("name5").up()
          .up()
     .createExclude().name("name7")
          .createIfClassAvailable().name("name9").up()
          .createIfClassAvailable().name("name11").up()
          .up()



> 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
>            Assignee: Ralf Battenfeld
>
> 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