-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reimplemented resource copy using 'plexus.util.DirectorScanner' inste…
…ad of maven-filtering (#597) Reimplement resource copy using 'org.codehaus.plexus.util.DirectoryScanner' instead of maven-filtering In exchange for some extra file management code, this reduces the amount of dependencies used and injected into AsciidoctorMojo. * Created model classes for Resources to ensure Mojo descriptors don't leak internals * Removed 'org.apache.maven.shared:maven-filtering' dependency * Bump plexus-utils to v3.3.1 * Removed unnecessary IT 'resource-filtering' since "under-the-hood" filtering is no longer possible * Created CopyResourcesProcessor to extract logic from AsciidoctorMojo * Remove unused encoding from resource processing * ResourcesProcessor no longer throws MojoExecutionException
- Loading branch information
1 parent
59cd841
commit 1f9bfe3
Showing
20 changed files
with
705 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
asciidoctor-maven-plugin/src/it/resource-filtering/invoker.properties
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
asciidoctor-maven-plugin/src/it/resource-filtering/pom.xml
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
asciidoctor-maven-plugin/src/it/resource-filtering/src/main/doc/sample.asciidoc
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
asciidoctor-maven-plugin/src/it/resource-filtering/src/main/java/StringUtils.java
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
asciidoctor-maven-plugin/src/it/resource-filtering/validate.groovy
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.