1 package org.apache.maven.plugin.version; 2 3 18 19 public class PluginVersionNotFoundException 20 extends Exception  21 { 22 private final String groupId; 23 24 private final String artifactId; 25 26 public PluginVersionNotFoundException( String groupId, String artifactId ) 27 { 28 super( "The plugin \'" + groupId + ":" + artifactId + "\' does not exist or no valid version could be found" ); 29 30 this.groupId = groupId; 31 this.artifactId = artifactId; 32 } 33 34 public String getGroupId() 35 { 36 return groupId; 37 } 38 39 public String getArtifactId() 40 { 41 return artifactId; 42 } 43 44 } 45 | Popular Tags |