FWIW here is the full dep tree for the version 8.6 of the markdown extension:
[INFO] +- com.vladsch.flexmark:flexmark:jar:0.62.2:compile
[INFO] | +- com.vladsch.flexmark:flexmark-util-ast:jar:0.62.2:compile
[INFO] | | \- org.jetbrains:annotations:jar:15.0:compile
[INFO] | +- com.vladsch.flexmark:flexmark-util-builder:jar:0.62.2:compile
[INFO] | +- com.vladsch.flexmark:flexmark-util-collection:jar:0.62.2:compile
[INFO] | +- com.vladsch.flexmark:flexmark-util-data:jar:0.62.2:compile
[INFO] | +- com.vladsch.flexmark:flexmark-util-dependency:jar:0.62.2:compile
[INFO] | +- com.vladsch.flexmark:flexmark-util-format:jar:0.62.2:compile
[INFO] | +- com.vladsch.flexmark:flexmark-util-html:jar:0.62.2:compile
[INFO] | +- com.vladsch.flexmark:flexmark-util-misc:jar:0.62.2:compile
[INFO] | +- com.vladsch.flexmark:flexmark-util-sequence:jar:0.62.2:compile
[INFO] | \- com.vladsch.flexmark:flexmark-util-visitor:jar:0.62.2:compile
[INFO] +- com.vladsch.flexmark:flexmark-ext-wikilink:jar:0.62.2:compile
[INFO] | \- com.vladsch.flexmark:flexmark-util:jar:0.62.2:compile
[INFO] | \- com.vladsch.flexmark:flexmark-util-options:jar:0.62.2:compile
[INFO] +- com.vladsch.flexmark:flexmark-ext-autolink:jar:0.62.2:compile
[INFO] | \- org.nibor.autolink:autolink:jar:0.6.0:compile
[INFO] +- com.vladsch.flexmark:flexmark-ext-definition:jar:0.62.2:compile
[INFO] +- com.vladsch.flexmark:flexmark-ext-tables:jar:0.62.2:compile
[INFO] +- com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:jar:0.62.2:compile
[INFO] +- com.vladsch.flexmark:flexmark-ext-abbreviation:jar:0.62.2:compile
[INFO] +- com.vladsch.flexmark:flexmark-ext-superscript:jar:0.62.2:compile
[INFO] +- com.vladsch.flexmark:flexmark-ext-xwiki-macros:jar:0.62.2:compile
[INFO] +- org.xwiki.rendering:xwiki-rendering-api:jar:8.3:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.4:compile
[INFO] | +- org.xwiki.commons:xwiki-commons-filter-api:jar:8.3:compile
[INFO] | | +- org.xwiki.commons:xwiki-commons-component-api:jar:8.3:compile
[INFO] | | | +- org.xwiki.commons:xwiki-commons-stability:jar:8.3:compile
[INFO] | | | +- org.slf4j:slf4j-api:jar:1.7.21:compile
[INFO] | | | \- javax.inject:javax.inject:jar:1:compile
[INFO] | | \- org.xwiki.commons:xwiki-commons-job:jar:8.3:compile
[INFO] | | +- org.xwiki.commons:xwiki-commons-cache-api:jar:8.3:compile
[INFO] | | +- org.xwiki.commons:xwiki-commons-logging-api:jar:8.3:compile
[INFO] | | +- org.xwiki.commons:xwiki-commons-environment-api:jar:8.3:compile
[INFO] | | \- com.thoughtworks.xstream:xstream:jar:1.4.9:compile
[INFO] | | +- xmlpull:xmlpull:jar:1.1.3.1:compile
[INFO] | | \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] | +- org.xwiki.commons:xwiki-commons-text:jar:8.3:compile
[INFO] | +- org.xwiki.commons:xwiki-commons-configuration-api:jar:8.3:compile
[INFO] | | \- commons-beanutils:commons-beanutils:jar:1.9.2:compile
[INFO] | +- org.xwiki.commons:xwiki-commons-properties:jar:8.3:compile
[INFO] | | \- javax.validation:validation-api:jar:1.0.0.GA:compile
[INFO] | \- org.xwiki.commons:xwiki-commons-context:jar:8.3:compile
[INFO] +- org.xwiki.rendering:xwiki-rendering-syntax-plain:jar:8.3:runtime
[INFO] +- org.xwiki.rendering:xwiki-rendering-syntax-xwiki21:jar:8.3:compile
[INFO] | \- org.xwiki.rendering:xwiki-rendering-syntax-xwiki20:jar:8.3:compile
[INFO] +- org.xwiki.rendering:xwiki-rendering-test:jar:8.3:test
[INFO] | +- org.xwiki.rendering:xwiki-rendering-syntax-xdomxmlcurrent:jar:8.3:test
[INFO] | | +- org.xwiki.commons:xwiki-commons-filter-xml:jar:8.3:test
[INFO] | | \- net.java.dev.stax-utils:stax-utils:jar:20070216:compile
[INFO] | +- org.xwiki.commons:xwiki-commons-velocity:jar:8.3:test
[INFO] | | +- org.xwiki.commons:xwiki-commons-script:jar:8.3:compile
[INFO] | | +- org.xwiki.commons:xwiki-commons-xml:jar:8.3:compile
[INFO] | | | +- org.jdom:jdom:jar:1.1.3:compile
[INFO] | | | \- net.sourceforge.htmlcleaner:htmlcleaner:jar:2.16:compile
[INFO] | | | \- org.jdom:jdom2:jar:2.0.6:compile
[INFO] | | +- org.xwiki.commons:xwiki-commons-management:jar:8.3:test
[INFO] | | +- org.apache.velocity:velocity-tools:jar:2.0:test
[INFO] | | | +- commons-digester:commons-digester:jar:1.8:test
[INFO] | | | +- commons-chain:commons-chain:jar:1.1:test
[INFO] | | | +- commons-validator:commons-validator:jar:1.3.1:test
[INFO] | | | +- oro:oro:jar:2.0.8:test
[INFO] | | | +- sslext:sslext:jar:1.2-0:test
[INFO] | | | +- org.apache.struts:struts-core:jar:1.3.8:test
[INFO] | | | | \- antlr:antlr:jar:2.7.7:test
[INFO] | | | +- org.apache.struts:struts-taglib:jar:1.3.8:test
[INFO] | | | \- org.apache.struts:struts-tiles:jar:1.3.8:test
[INFO] | | +- org.apache.commons:commons-collections4:jar:4.1:compile
[INFO] | | +- commons-codec:commons-codec:jar:1.10:test
[INFO] | | +- com.fasterxml.jackson.core:jackson-core:jar:2.8.3:test
[INFO] | | +- com.fasterxml.jackson.core:jackson-databind:jar:2.8.3:test
[INFO] | | | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.3:test
[INFO] | | +- net.sf.json-lib:json-lib:jar:jdk15:2.4:test
[INFO] | | | \- net.sf.ezmorph:ezmorph:jar:1.0.6:test
[INFO] | | +- org.json:json:jar:20160810:test
[INFO] | | \- org.apache.httpcomponents:httpclient:jar:4.5.2:test
[INFO] | | \- org.apache.httpcomponents:httpcore:jar:4.4.5:test
[INFO] | +- org.xwiki.commons:xwiki-commons-tool-test-component:jar:8.3:test
[INFO] | | +- org.xwiki.commons:xwiki-commons-tool-test-simple:jar:8.3:test
[INFO] | | | +- junit:junit:jar:4.12:test
[INFO] | | | | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] | | | +- org.hamcrest:hamcrest-library:jar:1.3:test
[INFO] | | | +- org.jmock:jmock:jar:2.6.0:test
[INFO] | | | +- org.jmock:jmock-junit4:jar:2.6.0:test
[INFO] | | | +- org.mockito:mockito-core:jar:1.10.19:test
[INFO] | | | | \- org.objenesis:objenesis:jar:2.1:test
[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.1.7:test
[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.1.7:test
[INFO] | | | +- org.slf4j:jcl-over-slf4j:jar:1.7.21:test
[INFO] | | | \- org.slf4j:log4j-over-slf4j:jar:1.7.21:test
[INFO] | | +- org.xwiki.commons:xwiki-commons-observation-api:jar:8.3:compile
[INFO] | | +- jmock:jmock:jar:1.2.0:test
[INFO] | | +- jmock:jmock-cglib:jar:1.2.0:test
[INFO] | | | \- cglib:cglib-nodep:jar:2.1_3:test
[INFO] | | \- org.xwiki.commons:xwiki-commons-component-default:jar:8.3:compile
[INFO] | | \- org.xwiki.commons:xwiki-commons-component-observation:jar:8.3:compile
[INFO] | +- commons-io:commons-io:jar:2.5:compile
[INFO] | +- commons-configuration:commons-configuration:jar:1.10:compile
[INFO] | | \- commons-lang:commons-lang:jar:2.6:compile
[INFO] | +- org.reflections:reflections:jar:0.9.10:test
[INFO] | | +- com.google.guava:guava:jar:19.0:test
[INFO] | | +- org.javassist:javassist:jar:3.19.0-GA:test
[INFO] | | \- com.google.code.findbugs:annotations:jar:2.0.1:test
[INFO] | \- org.apache.velocity:velocity:jar:1.7:test
[INFO] | \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] +- org.xwiki.rendering:xwiki-rendering-syntax-event:jar:8.3:test
[INFO] \- org.xwiki.rendering:xwiki-rendering-syntax-xhtml:jar:8.3:test
[INFO] +- org.xwiki.rendering:xwiki-rendering-xml:jar:8.3:test
[INFO] | +- dom4j:dom4j:jar:1.6.1:test
[INFO] | | \- xml-apis:xml-apis:jar:1.4.01:compile
[INFO] | \- xerces:xercesImpl:jar:2.11.0:compile
[INFO] \- org.xwiki.rendering:xwiki-rendering-syntax-wikimodel:jar:8.3:compile
[INFO] \- org.xwiki.rendering:xwiki-rendering-wikimodel:jar:8.3:compile
[INFO] \- net.sourceforge.cssparser:cssparser:jar:0.9.20:compile
[INFO] \- org.w3c.css:sac:jar:1.3:compile
No flexmark-ext-ins in there.
However, I also checked in version 8.5.4 and bingo, it’s there:
vmassol ~/dev/xwiki/syntax-markdown/syntax-markdown-markdown12 ((syntax-markdown-8.5.4)) $ mvn dependency:tree | grep "flexmark-ext-ins"
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=196m; support was removed in 8.0
[INFO] | \- com.vladsch.flexmark:flexmark-ext-ins:jar:0.34.53:compile
So my hunch was correct and XWiki is missing some cleanup facility. I’ve created https://jira.xwiki.org/browse/XWIKI-17543
Mystery solved for this one
Thx