Details

    • Number of attachments :
      5
    1. compiler-harness.patch
      15 kB
      Jesse McConnell
    2. jar-harness.patch
      4 kB
      Jesse McConnell
    3. maven-project.patch
      0.5 kB
      Jesse McConnell

      Issue Links

        Activity

        Show
        Jesse McConnell added a comment - http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Harness
        Hide
        Jesse McConnell added a comment -

        I was able to get the maven-site-plugin instantiated by adding the plugin harness test dependency and update the maven -site-plugin pom reference to maven-artifact.

        IMO that is going to be the biggest limiting factor to this approach, reconsiling the version of dependencies. I have added a mess of dependencies to the plugin-testing-harness pom but they are not used if the project in question has a different version of the dependency, like with the site plugin.

        At this point I think we are left with individual details for the framework on a per plugin basis. I implemented most of the maven project stub this morning so it is mostly useful, missing some things but for basic usage should be in decent shape.

        Show
        Jesse McConnell added a comment - I was able to get the maven-site-plugin instantiated by adding the plugin harness test dependency and update the maven -site-plugin pom reference to maven-artifact. IMO that is going to be the biggest limiting factor to this approach, reconsiling the version of dependencies. I have added a mess of dependencies to the plugin-testing-harness pom but they are not used if the project in question has a different version of the dependency, like with the site plugin. At this point I think we are left with individual details for the framework on a per plugin basis. I implemented most of the maven project stub this morning so it is mostly useful, missing some things but for basic usage should be in decent shape.
        Hide
        Jesse McConnell added a comment -

        two patches for the jar plugin and the compiler plugin to make use of the harness...

        added brett as a watcher since he said he would make release a snapshot of the harness and then apply these patchs as examples to work from.

        Show
        Jesse McConnell added a comment - two patches for the jar plugin and the compiler plugin to make use of the harness... added brett as a watcher since he said he would make release a snapshot of the harness and then apply these patchs as examples to work from.
        Hide
        Jesse McConnell added a comment -

        fyi:

        this will not compile util we get the MavenProject class to have an empty constructor, I had arranged to have that taken care of but it doesn't look like it has been yet so that is a bit of a hurdle to using this

        I'll include that patch to this issue and hopefully a kind individual can apply it to the trunk

        Show
        Jesse McConnell added a comment - fyi: this will not compile util we get the MavenProject class to have an empty constructor, I had arranged to have that taken care of but it doesn't look like it has been yet so that is a bit of a hurdle to using this I'll include that patch to this issue and hopefully a kind individual can apply it to the trunk
        Hide
        Brett Porter added a comment -

        imported to sandbox

        Show
        Brett Porter added a comment - imported to sandbox

          People

          • Assignee:
            Jesse McConnell
            Reporter:
            Jason van Zyl
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: