我有一个存储工件的工件,这是一个给定的 pom:
<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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.test.test2.test3</groupId>
    <artifactId>web-gen</artifactId>
    <version>v2.0-SNAPSHOT</version>
    <packaging>jar</packaging>
    <name>Test dynamic web layer</name>
</project>
如何将给定的工件安装到我的本地存储库?
mvn install、mvn install:file 等都帮不上忙。对此非常沮丧...