openmg maven repository
- release
mvn -DaltDeploymentRepository=release-repo::default::file:../mvn-repository/releases clean deploy
- snapshot
mvn -DaltDeploymentRepository=snapshot-repo::default::file:../mvn-repository/snapshots clean deploy
or add the code in the pom.xml
<distributionManagement>
<repository>
<id>openmg-release</id>
<url>https://github.com/openmg/mvn-repository/raw/master/releases</url>
</repository>
<snapshotRepository>
<id>openmg-snapshot</id>
<url>https://github.com/openmg/mvn-repository/raw/master/snapshots</url>
</snapshotRepository>
</distributionManagement>
add the code in the pom.xml
<repositories>
<repository>
<id>openmg-release</id>
<url>https://github.com/openmg/mvn-repository/raw/master/releases</url>
</repository>
<repository>
<id>openmg-snapshot</id>
<url>https://github.com/openmg/mvn-repository/raw/master/snapshots</url>
</repository>
</repositories>