Skip to content

Introduction of Commons CLI breaks CLI for invocation by maven org.codehaus.mojo:javancss-maven-plugin #5

Description

@gtsh

The org.codehaus.mojo:javancss-maven-plugin:2.2-SNAPSHOT still uses Version 33.54 of javancss.

Commit 4a34312 "Use Commons CLI for the command line parsing" switched the parsing to Apache commons cli and is introduced with the not yet released version 34.55-SNAPSHOT.

But using this in the latest snapshot breaks the invocation.

The execution fails, missing a file "javancss-raw-report.xml". The Problem here is, that the maven plugin passes this as argument to the parameter out as an argument for the file write the result to, but javancss interprets this as another file to parse, and promptly misses it.

The PR attached will fix this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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