Objective is to deploy a simple java app to the remote machine using maven plugin. There are two sections of this plugin
- SCP the executable jar/war to the remote machine
- SSH and run some command/script
<plugin>| # <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
| # |<---- Using a Maximum Of 50 Characters ---->| | |
| # Explain why this change is being made | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # Provide links or keys to any relevant tickets, articles or other resources | |
| # Example: Github issue #23 |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.Collections; | |
| public class MinimumEditDistance { | |
| public interface CostFunction { | |
| public int cost(int[][] distanceMatrix, CharSequence x, CharSequence y, int i, int j); | |
| } | |