Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-239

Wrapper for calling project's classes using mvn exec:java

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.0.0.Alpha4
    • None
    • Brainstorming
    • None

    Description

      The Arquillian plugin uses mvn exec:java to invoke @Deployment methods within tests that are part of the user's code. We discussed this on the mailinglist. This is a way to invoke code within the project without having to build a classloader that loads the whole user's classpath.
      This is how I described it on he mailinglist:

      "For the plugin I now just generate a new class with a main method to the project's test-source folder. After that I use an mvn exec:java to run the class. It's less ideal because the plugin now adds a user visible utility class to the project, but it's not really a problem I believe. The exporter class is also runnable outside of Forge, so that's good too."

      I'm still polishing the code, but I'll add a link to github when it's checked in.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pbakker_jira Paul Bakker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: