Maven 2 & 3

extensions stopped working in 2.0.5-SNAPSHOT

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 2.0.5
  • Fix Version/s: 2.0.5
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    1

Description

We're testing our build with the latest 2.0.5-SNAPSHOT. We use the checkstyle config described here http://people.apache.org/%7Eoching/maven-checkstyle-plugin/examples/multi-module-config.html
and it works perfectly in 2.0.4. Switching to 2.0.5 causes this to not be available on the classpath anymore.

Issue Links

Activity

Hide
Brian Fox added a comment -

The attached builds successfully when run with maven 2.0.4
but fails when run with 2.0.5-SNAPSHOT

[ERROR] BUILD ERROR
[INFO] ---------------------------------------------------------------
[INFO] An error has occurred in Checkstyle report generation.

Embedded error: Unable to find configuration file location.
Unable to find location 'stc_checks.xml' as URL, File or Resource.

Show
Brian Fox added a comment - The attached builds successfully when run with maven 2.0.4 but fails when run with 2.0.5-SNAPSHOT [ERROR] BUILD ERROR [INFO] --------------------------------------------------------------- [INFO] An error has occurred in Checkstyle report generation. Embedded error: Unable to find configuration file location. Unable to find location 'stc_checks.xml' as URL, File or Resource.
Hide
Brett Porter added a comment -

this works if you use a plugin dependency instead, however I will try and provide a workaround for the old behaviour

Show
Brett Porter added a comment - this works if you use a plugin dependency instead, however I will try and provide a workaround for the old behaviour
Hide
Brian Fox added a comment -

The extension was chosen because the dependency won't be found if the plugin repo is separate from the regular artifact repo.

Show
Brian Fox added a comment - The extension was chosen because the dependency won't be found if the plugin repo is separate from the regular artifact repo.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: