Skip to content

[Idea] Allow storing of analysis configuration externally #31

@vmassol

Description

@vmassol

Right now the analysisConfigurationFiles config section takes paths or files:

<analysisConfigurationFiles>
            <file>${project.basedir}/config/filter.json</file>
            <file>${project.basedir}/config/ignore.json</file>
            <file>
              <path>${project.basedir}/config/json-data-for-many-things.json</path>
              <roots>
                <root>configuration/revapi</root>
              </roots>
            </file>
        </analysisConfigurationFiles>

It would be nice to refactor the code at

private void gatherConfig(AnalysisContext.Builder ctxBld) throws MojoExecutionException {
to support URLs, which are more generic than File (a file can be specified as file:///...).

This would allow storing the analysis configuration externally. One example would be to store it in a wiki page. This could make it simpler to edit and generate reports from it directly inside the wiki.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions