maven-install-pluginにスキップ構成がある場合、これは次のようなプロファイルで可能になるはずです (おそらく、システム プロパティを変更して、m2 リポジトリでホーム ディレクトリを取得する必要があります)。
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>foo.bar</groupId>
<artifactId>lorem-ipsum</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<skip.install>false</skip.install>
</properties>
<profiles>
<profile>
<id>already-installed</id>
<activation>
<file>
<exists>${env.USERPROFILE}/.m2/repository/foo/bar/${project.artifactId}/${project.version}/${project.artifactId}-${project.version}.${project.packaging}</exists>
</file>
</activation>
<properties>
<skip.install>true</skip.install>
</properties>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<skip>${skip.install}</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>
残念ながら、maven-install-pluginにはスキップ構成の可能性がありません。これには改善要求MINSTALL-73があります。今後の Maven リリースにパッチを含めるには、このリクエストに賛成票を投じる必要があるかもしれません。
したがって、ショーン・パトリック・フロイドがすでに述べたように、「組み込み」の方法はありません。