pom.xml配置:


${project.artifactId}-${project.version}


org.apache.maven.plugins
maven-compiler-plugin
2.3.2

1.6
1.6
UTF-8



maven-clean-plugin
2.5


org.apache.maven.plugins
maven-surefire-plugin
2.7.2

true



maven-resources-plugin
2.4.3


org.apache.maven.plugins
maven-javadoc-plugin
2.5

UTF-8
UTF-8



org.apache.maven.plugins
maven-dependency-plugin
2.8





        nexus-releases
        Nexus Release Repository
        http://nexus-sh.shunwang.com/nexus/content/repositories/releases/
    

nexus-snapshots
Nexus Snapshot Repository
http://nexus-sh.shunwang.com/nexus/content/repositories/snapshots/



eclipse配置

maven上传本地仓库_第1张图片