Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude sources/javadoc including certain config files #27

Closed
vemv opened this issue Aug 17, 2023 · 0 comments · Fixed by #28
Closed

Exclude sources/javadoc including certain config files #27

vemv opened this issue Aug 17, 2023 · 0 comments · Fixed by #28

Comments

@vemv
Copy link
Member

vemv commented Aug 17, 2023

The following files (none of these has a file extension), if present, can configure other Java classes. Therefore its presence is dangerous.

javax.xml.datatype.DatatypeFactory
javax.xml.parsers.SAXParserFactory
javax.xml.validation.SchemaFactory
org.xml.sax.driver
javax.xml.parsers.DocumentBuilderFactory
javax.xml.stream.XMLEventFactory
org.w3c.dom.DOMImplementationSourceList
org.apache.xerces.xni.parser.XMLParserConfiguration

enrich-classpath should exclude sources/javadocs containing any of these files.

(In a future, we could extract each .jar and remove the META-INF dir altogether from them)

See also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant