tags:

views:

33

answers:

2

i must develop a java class that invoke maven command automaticly like install ,deploy , compile .... but i can't found the convinient java api any idea ???

+3  A: 

Use the Maven Embedder Runtime (eg., its own entry point)

aldrinleal
have you an exemple to run mvn install for exemple or thing like this ?
trabelsi houcem
@trabelsi houcemSimply call using args set as an array with a single element ('install')
aldrinleal
thanks it work with domain () :)
trabelsi houcem
A: 

have you an exemple to run mvn install for exemple or something like this ?

trabelsi houcem