Closed martinchooooooo closed 11 years ago
You should add the following properties to ~/.m2/settings.xml file:
<mailchimp.test.username>****</mailchimp.test.username>
<mailchimp.test.password>****</mailchimp.test.password>
<mailchimp.test.apikey>****</mailchimp.test.apikey>
<mailchimp.test.listid>****</mailchimp.test.listid>
Hope that helps.
If you don't have anything else in your ~/.m2/settings.xml file, it should look like this:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<mailchimp.test.username>****</mailchimp.test.username>
<mailchimp.test.password>****</mailchimp.test.password>
<mailchimp.test.apikey>****</mailchimp.test.apikey>
<mailchimp.test.listid>****</mailchimp.test.listid>
</settings>
Hi,
Thanks for the plugin. I've been trying to run the test cases but haven't been able to using maven unfortunately. I'm stuck at the first step, getting my mailchimp.test.properties file to be read by surefire.
I've tried creating a file mailchimp.test.properties in src/test/resources, but it does not copy properly into target/test-classes/. There is a file that is created, but it only has comments about ANT. The logging.properties file on the other hand copies over fine when running
mvn test
How do i go about getting the properties to copy across?