Closed carrot-garden closed 2 years ago
Reading code in https://github.com/jiaqi/cym2/blob/master/awss3/src/main/java/org/cyclopsgroup/cym2/awss3/S3Wagon.java, which I completely forgot, I don't think it checks timestamp. Though I am not 100% sure about the base class.
I often make a few file changes and call wagon to upload entire site to S3. According to logging, it does look like maven iterates through every file no matter it's changed or not and uploads all. There's noticeable delay during upload of each file. So I believe it always uploads all files without looking at timestamp.
Regards Jiaqi Guo
ok; I guess I have to steal your code an play with it a bit to see if I can convince maven/wagon get smart :-)
Good luck on that. There are several gotchas I want to bring out, which you may already know.
Regards Jiaqi Guo
great ideas, thank you for sharing;
I will keep you posted if I come up with a solution;
Jiaqi:
I am curious if your plugin does update new files only?
in other words, if source & target file has same time stamp, will your wagon run upload anyway?
thanks
Andrei.