---
title: "用Maven打印出配置变量"
author: "tobato"
date: "2015-08-02T21:52:21Z"
tags: ["maven"]
categories: ["编程语言"]
slug: "maven"
draft: false
lastmod: "2015-08-02T21:52:21Z"
id: 2232322
url: "https://tobato.iteye.com/blog/2232322"
---

配置pom文件时候有时候需要调试变量可以使用maven-antrun-plugin来做这事 将下面的代码放到当中 \[code="xml"] org.apache.maven.plugins maven-antrun-plugin 1.5 Maybe this will work? \[/code] 控制台运行mvn antrun:run 即可调试变量.