so I think I finished the coding of exclusion we discussed I guess? https://github.com/codehaus-plexus/modello/pull/483 https://github.com/apache/maven-resolver/pull/654 https://github.com/apache/maven/pull/2106 please have a look, thx
Xeno Amess <xenoam...@gmail.com> 于2025年1月20日周一 18:08写道: > issue in medello opened. > https://github.com/codehaus-plexus/modello/issues/482 > let's see what they would say. > > ps: a cheaper way is adding a post-modify plugin after the xsd generated, > if you all think it better way, I can approach this way also. > > Xeno Amess <xenoam...@gmail.com> 于2025年1月20日周一 16:21写道: > >> seems modello does not support this feature yet... >> we need adding both sequence and attribute into complexType, like this: >> >> <xs:complexType> >> <xs:sequence> >> <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/> >> </xs:sequence> >> <xs:attribute name="combine.children" type="xs:string" use="optional"> >> <xs:annotation> >> <xs:documentation source="version">4.0.0+</xs:documentation> >> <xs:documentation source="description"> >> >> {@code combine.children}: available values are {@code merge} >> (default) and {@code append}. >> @see &lt;a >> href=&quot;https://maven.apache.org/pom.html#Plugins&quot;&gt;POM >> Reference documentation&lt;/a&gt; >> @see &lt;a >> href=&quot;https://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/Xpp3DomUtils.html&quot;&gt;Xpp3DomUtils&lt;/a&gt; >> >> </xs:documentation> >> </xs:annotation> >> </xs:attribute> >> <xs:attribute name="combine.self" type="xs:string" use="optional"> >> <xs:annotation> >> <xs:documentation source="version">4.0.0+</xs:documentation> >> <xs:documentation source="description"> >> >> {@code combine.self}: available values are {@code merge} >> (default) and {@code override}. >> @see &lt;a >> href=&quot;https://maven.apache.org/pom.html#Plugins&quot;&gt;POM >> Reference documentation&lt;/a&gt; >> @see &lt;a >> href=&quot;https://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/Xpp3DomUtils.html&quot;&gt;Xpp3DomUtils&lt;/a&gt; >> >> </xs:documentation> >> </xs:annotation> >> </xs:attribute> >> </xs:complexType> >> >> but I only found grammar for get attribute OR sequence into complexType >> in modello >> o.m.g. >> I would have to investigate how to add such feature to modello first. >> >> >> Xeno Amess <xenoam...@gmail.com> 于2025年1月20日周一 15:26写道: >> >>> @Piotr P. Karwasz >>> >>> understood. >>> reproduced, yes. >>> I would investigate it today. >>> right now I already found how to solve it into the dest xsd, but I need >>> some time to learn about how to insert it into the >>> modello-generator&mdo-model. >>> >>