plutext / docx4j-ImportXHTML

Converts XHTML to OpenXML WordML (docx) using docx4j
136 stars 125 forks source link

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

Open gilshallem opened 3 years ago

gilshallem commented 3 years ago

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

plutext commented 3 years ago

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.

gilshallem commented 3 years ago

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' }