-
依赖jar
- dollar
- fastjson
- joda-time
- commons-lang3
- commons-httpclient
- junit
-
发布jar
mvn clean
mvn build deploy -
其他项目pom.xml引用
<repositories>
<repository>
<id>fastjava-mvn-repo</id>
<url>https://raw.github.com/zhanghanlin/fastjava/mvn-repo/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
<dependency>
<groupId>com</groupId>
<artifactId>fastjava</artifactId>
<version>1.0</version>
</dependency>
-
使用github作为maven仓库