protected String extractPackageNameFromAndroidArtifact ( Artifact artifact ) throws MojoExecutionException { final File unpackedLibFolder = getUnpackedLibFolder ( artifact ) ; final File manifest = new File ( unpackedLibFolder , "AndroidManifest.xml" ) ; if ( ! manifest . exists ( ) ) { throw new MojoExecutionException ( "AndroidManifest.xml file wasn't found in next place: " + unpackedLibFolder ) ; } return extractPackageNameFromAndroidManifest ( manifest ) ; }
Provides package name for android artifact .