maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: create a jar-file with content of other jars
Date Sun, 24 Nov 2013 22:56:00 GMT
For a single purpose one time deal like this, there is no shame in putting
the jars in src/ and just using an ant task to unzip them into
target/classes

On Thursday, 21 November 2013, Heinrich Götzger wrote:

> Hi,
>
> this might have been discussed somewhere else already, but I couldn't find
> it yet, so here is my problem:
>
> There are some jar-Files from third party (non-maven-source) which I'd
> like to put/merge into a sinlge jar. The content of those third-party-jars
> has to be extracted (unpacked). The target of this project goes in a local
> nexus-repository for later use from other projects.
>
> And I'd like to avoid to put every single jar a dependency into nexus.
>
> The question now is:
> How would the file-structure be for this project, where to put those jars?
> And how would I get these jars unpacked and repacked into one single jar
> as target of this project?
>
> Thanks for helping or pointing to a solution.
>
> Cheers
>
> Heinrich
>
> --
> Before printing this e-mail, think about our environmental responsibility.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

-- 
Sent from my phone

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message