maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <rwhee...@artifact-software.com>
Subject Re: Downloading a file for shipping in an artifact
Date Wed, 12 Jun 2013 15:19:24 GMT
Would an installer help resolve this?
Open source IzPack uses a maven plug-in to create an installation file 
that could build the required structure on the user side from the 
artifacts that you have.

Ron

On 11/06/2013 4:31 PM, James Green wrote:
> 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 <waynefay@gmail.com> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message