How to specify artifact to be excluded from configuration

Hi I want to exclude artifact from configuration so in the ivy descriptor to specify it’s name not ‘*’

<exclude org="*" module="jboss-logging" artifact="*" type="*" ext="*" conf="compile" matcher="exact"/>
configurations{
 compile.exclude module: 'jboss-logging' artifact="artifactName"
    myConfiguration{
        visible = false
        transitive = false
    }
}
  dependencies{
    compile(group: 'org.junit', name: 'junit', version: '4.11.0')
    myConfiguration(group: 'org.hibernate', name: 'hibernate', version: '3.3.2')
    {
      transitive = false
      exclude module: 'jboss-logging', group: 'org.hibernate'
      exclude group: 'hib'
    }
}

I have output ivy

< dependency org="org.hibernate" name="hibernate" rev="3.3.2" conf="myConfiguration->default">
                <exclude org="org.hibernate" module="jboss-logging" name="*" type="*" ext="*" conf="myConfiguration" matcher="exact"/>
                <exclude org="hib" module="*" name="*" type="*" ext="*" conf="myConfiguration" matcher="exact"/>
<
/dependency>
< exclude org="*" module="jboss-logging" artifact="*" type="*" ext="*" conf="compile" matcher="exact"/>