Maven把自己的包部署到远程仓库

1,配置项目的POM文件

    <dependencyManagement>
</dependencies>
</dependency> ...... </dependency>
</dependencies>
</dependencyManagement>
<repository>
<id>nexus-snapshots</id>
<url>http://192.168.1.232:8080/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>nexus-releases</id>
<url>http://192.168.1.232:8080/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

2,运行maven命令

mvn clean deploy
上一篇:WPF 路由事件总结


下一篇:.NET: WPF 路由事件