Category: Maven Gene De Lisa @ 12:19 pm —
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Ever get this?

[INFO] [keytool:genkey]
[WARNING] Enter keystore password:  Keystore password is too short - must be at least 6 characters

You probably have something like this:

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>keytool-maven-plugin</artifactId>
<configuration>
<keystore>${basedir}/target/keystore</keystore>
<dname>cn=Gene De Lisa, ou=Devel, L=Philadelphia, ST=PA, o=Rockhopper, c=US</dname>
<alias>mykey</alias>
<keypass>validpassword</keypass>
<storepass>validpassword</storepass>
<storetype>pkcs12</storetype>
<verbose>true</verbose>
</configuration>
</plugin>

See that dname element? If you reformatted your code in Eclipse perhaps it was split over two lines. It has to be on a single line. So, you problem has nothing to do with the password!

Sorry, no comments yet.

Write Your Comment

Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs will be generated automatically.

You should have a name, right? 
Your email address, I promised I won't tell it to anyone. 
If you have a web site or blog, you can type the URL right here. 
This is where you type your comments. 
Remember my information for the next time I visit.