(See also the attached example of pom.xml file).
1. Open the pom.xml file
2. Remove the following maven property:
<properties>
<status.update.events.url>file:/dev/null</status.update.events.url>
...
</properties>
3. Change the squash-ta-maven-plugin version from 1.6.0-RELEASE to 1.7.0-RELEASE:
<plugin>
<groupId>org.squashtest.ta</groupId>
<artifactId>squash-ta-maven-plugin</artifactId>
<version>1.7.0-RELEASE</version>
...
4. Remove the following dependency from the squash-ta-maven-plugin:
<plugin>
<groupId>org.squashtest.ta</groupId>
<artifactId>squash-ta-maven-plugin</artifactId>
<version>1.7.0-RELEASE</version>
<dependencies>
<dependency>
<groupId>org.squashtest.ta</groupId>
<artifactId>squash-ta-link</artifactId>
<version>1.6.0-RELEASE</version>
</dependency>
</dependencies>
....
5. In the squash-ta-maven-plugin configuration block, modify the exporters as follows:
Before:
<plugin>
<groupId>org.squashtest.ta</groupId>
<artifactId>squash-ta-maven-plugin</artifactId>
<version>1.7.0-RELEASE</version>
....
<configuration>
...
<exporters>
<exporter implementation="org.squashtest.ta.commons.exporter.html.HtmlSuiteResultExporter"/>
<exporter implementation="org.squashtest.ta.commons.exporter.surefire.SurefireSuiteResultExporter">
<exportAttached>true</exportAttached>
<jenkinsAttachmentMode>true</jenkinsAttachmentMode>
</exporter>
</exporters>
After:
<plugin>
<groupId>org.squashtest.ta</groupId>
<artifactId>squash-ta-maven-plugin</artifactId>
<version>1.7.0-RELEASE</version>
....
<configuration>
...
<exporters>
<surefire>
<jenkinsAttachmentMode>true</jenkinsAttachmentMode>
</surefire>
</exporters>
6. In the squash-ta-maven-plugin configuration block, modify the configurers as follows.
Before:
<plugin>
<groupId>org.squashtest.ta</groupId>
<artifactId>squash-ta-maven-plugin</artifactId>
<version>1.7.0-RELEASE</version>
....
<configuration>
...
<configurers>
<configurer implementation="org.squashtest.ta.link.SquashTMCallbackEventConfigurer">
<endpointURL>${status.update.events.url}</endpointURL>
<executionExternalId>${squash.ta.external.id}</executionExternalId>
<jobName>${jobname}</jobName>
<hostName>${hostname}</hostName>
<endpointLoginConfFile>${squash.ta.conf.file}</endpointLoginConfFile>
</configurer>
</configurers>
After:
<plugin>
<groupId>org.squashtest.ta</groupId>
<artifactId>squash-ta-maven-plugin</artifactId>
<version>1.7.0-RELEASE</version>
....
<configuration>
...
<configurers>
<tmCallBack>
<endpointURL>${status.update.events.url}</endpointURL>
<executionExternalId>${squash.ta.external.id}</executionExternalId>
<jobName>${jobname}</jobName>
<hostName>${hostname}</hostName>
<endpointLoginConfFile>${squash.ta.conf.file}</endpointLoginConfFile>
</tmCallBack>
</configurers>
7. In the squash-ta-maven-plugin executions block, remove the configuration element (in red below).
Before:
<plugin>
<groupId>org.squashtest.ta</groupId>
<artifactId>squash-ta-maven-plugin</artifactId>
<version>1.7.0-RELEASE</version>
....
<executions>
<execution>
<configuration>
<exporters>
<exporter implementation="org.squashtest.ta.commons.exporter.html.HtmlSuiteResultExporter"/>
</exporters>
<configurers combine.self="override" />
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
After:
<plugin>
<groupId>org.squashtest.ta</groupId>
<artifactId>squash-ta-maven-plugin</artifactId>
<version>1.7.0-RELEASE</version>
....
<executions>
<execution>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>