How I can configure auto redeploying after "Package"? 
After running server by command org.glassfish:maven-embedded-glassfish-plugin:3.1.1:run I run package goal on application (because I need recompile my app after some changes in source code) with following parameters on maven-embedded-glassfish-plugin
                <execution>
                    <id>undeploy</id>
                    <phase>package</phase>
                    <goals>
                        <goal>undeploy</goal>
                    </goals>
                </execution>
                <execution>
                    <id>deploy</id>
                    <phase>package</phase>
                    <goals>
                        <goal>deploy</goal>
                    </goals>
                </execution> 
But this don't work.