Skip to content

Commit

Permalink
remove main method
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Jan 3, 2024
1 parent d06099b commit 38b3ee4
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@ public class UnmanagedDependencyCheck {
// regex of handwritten artifacts
private final static String downstreamArtifact = "(com.google.cloud:google-cloud-.*)|(com.google.api.grpc:(grpc|proto)-google-cloud-.*)";


/**
* @param args An array with two elements.<p> The first string is the version of Java shared
* dependencies. <p> The second string is the path of a pom.xml contains BOM.
*/
public static void main(String[] args)
throws MavenRepositoryException, InvalidVersionSpecificationException {
checkArgument(args.length == 2, "The length of the inputs should be 2");
System.out.println(getUnmanagedDependencies(args[0], args[1]));
}

/**
* Returns dependency coordinates that are not managed by shared dependency BOM.
*
Expand Down

0 comments on commit 38b3ee4

Please sign in to comment.