You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Geoffrey <jc...@hotmail.com> on 2005/09/07 17:02:23 UTC

[M1] Bundle jnlp signed jars in war

I got a project "myswingclient" on which I can do a "maven jnlp".
It generates signed jars and a jnlp file.

On another project "mywebclient" (controlled by the same multiproject) 
which is dependend on myswingclient (with a war.target.path property), I 
can do "maven war".
The problem is that war uses the unsigned jars coming from the 
repository, instead of the signed jars.

What is the best way to solve this?

-- 
With kind regards,
Geoffrey De Smet


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


Re: [M1] Bundle jnlp signed jars in war

Posted by Matthew L Daniel <md...@scdi.com>.
> The problem is that war uses the unsigned jars coming from the 
> repository, instead of the signed jars.

There are two immediate fixes for this that I can think of:

Hackery: use the correct combination of <goal> and prereqs="" to cause
the 'jnlp' goal to run, a custom goal to copy the
${maven.build.dir}/jnlp/${pom.artifactId} to
${maven.build.dir}/${pom.artifactId}, then artifact:deploy to run.

Non-Hackery: create a patch against the jnlp plugin that adds the
standard "deploy" and "install" goals (if they don't already exist; they
don't in my Maven 1.0.4 cache) and invoke that.

  HTH,
  -- /v\atthew

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