-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
142 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
218 changes: 0 additions & 218 deletions
218
src/main/java/org/codehaus/mojo/keytool/AbstractKeyToolRequestMojo.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,14 +19,13 @@ | |
import org.apache.maven.plugins.annotations.Parameter; | ||
|
||
/** | ||
* Abstract mojo to execute a {@link KeyToolRequestWithKeyStoreAndAliasParameters} request. | ||
* Abstract mojo to execute a store with alias parameters request. | ||
* | ||
* @param <R> generic type of request used by the mojo | ||
* @author tchemit <[email protected]> | ||
* @since 1.2 | ||
*/ | ||
public abstract class AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo<R extends KeyToolRequestWithKeyStoreAndAliasParameters> | ||
extends AbstractKeyToolRequestWithKeyStoreParametersMojo<R> | ||
public abstract class AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo | ||
extends AbstractKeyToolRequestWithKeyStoreParametersMojo | ||
{ | ||
/** | ||
* Password through protected mechanism. | ||
|
@@ -48,24 +47,18 @@ public abstract class AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo<R | |
|
||
/** | ||
* Constructor of abstract mojo. | ||
* | ||
* @param requestType type of keytool request used by the mojo | ||
*/ | ||
protected AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo( Class<R> requestType ) | ||
protected AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo() | ||
{ | ||
super( requestType ); | ||
} | ||
|
||
/** | ||
* {@inheritDoc} | ||
*/ | ||
@Override | ||
protected R createKeytoolRequest() | ||
public boolean isPasswordProtected() | ||
{ | ||
R request = super.createKeytoolRequest(); | ||
return passwordProtected; | ||
} | ||
|
||
request.setPasswordProtected( this.passwordProtected ); | ||
request.setAlias( this.alias ); | ||
return request; | ||
public String getAlias() | ||
{ | ||
return alias; | ||
} | ||
} |
Oops, something went wrong.