You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Aditya <ad...@gmail.com> on 2012/03/01 15:31:36 UTC
Configure pom for build
Hi All,
I am a newbie to this forum and Maven would like your valuable
advise mavenizing my companies projects. I am trying to accomplish the
following and I am doing my home work. I would like to know an efficient
way of doing them. I am using Maven 3.x
1)Log to a file the flow of steps from Maven execution.( Is there an
alternative to ant echo in Maven)
I dont want to use [* mvn clean install > log.file* ]
2) Does Maven accept custom arguments from command line? something like
-Darguments
3)Backup files using pom.
4) Do checksum in Maven.
--
View this message in context: http://maven.40175.n5.nabble.com/Configure-pom-for-build-tp5528000p5528000.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Configure pom for build
Posted by "Lyons, Roy" <Ro...@cmegroup.com>.
if you are in a unix-like environment, for the logfile you can use 'tee'
mvn clean install 2>&1 | tee log.file
that will display it to the screen and put it into your logfile.
-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com]
Sent: Thursday, March 01, 2012 4:34 PM
To: Maven Users List
Subject: Re: Configure pom for build
> 1)Log to a file the flow of steps from Maven execution.( Is there an
> alternative to ant echo in Maven)
> I dont want to use [* mvn clean install > log.file* ]
I am unaware of any way to do this and use "... > log.file" if I need to do this.
> 2) Does Maven accept custom arguments from command line? something
> like -Darguments
Yes.
> 3)Backup files using pom.
What does "backup files" mean? Why would you need to do this?
> 4) Do checksum in Maven.
http://lmgtfy.com/?q=maven+checksum+plugin
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Configure pom for build
Posted by Wayne Fay <wa...@gmail.com>.
> 1)Log to a file the flow of steps from Maven execution.( Is there an
> alternative to ant echo in Maven)
> I dont want to use [* mvn clean install > log.file* ]
I am unaware of any way to do this and use "... > log.file" if I need
to do this.
> 2) Does Maven accept custom arguments from command line? something like
> -Darguments
Yes.
> 3)Backup files using pom.
What does "backup files" mean? Why would you need to do this?
> 4) Do checksum in Maven.
http://lmgtfy.com/?q=maven+checksum+plugin
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org