slawekjaranowski commented on code in PR #32: URL: https://github.com/apache/maven-install-plugin/pull/32#discussion_r917772366
########## src/main/java/org/apache/maven/plugins/install/InstallMojo.java: ########## @@ -153,31 +163,90 @@ private boolean allProjectsMarked() return true; } - private void installProject( MavenProject pir ) - throws MojoFailureException, MojoExecutionException + private void installProject( MavenProject project ) throws MojoExecutionException, MojoFailureException { try { - installer.install( session.getProjectBuildingRequest(), new ProjectInstallerRequest().setProject( pir ) ); + repositorySystem.install( session.getRepositorySession(), processProject( project ) ); } - catch ( IOException e ) + catch ( IllegalArgumentException e ) { - throw new MojoFailureException( "IOException", e ); + throw new MojoFailureException( e.getMessage(), e ); Review Comment: I've started discussion on dev list about it 😄 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org