How can I get the temp folder of a machine running maven?

Viewed 6981

I'd like to save some unpacked files into the temp folder of a machine.

Question: How can I get the temp folder using maven?

Question: Will it work on both linux and windows environments?

2 Answers
Related