Generate test descriptor with 'generateTestDescriptor' goal
Move vespa-maven-plugin above vespa-application-maven-plugin to ensure
test descriptor goal is executed before goals from vespa-application-maven-plugin.
<plugin>
<groupId>com.yahoo.vespa</groupId>
- <artifactId>vespa-application-maven-plugin</artifactId>
+ <artifactId>vespa-maven-plugin</artifactId>
<version>${vespaversion}</version>
<executions>
<execution>
+ <id>generate-test-descriptor</id>
+ <phase>prepare-package</phase>
<goals>
- <goal>packageApplication</goal>
+ <goal>generateTestDescriptor</goal>
</goals>
</execution>
</executions>
<plugin>
<groupId>com.yahoo.vespa</groupId>
- <artifactId>vespa-maven-plugin</artifactId>
+ <artifactId>vespa-application-maven-plugin</artifactId>
<version>${vespaversion}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>packageApplication</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
