Maven常用内置变量
编程技术  /  houtizong 发布于 3年前   99
${basedir
} represents the directory containing pom.xml${version
} equivalent to ${project.version
} (deprecated: ${pom.version
}) All elements in the pom.xml, can be referenced with the project.
prefix. This list is just an example of some commonly used elements. (deprecated: {pom.} prefix)
${project.build.directory
} results in the path to your "target" directory, this is the same as ${pom.project.build.directory
}${project.build.
outputD
irectory
}
results in the path to your "target/classes" directory${project.name
}refers to the name of the project (deprecated: ${pom.name
} ). ${project.version
} refers to the version of the project (deprecated: or ${pom.version
}). ${project.build.finalName
} refers to the final name of the file created when the built project is packagedSimilarly, values in the user's settings.xml can be referenced using property names with settings.
prefix.
${settings.localRepository
} refers to the path of the user's local repositoryEnvironment variables can be referenced using the env
prefix
${env.M2_HOME
} returns the Maven2 installation path.${java.home
} specifies the path to the current JRE_HOME environment use with relative paths to get for example:<jvm>${java.home}../bin/java.exe</jvm>
请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!
技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成
网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];
文章归档
文章标签
友情链接