diff options
author | 2018-03-06 17:07:57 -0500 | |
---|---|---|
committer | 2018-03-06 17:40:02 -0500 | |
commit | 0e82fc327457a80ee79380580850526b3ceff732 (patch) | |
tree | e4c6686d8d633d3ac9cf43744ab756fd05ead893 | |
parent | 284bfa066d7f7614651b22cba97e6a6697a97180 (diff) |
Add build helper to pom
Need to re-add the build helper plugin
to pom in order to attach the zip file for
deployment.
Change-Id: I73afb91e622890601cfd723ef33ac9b40352dd7b
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-627
-rw-r--r-- | pom.xml | 63 |
1 files changed, 43 insertions, 20 deletions
@@ -159,26 +159,49 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. </executions> </plugin> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <executions> - <execution> - <id>maven-repo-zip</id> - <goals> - <goal>single</goal> - </goals> - <phase>package</phase> - <configuration> - <appendAssemblyId>false</appendAssemblyId> - <attach>false</attach> - <finalName>${project.artifactId}-${project.version}</finalName> - <descriptors> - <descriptor>assemble_dist_zip.xml</descriptor> - </descriptors> - </configuration> - </execution> - </executions> - </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <id>maven-repo-zip</id> + <goals> + <goal>single</goal> + </goals> + <phase>package</phase> + <configuration> + <appendAssemblyId>false</appendAssemblyId> + <attach>false</attach> + <finalName>${project.artifactId}-${project.version}</finalName> + <descriptors> + <descriptor>assemble_dist_zip.xml</descriptor> + </descriptors> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>1.12</version> + <executions> + <execution> + <id>attach-artifacts</id> + <phase>package</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <file>target/${project.artifactId}-${project.version}.zip</file> + <type>zip</type> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> |