private void installJar ( final File installableFile ) throws MojoExecutionException { try { Artifact artifact = new DefaultArtifact ( groupId , artifactId , version , null , "jar" , null , new DefaultArtifactHandler ( "jar" ) ) ; install ( installableFile , artifact , localRepository ) ; File artifactFile = new File ( localRepository . getBasedir ( ) , localRepository . pathOf ( artifact ) ) ; installAdditional ( artifactFile , ".sha1" , CeylonUtil . calculateChecksum ( artifactFile ) , false ) ; if ( model != null ) { String deps = calculateDependencies ( new MavenProject ( model ) ) ; if ( ! "" . equals ( deps ) ) { installAdditional ( artifactFile , "module.properties" , deps , false ) ; installAdditional ( artifactFile , ".module" , deps , true ) ; } } } catch ( Exception e ) { throw new MojoExecutionException ( e . getMessage ( ) , e ) ; } }
Does the actual installation of the jar file .