Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#6 include test scope artifacts in plugin classpath

shipped_with_v0.5.8
closed
5
2009-03-17
2009-01-27
Anonymous
No

We are using a set of custom maven plugin to perform a pretty complex build. Unfortunately, several artifacts useful for benerator are only created in the test classes folder and, thus, not accessible by benerator - even when binding benerator plugin execution to the 'test' phase.

I think this issue is not an exceptional case, since these artifacts allow container-less application execution which is typical for testing and generally useful for test data generation (in terms of speed).

So I would be glad if there was a possibility to include test-scoped artifacts, e.g. a plugin configuration flag.

Discussion

    • labels: --> benerator gui
    • assigned_to: nobody --> vbergmann
    • status: open --> closed
     
  • Good point - I added a <configuration> element: If you set

    <configuration>
    ...
    <scope>test</scope>
    <configuration>

    benerator will include all dependencies with scope 'runtime' or 'test' as well as all classes and resources from the source and test directories.

     
    • status: closed --> open
     
  • I will publish the enhancement with release 0.5.8 in February 2008. If you cannot wait, check the reference manual how to fetch and build the current version from the SVN repository.

     
    • milestone: --> shipped_with_v0.5.8
    • status: open --> closed