Re: Settings and Maven Plugin Testing Harness

2011-05-23 Thread Kurt Zettel II
I answered my own question. I added this method to my test case which extends AbstractMojoTestCase: protected Settings getSettings() throws Exception { DefaultSettingsBuilderFactory defaultSettingsBuilderFactory = new DefaultSettingsBuilderFactory(); DefaultSettingsBuilder settingsBuilde

Settings and Maven Plugin Testing Harness

2011-05-22 Thread Kurt Zettel II
Hello Maven Developers, I am using the maven-plugin-test-harness-2.0-alpha-1 and creating JUnit tests for a plugin I am developing. I am able to test my Mojos but I am currently hardcoding some values into my tests such as command paths. This configuration is configured in my settings.xml. Is th