Maven Pax Exam Plugin: goal: generate-paxexam-config
----------------------------------------------------

                 Key: PAXEXAM-32
                 URL: http://issues.ops4j.org/browse/PAXEXAM-32
             Project: Pax Exam
          Issue Type: New Feature
            Reporter: Toni Menzel
            Assignee: Toni Menzel


plugin can be kicked off by
 <plugin>
        <groupId>org.ops4j.pax.exam</groupId>
        <artifactId>maven-paxexam-plugin</artifactId>
        <executions>
          <execution>
            <id>generate-paxexam-config</id>
            <goals>
              <goal>generate-paxexam-config</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

And will generate a paxexam-config.properties file that contains provisioning 
properties, configuration settings and so on.
Because defaultcontainer=onlycontainer=paxrunner i guess we directly support 
paxrunner options  ??

In the end, users that use this plugin can write tests like this:
@RunWith(MavenConfiguredJUnit4TestRunner.class)
class MyTest {
@Test
public void MyTest() {

}
}

While the MavenConfiguredJUnit4TestRunner is just a shortcut for
@Configuration
private Option[] configure() {
return new Option[] { useMavenConfiguration() };
}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to