docx4j-ImportXHTML icon indicating copy to clipboard operation
docx4j-ImportXHTML copied to clipboard

Could not find org.docx4j:docx4j-samples-resources:8.2.8

Open gilshallem opened this issue 4 years ago • 2 comments

I get this message "Could not find org.docx4j:docx4j-samples-resources:8.2.8" it seems that there is only org.docx4j:docx4j-samples-resources-local:8.2.8 OR org.docx4j:docx4j-samples-resources-remote:8.2.8

gilshallem avatar Jan 17 '21 10:01 gilshallem

Thanks for this. Please use an exclusion to exclude it from -ImportXHTML's deps; see http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html

See https://github.com/plutext/docx4j/tree/master/docx4j-samples-resources/src/main/resources for a sample docx4j.properties and log configuration.

plutext avatar Jan 17 '21 10:01 plutext

Thank you, Don't know why I didn't think about it :)

for others that are using gradle: implementation('org.docx4j:docx4j-ImportXHTML:8.2.0'){ exclude group: 'org.docx4j', module:'docx4j-samples-resources' }

gilshallem avatar Jan 17 '21 11:01 gilshallem