Maven multi module support #4
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds support for handling and uploading output files from sub-modules in the build process. It updates the logic to correctly identify and locate these files, ensuring that sub-module outputs are included in the artifact upload workflow. The most important changes are grouped below:
Sub-module Output Support:
dummy-sub-module-1.0.00.pomanddummy-sub-module-1.0.00.txt) to the build info files, including their checksums and metadata. [1] [2]dummy-sub-module-1.0.00.pomanddummy-sub-module-1.0.00.txt) to the repository for testing and upload purposes. [1] [2]File Location and Upload Logic:
readBuildInfoFileinsrc/buildinfo.jsto collect only the output file names, not their paths, to avoid incorrect path assumptions for sub-module files. [1] [2]searchFilePathfunction insrc/search.jsto locate files by name anywhere in the project directory structure, addressing the challenge of sub-module file locations.src/run.jsto usesearchFilePathfor resolving the actual file path before uploading each artifact, ensuring sub-module files are found and uploaded correctly. [1] [2]