I am writing JavaScript code and my JavaScript code is dependent on other JavaScript files which are zipped and available in Artifactory. I am planning to write extension and use something like
The above will download libA.zip with version 1.0 and download libB.zip with version 2.0. Then extracts all the JS files from zip files.
Is there a way to specifies the dependency as zip files? I currently see the option to specify dependency on jar and war. 2. Is there a way of uploading zip file to artifactory? I currently see the option of uploading jar and war.
Thanks Baruch. Since I am working on JavaScript project, I do not want to use ‘java’ plugin and hence do not want to specify runtime or compile dependencies. I want to write my own ‘JavaScript’ plugin and closure like
You don’t need the java plugin, nor the runtime or compile dependencies. As the documentation suggests, you should create your own configuration (named ‘js’, as I can see).
I am also new to Artifactory storage mechanism and I worked mostly to store EAR, JAR, and WAR into Artifactory. Recently I have start to have some JavaScript development. So would also like to see if we can leverage to have dependency control on JavaScript. Thanks in advance