Configure bundle-plugin to attach bundle artifact.
<groupId>com.yahoo.vespa</groupId>
<artifactId>bundle-plugin</artifactId>
<configuration>
+ <attachBundleToArtifact>true</attachBundleToArtifact>
+ <bundleClassifierName>deploy</bundleClassifierName>
<useCommonAssemblyIds>false</useCommonAssemblyIds>
<WebInfUrl>/WEB-INF/web.xml</WebInfUrl>
</configuration>
</compilerArgs>
</configuration>
</plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-artifacts</id>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
- <configuration>
- <artifacts>
- <artifact>
- <file>target/${project.artifactId}-deploy.jar</file>
- <type>jar</type>
- <classifier>deploy</classifier>
- </artifact>
- </artifacts>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
</project>
