// Path: plugins-compat-tester-model/src/main/java/org/jenkins/tools/test/model/PomData.java
// public class PomData {
//     public final String artifactId;
//     public final String groupId;
// 
//     @Nonnull
//     private final String packaging;
// 
//     @CheckForNull
//     public final MavenCoordinates parent;
//     private String connectionUrl;
//     private String scmTag;
//     private List<String> warningMessages = new ArrayList<>();
// 
//     public PomData(String artifactId, @CheckForNull String packaging, String connectionUrl, String scmTag, @CheckForNull MavenCoordinates parent, String groupId){
//         this.artifactId = artifactId;
//         this.groupId = groupId;
//         this.packaging = packaging != null ? packaging : "jar";
//         this.setConnectionUrl(connectionUrl);
//         this.scmTag = scmTag;
//         this.parent = parent;
//     }
// 
//     public String getConnectionUrl() {
//         return connectionUrl;
//     }
// 
//     public void setConnectionUrl(String connectionUrl) {
//         this.connectionUrl = connectionUrl;
//     }
// 
//     @SuppressFBWarnings(value = "EI_EXPOSE_REP", justification = "Deliberately mutable")
//     public List<String> getWarningMessages() {
//         return warningMessages;
//     }
// 
//     @Nonnull
//     public String getPackaging() {
//         return packaging;
//     }
// 
//     public String getScmTag() {
//         return scmTag;
//     }
// 
//     public boolean isPluginPOM() {
//         if (parent != null) {
//             return parent.matches("org.jenkins-ci.plugins", "plugin");
//         } else { // Interpolate by packaging
//             return "hpi".equalsIgnoreCase(packaging);
//         }
//     }
// }


import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.jenkins.tools.test.model.PomData;
package org.jenkins.tools.test.hook;


public class AwsJavaSdkHook extends AbstractMultiParentHook {
    private static final Logger LOGGER = Logger.getLogger(AwsJavaSdkHook.class.getName());

    @Override
    protected String getParentFolder() {
        return "aws-java-sdk";
    }

    @Override
    protected String getParentProjectName() {
        return "aws-java-sdk-parent";
    }

    @Override
    public boolean check(Map<String, Object> info) {
        return isAwsJavaSdkPlugin(info);
    }

    private boolean isAwsJavaSdkPlugin(Map<String, Object> moreInfo) {
// Path: plugins-compat-tester-model/src/main/java/org/jenkins/tools/test/model/PomData.java
// public class PomData {
//     public final String artifactId;
//     public final String groupId;
// 
//     @Nonnull
//     private final String packaging;
// 
//     @CheckForNull
//     public final MavenCoordinates parent;
//     private String connectionUrl;
//     private String scmTag;
//     private List<String> warningMessages = new ArrayList<>();
// 
//     public PomData(String artifactId, @CheckForNull String packaging, String connectionUrl, String scmTag, @CheckForNull MavenCoordinates parent, String groupId){
//         this.artifactId = artifactId;
//         this.groupId = groupId;
//         this.packaging = packaging != null ? packaging : "jar";
//         this.setConnectionUrl(connectionUrl);
//         this.scmTag = scmTag;
//         this.parent = parent;
//     }
// 
//     public String getConnectionUrl() {
//         return connectionUrl;
//     }
// 
//     public void setConnectionUrl(String connectionUrl) {
//         this.connectionUrl = connectionUrl;
//     }
// 
//     @SuppressFBWarnings(value = "EI_EXPOSE_REP", justification = "Deliberately mutable")
//     public List<String> getWarningMessages() {
//         return warningMessages;
//     }
// 
//     @Nonnull
//     public String getPackaging() {
//         return packaging;
//     }
// 
//     public String getScmTag() {
//         return scmTag;
//     }
// 
//     public boolean isPluginPOM() {
//         if (parent != null) {
//             return parent.matches("org.jenkins-ci.plugins", "plugin");
//         } else { // Interpolate by packaging
//             return "hpi".equalsIgnoreCase(packaging);
//         }
//     }
// }


// Path: plugins-compat-tester/src/main/java/org/jenkins/tools/test/hook/AwsJavaSdkHook.java
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.jenkins.tools.test.model.PomData;

package org.jenkins.tools.test.hook;


public class AwsJavaSdkHook extends AbstractMultiParentHook {
    private static final Logger LOGGER = Logger.getLogger(AwsJavaSdkHook.class.getName());

    @Override
    protected String getParentFolder() {
        return "aws-java-sdk";
    }

    @Override
    protected String getParentProjectName() {
        return "aws-java-sdk-parent";
    }

    @Override
    public boolean check(Map<String, Object> info) {
        return isAwsJavaSdkPlugin(info);
    }

    private boolean isAwsJavaSdkPlugin(Map<String, Object> moreInfo) {
        PomData data = (PomData) moreInfo.get("pomData");