Hi Awanthika,

Try using "exec-maven-plugin". you can find more details on [1] and [2]

[1] - http://mojo.codehaus.org/exec-maven-plugin/
[2] -
http://stackoverflow.com/questions/3491937/i-want-to-execute-shell-commands-from-mavens-pom-xml

Thanks,

On Mon, Mar 16, 2015 at 11:41 AM, Awanthika Senarath <[email protected]>
wrote:

> Hi all,
>
> Is it possible to achieve $subject?
>
> I came through [1] which will perform git clone but there i need t execute
> mvn scm:checkout
>
> Is it possible to perform a git clonevia pom file with mvn clean install
> command?
>
>
>
> [1]
> http://stackoverflow.com/questions/6359332/how-can-i-do-a-git-pull-in-maven
>
>
>
> regards
>
> --
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to