maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Remijan <mjremi...@yahoo.com>
Subject Re: Problem creating a self-executing signed jar
Date Tue, 23 Feb 2010 15:31:48 GMT
Wow, I seriously need to create a seperate project to do this?




________________________________
From: Anders Hammar <anders@hammar.net>
To: Maven Users List <users@maven.apache.org>
Sent: Tue, February 23, 2010 1:47:41 AM
Subject: Re: Problem creating a self-executing signed jar

I think your main problem is that you try to squeeze everything into one
Maven project. Try using more than one Maven project (one for the jar and
then another one for the zip) and you'll see that things become much easier
(and much more the mAven way).

/Anders

On Mon, Feb 22, 2010 at 17:45, Michael Remijan <mjremijan@yahoo.com> wrote:

> I'm trying to convert an ANT project to Maven and I'm having trouble
> configuring Maven to do what I need.  Here are the basic steps I need:
>
> 1) Create a "jar-with-dependencies" jar.
> 2) Sign the jar
> 3) Create a ZIP distribution with the signed jar.
>
> So far I've been able to configure the maven-assembly-plugin to create the
> "jar-with-dependencies" and I've been able to configure the
> maven-jarsigner-plugin to sign the "jar-with-dependencies" jar.
>
> However, when I configure another execution of maven-assembly-plugin to run
> my own assembly descriptor to build the ZIP file I want, it always runs
> BEFORE the jar is signed. How do I get this execution to run AFTER the
> jarsigner plugin?
>
> Mike

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