Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy config for copying plugins.properties and other FitNesse wiki pages, instead of verbose maven-resources-plugin:copy-resources #33

Open
GoogleCodeExporter opened this issue Jul 10, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Some projects may prefer to avoid using FitNesse SymLink to hook in their test 
suites into the FitNesse working directory.

A project can set '<createSymLink>true</createSymLink>' and then use 
maven-resources-plugin:copy-resources to copy specific FitNesse wiki pages into 
/target/fitnesse/FitNesseRoot.

Even if a project does use SymLinks, this would also still have to be done for 
the correct deployment of plugins.properties.

The current (1.4.0) java example project shows both of these examples in the 
pom.xml, but it is very verbose configuration.

For convenience, we could perhaps have some config similar to:
  <plugin>
      <groupId>uk.co.javahelp.fitnesse</groupId>
      <artifactId>fitnesse-launcher-maven-plugin</artifactId>
      <configuration>
          <pluginsProperties>
              <copy-resource>true</copy-resource>
              <location>src/test/fitnesse</location>
              <!-- See also Issue #22, regarding cleanup of plugins.properties -->
          </pluginsProperties>
<!-- Would copy MyTestSuite + all children to top of ${fitnesse.workingDir} -->
          <wiki>MyTestSuite</wiki>
<!-- Would copy AnIndividualTest correctly nested to 
${fitnesse.workingDir}/MyTestSuite/NestedSuite/AnIndividualTest -->
          <wiki>MyTestSuite.NestedSuite.AnIndividualTest</wiki>
 <!-- Would copy AnIndividualTest un-nested to top, as in ${fitnesse.workingDir}/AnIndividualTest -->
          <wiki>MyTestSuite/NestedSuite/AnIndividualTest</wiki>
      </configuration>
  </plugin>

Original issue reported on code.google.com by stewart@javahelp.co.uk on 4 Jul 2014 at 9:31

@GoogleCodeExporter
Copy link
Author

See also Issue #31 - need to make sure these two features don't clash

Original comment by stewart@javahelp.co.uk on 4 Jul 2014 at 9:33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant