use maven-publish and artifactory-publish plugins
Debug code.