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

[XMLBEANS-617] Support recursing directories (sourceDir configuration parameter) #12

Open
wants to merge 5 commits into
base: trunk
Choose a base branch
from

Conversation

milansanders
Copy link

Add a config parameter (sourceSubdirs, default false) to allow for checking subdirectories of the sourceDir folder

@@ -15,6 +15,13 @@

package org.apache.xmlbeans.impl.tool;

import org.apache.commons.io.FileUtils;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't yet have a compile/runtime dependency on the commons-io jar

commons-io is only currently used in some tests

The POM and build files will need to be changed

It would probably also require us to rename the next release as 5.3.0 because the extra dependenecy makes this a less trivial upgrade.

@pjfanning
Copy link
Contributor

pjfanning commented Jan 1, 2024

I added a variant of this. See da1e4a2

  • I renamed the plugin config as recurseSourceSubdirs
  • added the license headers
  • made the FileUtil non-public

Tested with https://github.com/pjfanning/xmlbeans-maven-sample/tree/xmlbeans-617

https://issues.apache.org/jira/browse/XMLBEANS-617

@milansanders
Copy link
Author

Awesome, when is this expected to be released?

@pjfanning
Copy link
Contributor

There are no plans for a release. Until we do a release, you can build your own copy of the jar. There is a snapshot at https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-1.8/

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 this pull request may close these issues.

2 participants