Modified pom.xml to create zip.
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/31f5a729 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/31f5a729 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/31f5a729 Branch: refs/heads/gsoc-projects-2015 Commit: 31f5a729692203a091b1beb900d868f12abfd73d Parents: 5f79aea Author: swapnilpatilRajaram <[email protected]> Authored: Thu Jun 18 05:17:27 2015 +0000 Committer: swapnilpatilRajaram <[email protected]> Committed: Thu Jun 18 05:17:27 2015 +0000 ---------------------------------------------------------------------- extensions/load-balancer/aws-extension/pom.xml | 44 +++++++++++++++++++++ 1 file changed, 44 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/31f5a729/extensions/load-balancer/aws-extension/pom.xml ---------------------------------------------------------------------- diff --git a/extensions/load-balancer/aws-extension/pom.xml b/extensions/load-balancer/aws-extension/pom.xml index e47e378..68f0ad1 100644 --- a/extensions/load-balancer/aws-extension/pom.xml +++ b/extensions/load-balancer/aws-extension/pom.xml @@ -66,5 +66,49 @@ <artifactId>andes-client</artifactId> <version>0.13.wso2v8</version> </dependency> + <dependency> + <groupId>com.amazonaws</groupId> + <artifactId>aws-java-sdk</artifactId> + <version>1.9.24</version> + </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>2.4</version> + <configuration> + <archive> + <manifest> + <mainClass>org.apache.stratos.aws.extension.Main</mainClass> + </manifest> + </archive> + </configuration> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptors> + <descriptor>src/main/assembly/bin.xml</descriptor> + </descriptors> + <archiverConfig> + <fileMode>420</fileMode> + <directoryMode>493</directoryMode> + <defaultDirectoryMode>493</defaultDirectoryMode> + </archiverConfig> + <appendAssemblyId>false</appendAssemblyId> + </configuration> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>attached</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> \ No newline at end of file
