src/main/java/com/simpligility/maven/plugins/android/standalonemojos/RunMojo.java
@Override
    public void execute() throws MojoExecutionException, MojoFailureException
    {
        if ( project.getPackaging().equals( APK ) )
        {
            try
            {
                LauncherInfo launcherInfo;

                launcherInfo = getLauncherActivity();

                ConfigHandler configHandler = new ConfigHandler( this, this.session, this.execution );
                configHandler.parseConfiguration();

                launch( launcherInfo );
            }
            catch ( Exception ex )
            {
                getLog().info( "Unable to run launcher Activity" );
                getLog().debug( ex );
            }
        }
        else
        {
            getLog().info( "Project packaging is not apk, skipping run action." );
        }
    }
@Override
    public void execute() throws MojoExecutionException, MojoFailureException
    {
        if ( project.getPackaging().equals( APK ) )
        {
            try
            {
                LauncherInfo launcherInfo;

                launcherInfo = getLauncherActivity();

                ConfigHandler configHandler = new ConfigHandler( this, this.session, this.execution );
                configHandler.parseConfiguration();

                launch( launcherInfo );
            }
            catch ( Exception ex )
            {
                getLog().info( "Unable to run launcher Activity" );
                getLog().debug( ex );
            }
        }
        else
        {
            getLog().info( "Project packaging is not apk, skipping run action." );
        }
    }
@ Override public void execute ( ) throws MojoExecutionException , MojoFailureException { if ( project . getPackaging ( ) . equals ( APK ) ) { try { LauncherInfo launcherInfo ; launcherInfo = getLauncherActivity ( ) ; ConfigHandler configHandler = new ConfigHandler ( this , this . session , this . execution ) ; configHandler . parseConfiguration ( ) ; launch ( launcherInfo ) ; } catch ( Exception ex ) { getLog ( ) . info ( "Unable to run launcher Activity" ) ; getLog ( ) . debug ( ex ) ; } } else { getLog ( ) . info ( "Project packaging is not apk, skipping run action." ) ; } }
{@inheritDoc}
{