Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Second, edit project.properties to enable Ashcroft: repository. You might have to add this to

Code Block
borderStylesolid
titleproject.properties
# make sure the ashcroft jar you're using is available in the remote repository (it is at codehaus)
maven.repo.remote=http://www.ibiblio.org/maven,http://dist.codehaus.org

# install ashcroft as your security manager
maven.junit.jvmargs=-Djava.security.manager=com.thoughtworks.ashcroft.runtime.JohnAshcroft

# make sure the jvm forks, otherwise the jvmargs will be ignored
maven.junit.fork=true

...