src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java
private boolean isBuildConfigPresent( Artifact artifact ) throws MojoExecutionException
    {
        String depPackageName = extractPackageNameFromAndroidArtifact( artifact );

        return isBuildConfigPresent( artifact, depPackageName );
    }
private boolean isBuildConfigPresent( Artifact artifact ) throws MojoExecutionException
    {
        String depPackageName = extractPackageNameFromAndroidArtifact( artifact );

        return isBuildConfigPresent( artifact, depPackageName );
    }
Check if given artifact includes a matching BuildConfig class

@throws MojoExecutionException