diff options
author | 2019-09-05 11:20:20 -0700 | |
---|---|---|
committer | 2019-09-05 11:32:12 -0700 | |
commit | 78920e6afaf4b888e4e38fdf78dd24602656ea19 (patch) | |
tree | c79ee386dda482ee6a35ceb46e523d8c1d42e283 /artifactbroker/pom.xml | |
parent | aa7445448861c403c082b20a372c4d5abb35e0ee (diff) |
Fix copy-resource issue of artifactbroker
- Change to install phase to make avail of artifacts
- change binaryfilter for zip files
- Build docker image with local artifact
Change-Id: Icf975056e4afeb0708385828189e96f660f86e03
Issue-ID: MULTICLOUD-806
Signed-off-by: Liang Ding <liang.ding@intel.com>
Diffstat (limited to 'artifactbroker/pom.xml')
-rw-r--r-- | artifactbroker/pom.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/artifactbroker/pom.xml b/artifactbroker/pom.xml index 7f2229d..f689997 100644 --- a/artifactbroker/pom.xml +++ b/artifactbroker/pom.xml @@ -238,17 +238,30 @@ <executions> <execution> <id>copy-resources</id> - <phase>validate</phase> + <phase>install</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> + <overwrite>true</overwrite> + <nonFilteredFileExtensions> + <nonFilteredFileExtension>zip</nonFilteredFileExtension> + <nonFilteredFileExtension>jar</nonFilteredFileExtension> + </nonFilteredFileExtensions> <outputDirectory>${project.basedir}/docker_target</outputDirectory> <resources> <resource> <directory>${project.basedir}/docker</directory> <filtering>true</filtering> </resource> + <resource> + <directory>${project.basedir}/target</directory> + <filtering>true</filtering> + <includes> + <include>*.zip</include> + <include>*.jar</include> + </includes> + </resource> </resources> </configuration> </execution> |