OT. this blind man on a galloping horse cannot tell the exact scm goal names ;-)
On 15 February 2013 15:41, Baptiste MATHUS <[email protected]> wrote: > Just bind the maven-scm-plugin with that goal&conf (which actually seems to > be checkin instead of commit) onto the right phase (here it may be "test"). > Look at the Maven lifecycle to understand what a phase is > > http://maven.apache.org/scm/maven-scm-plugin/checkin-mojo.html#message(search > for "default lifecycle"). > > Cheers > > > 2013/2/15 Alberto Ivo <[email protected]> > > > I'm sorry.. I'm noob.. I didn't get it. > > > > Is there a way to do it inside the pom.xml? > > > > Ivo > > > > > > On Fri, Feb 15, 2013 at 11:15 AM, Stephen Connolly < > > [email protected]> wrote: > > > > > mvn clean test scm:commit -Dmessage="I am great" > > > > > > > > > On 15 February 2013 12:51, Alberto Ivo <[email protected]> wrote: > > > > > > > Hello, > > > > > > > > Nowadays When I change the code, I manually run the unit test (suite) > > and > > > > then commit using Eclipse IDE. > > > > But I would like to do it via Maven. The code can be committed only > > after > > > > the unit tests and they all have passed. Is that possible? if so, > > could I > > > > do that? > > > > > > > > Thanks in advance! > > > > > > > > > > > -- > > Baptiste <Batmat> MATHUS - http://batmat.net > > Sauvez un arbre, > > Mangez un castor ! nbsp;! > > >
