Running a Java artifact downloaded from Maven in Gradle -


how run artifact (say called a) download maven? artifact has run time dependencies on other maven artifacts. got work using jettyrun task. involved having source files artifact in src/main/java directory. assuming don't have source files (all jars/dependencies being retrieved maven repository), how start java program in artifact using jettyrun or other task?

i don't think jetty plugin allows point project war file. instead give cargo plugin shot. here's sample configuration:

cargo {     containerid = 'jetty7x'     port = 9090      deployable {         file = file('/your/path/a.war')         context = 'yourcontext'     }      local {         homedir = file('/your/path/to/jetty-7')     } } 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -