Nexus is used to host the .exe file. As the exe originates from a separate Maven project, and it needs to live somewhere, I folded the exe generation into an ant task as part of that maven project. Now I have versioned hosting of the exe.
But our customers are trapped behind a strict firewall. We will by arrangement be shipping our .war file to them for hosting. The .exe is required for internal distribution by our customers and the software it installs provides custom access to the services offered by that web application. It therefore makes sense to ship the exe within the war. Now back to Nexus. When I search for the artifact that is the .exe and copy the download link, it is of a redirection URL. The wagon plugin, for some reason, wants a directory to look in more similar to an FTP service I guess. So I'm rather stuck and seeking suggestions. Nexus doesn't appear to be compatible with the wagon method, while the download plugin appears to mutate the URL on Linux yet works on Windows. I find both circumstances rather hard to believe yet my battle today leaves me empty handed and frustrated. James On 11 June 2013 19:43, Wayne Fay <[email protected]> wrote: > > We have a maven project that results in a web archive. We want to ship a > > file (a .exe) within this for simple download by customers. > ... > > So I am left wondering how I can ask that a web archive can be built that > > ships with a file downloaded from our Nexus installation? This doesn't > > sound like it should be difficult but I'm still left frustrated. > > You're asking 2 different questions from my POV. > > In the first, you want to make a WAR and include a special EXE file > inside the WAR. Then I imagine you would deploy the WAR somewhere and > the EXE would be downloadable. > > In the second, you start talking about Nexus. If you just want people > to be able to download a file from Nexus, I'd use deploy:deploy-file > or similar to deploy the EXE by itself to Nexus. > > What are you really trying to do? Why are you bringing up Nexus in the > first place? > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
