Solved

Maven: Sign jar created by assembly

Posted on 2008-10-15
1
1,058 Views
Last Modified: 2012-06-27
Hi,
I want to sign a jar created by the assembly plugin for webstart usage.
At first I though I found the solution by using jar:sign. But apperantly it creates a new jar and signs it instead of using the assembled one.

Is there any way to do this ? (I could use antrun but I'm not really a fan of using ant in maven scripts)
0
Comment
Question by:Reggie_BE
1 Comment
 

Accepted Solution

by:
Reggie_BE earned 0 total points
ID: 22777322
By lack of answers I used antRun:

<signjar jar="mylib.jar" keystore="${project.basedir}/src/main/resources/jnlp/keystore"                   alias="foo" storepass="${storepass}" />
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java - Why doesn't this JFrame work 3 59
replace a word with other 1 44
hibernate jars 4 29
How to determine if a string is a valid SHA value 7 31
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question