Currently no. I use the plexus-utils copyFile which copies the stream contents. 
To copy the file and preserve the timestamp would require some changes. Can you 
file a jira?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 05, 2008 7:00 AM
To: users@maven.apache.org
Subject: dependency:copy always creates new timestamp

Hi, 

to create the delivery version of our whole system, I use 
"dependency:copy" and "dependency:copy-dependencies" 
to copy the jars, ears, wars and so on from our internal repository into a 
defined directory structure.

<productVersion>
        Install
                Module-A
                        xyz.war
                Module-B
                        xyz.ear
        Documentation
                *.doc

Every time I start the "delivery build", the copied artifacts get new 
timestamps - although the version hasn´t changed in between.

I couldn´t find any property "keep original timestamp" to set for the 
goals "copy" or "copy-dependencies".

Is there a way?


Thanx, Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to