Facebook-oss-pom是一个基于POM的部署在oss.sonatype.org上的facebook上开源项目。它可以任随意调用任何基于POM的新项目而不用进行二次编辑修改。FacebookOSSPOM平台致力于通过Maven的中央资源库来建立不同的组件和开发包。
示例:
<?xml version="1.0" encoding="UTF-8"?><project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.facebook</groupId> <artifactId>facebook-oss-pom</artifactId> <version> ... current version ...</version> </parent> <groupId> ... group id of the new project ... </groupId> <artifactId> ... artifact id of the new project ... </artifactId> <version> ... version of the new project ... </version> <packaging> ... jar|pom ... </packaging> <description> ... description of the new project ... </description> <name>${project.artifactId}</name> <inceptionYear>2013</inceptionYear> <scm> <connection> ... scm read only connection ... </connection> <developerConnection>... scm read write connection ... </developerConnection> <url> ... project url ... </url> </scm> <distributionManagement/> <developers/> <organization/> ...</project>
评论