filterProperties.put( "installer.output.directory", target.getLayout().getBaseDirectory().getParent() );
    private void initializeFiltering() throws MojoFailureException     {        filterProperties.putAll( mymojo.getProject().getProperties() );        filterProperties.put( "app" , mymojo.getApplicationName() );                char firstChar = mymojo.getApplicationName().charAt( 0 );        firstChar = Character.toUpperCase( firstChar );        filterProperties.put( "app.displayname", firstChar + mymojo.getApplicationName().substring( 1 ) );        if ( mymojo.getApplicationVersion() != null )        {            filterProperties.put( "app.version", mymojo.getApplicationVersion() );        }        else        {            filterProperties.put( "app.version", "1.0" );        }        // -------------------------------------------------------------------        // WARNING: hard code values just to for testing        // -------------------------------------------------------------------                filterProperties.put( "app.author" , target.getApplicationAuthor() );        filterProperties.put( "app.email" , target.getApplicationEmail() );        filterProperties.put( "app.url" , target.getApplicationUrl() );        filterProperties.put( "app.java.version" , target.getApplicationJavaVersion() );        filterProperties.put( "app.license" , target.getLayout().getLicenseFile().getPath() );        filterProperties.put( "app.license.name" , target.getLayout().getLicenseFile().getName() );        filterProperties.put( "app.company.name" , target.getCompanyName() );        filterProperties.put( "app.description" , mymojo.getApplicationDescription() );         filterProperties.put( "app.copyright.year", target.getCopyrightYear() );        if ( ! target.getLayout().getReadmeFile().exists() )        {            touchFile( target.getLayout().getReadmeFile() );        }        filterProperties.put( "app.readme" , target.getLayout().getReadmeFile().getPath() );        filterProperties.put( "app.icon" , target.getLayout().getLogoIconFile().getPath() );        filterProperties.put( "app.icon.name" , target.getLayout().getLogoIconFile().getName() );        filterProperties.put( "image.basedir", target.getLayout().getBaseDirectory().getPath() );        filterProperties.put( "app.lib.jars", getApplicationLibraryJars() );    }