读书人

替 pom.xml 添加组织法律和开发人员

发布时间: 2012-09-18 16:21:42 作者: rapoo

为 pom.xml 添加组织,法律和开发人员信息

转载请声明出处:http://blog.csdn.net/luhuajcdd/article/details/7966489


为 pom.xml 添加组织,法律和开发人员信息:


Xml代码

  1. <?xml version="1.0"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  4. <modelVersion>4.0.0</modelVersion>
  5. .....
  6. <licenses>
  7. <license>
  8. <name>Apache 2</name>
  9. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  10. <distribution>repo</distribution>
  11. <comments>A business-friendly OSS license</comments>
  12. </license>
  13. </licenses>
  14. <organization>
  15. <name></name>
  16. <url></url>
  17. </organization>
  18. <developers>
  19. <developer>
  20. <id>daniel</id>
  21. <name>luhua</name>
  22. <email>luhuazhuce@163.com</email>
  23. <url>http://blog.csdn.net/luhuajcdd/article/list</url>
  24. <organization></organization>
  25. <organizationUrl></organizationUrl>
  26. <roles>
  27. <role>developer</role>
  28. </roles>
  29. <timezone>-6</timezone>
  30. </developer>
  31. </developers>
  32. <properties>
  33. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  34. </properties>
  35. <dependencies>
  36. <dependency>
  37. <groupId>junit</groupId>
  38. <artifactId>junit</artifactId>
  39. <version>3.8.1</version>
  40. <scope>test</scope>
  41. </dependency>
  42. </dependencies>
  43. </project>
“为 pom.xml 添加组织,法律和开发人员信息” 中的省略号是为了使代码清

单变得简短。


读书人网 >XML SOAP

热点推荐