is there JRE 1.6 available in some public Maven repository we could proxy in our Nexus?
if not, can somebody please provide a hint on how to deploy JRE to a Maven repository?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
here’s the solution I found:
my case).
right version and packaging type “zip”.
modify your pom.xml to download and unzip the dependency during the build (I bound it to “prepare-package” phase).
that’s it. The JRE will be downloaded and extracted to
target\alternateLocation folder.
you can use “copy” goal instead of “unpack” if you want to only copy the ZIP files without extracting them.