A friendly place for Java greenhorns!
Java
Ranch
»
JavaRanch Saloon
Search
|
FAQ
|
Recent Topics
|
Hot Topics
Register
/
Login
Win a copy of
Flex 4 in Action
this week in the
Flex
forum!
Java
Ranch
»
Forums
»
Engineering
»
Ant, Maven and Other Build Tools
Author
How to copy file.jks KEEPING ORIGINAL FILE DATE in maven
Real de Catorce
Greenhorn
Joined: Jun 08, 2009
Messages: 1
posted
Jun 08, 2009 08:55:52
Hello,
I'm trying to copy with maven a file (*.jks) so that file keeps the original file date , but no success till now, the copied file get the current date not the original one.
Have someone faced something like this? Any advises?
Thanks for your kind Help
I'm using something like next:
. . . <build> <finalName>myApp</finalName> <filters><filter>src/main/filters/filter-${env}.properties</filter></filters> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <excludes> <exclude>**/*.jks</exclude> </excludes> </resource> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> <includes> <include>**/*.jks</include> </includes> </resource> . . .
Martijn Verburg
Bartender
Joined: Jun 24, 2003
Messages: 2430
posted
Jun 09, 2009 03:11:23
Hi Real and welcome to Javaranch!
I'm afraid I don't know of a way to do this, have you tried the Maven mailing list?
Cheers, Martijn -
Blog
,
Twitter
,
PCGen
,
Ikasan
Java
Ranch
»
Forums
»
Engineering
»
Ant, Maven and Other Build Tools
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter