4.0.0 org.onap.vnfsdk.refrepo vnfmarket-deployment 1.6.1 vnf-sdk-marketplace-deployment vnf-sdk-marketplace/deployment pom UTF-8 org.codehaus.gmaven groovy-maven-plugin 2.0 org.codehaus.gmaven gmaven-plugin 1.5 VnfSdkMarketplace package package execute System.out.println("******** Going to make release zip ********") deployFolder = "${project.build.directory}/deployoutput" deployUnzip = "${project.build.directory}/deployunzip" outfileName = "VnfSdkMarketplace-${project.version}.zip" ant.delete(dir: "${deployFolder}") ant.mkdir(dir: "${deployFolder}") ant.delete(dir: "${deployUnzip}") ant.mkdir(dir: "${deployUnzip}") ant.mkdir(dir: "${deployUnzip}/webapps/ROOT") ant.mkdir(dir: "${deployUnzip}/webapps/onapui") ant.mkdir(dir: "${deployUnzip}/webapps/apidocs") ant.copy(todir: "${deployUnzip}") { fileset(dir: "${basedir}/src/main/release"){ exclude(name: "**/.gitignore") } } ant.copy(todir: "${deployUnzip}/webapps/ROOT") { fileset(dir: "${project.build.directory}/../../../vnf-sdk-marketplace/target/ROOT") } ant.copy(todir: "${deployUnzip}/webapps/onapui") { fileset(dir: "${project.build.directory}/../../../../vnfmarket/src/main/webapp") } ant.copy(todir: "${deployUnzip}/webapps/apidocs") { fileset(dir: "${project.build.directory}/../../../vnf-sdk-marketplace/target/swagger-ui-master/dist") { exclude(name: "index.html") } fileset(dir: "${project.build.directory}/../../../vnf-sdk-marketplace/src/main/webapp/apidocs") } ant.zip(destfile: "${deployFolder}/${outfileName}") { fileset(dir: "${deployUnzip}") } System.out.println("******** completed. ************") org.codehaus.mojo build-helper-maven-plugin attach-artifacts package attach-artifact ${project.build.directory}/deployoutput/VnfSdkMarketplace-${project.version}.zip zip docker true