Maven POM基本配置文件

来源:互联网 发布:手机总是弹出淘宝页面 编辑:程序博客网 时间:2024/06/12 23:26
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"><!-- 版本4.0.0 --><modelVersion>4.0.0</modelVersion><!-- 必须    组织名称:建议为网站域名的倒序   --><groupId>online.52panda.www</groupId><!-- 必须    项目名称  --><artifactId>com.panda.dbtoexcelutils</artifactId><!-- 必须    版本号 --><version>0.0.1-SNAPSHOT</version><!-- 打包方式  jar对应java项目  war对应 --><packaging>jar</packaging><!-- 名称:该值可省略 --><name>com.panda.dbtoexcelutils</name><url>http://maven.apache.org</url><!-- 设置工程编码 --><properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding></properties><!-- 设置工程依赖关系--><dependencies><!-- 依赖设置 --><!-- junit测试工具 --><dependency><!-- 依赖组织名称  --><groupId>junit</groupId><!-- 依赖项目名称 --><artifactId>junit</artifactId><!-- 依赖版本号 --><version>3.8.1</version><!-- 依赖范围此处表示test包下依赖该设置 --><scope>test</scope><!--|scope参数用于确定依赖范围:|1.compile,对于主代码,测试代码,对运行classPath均有效|2.test,只对测试代码有效|3.provided,对于主代码和测试代码有效,对运行classPath  无  效.|4.runtime,只对运行classPath有效.  --></dependency><!-- Excel工具 --><dependency><groupId>jexcelapi</groupId><artifactId>jxl</artifactId><version>2.6</version></dependency><!-- 日志管理工具 --><dependency><groupId>org.apache.logging.log4j</groupId><artifactId>log4j-api-scala_2.10</artifactId><version>2.7</version></dependency></dependencies></project>


0 0
原创粉丝点击