English 中文(简体)
• 如何使用pom、xml创建立耳文件
原标题:how to create a ear file with datetime and version using pom.xml
  • 时间:2012-05-01 02:17:17
  •  标签:
  • maven
  • build

我有一个ven子项目和相应的om。 这只是一份耳文件,用我的假名制作。 但是,它想要用项目名称——最新时间,使用pom.xml存档。 请让我举一个静态的例子,其中将产生立案卷,列出建筑群的当前日期和时间,其中含有主要成分或某种关联。

预付款。

尼罗什

问题回答

If you are using svn for your source code management, Codehaus buildnumber-maven-plugin may be used to put the svn revision number into the manifest of any artifact you build, including snapshots. The plugin has a goal to format timestamps too, if you need it.





相关问题
Elegant way building url request with parameters

There must me a more elegant way to build a URL with parameters in .NET then for example Response.Write("<a href=HeadOfMarketView.aspx"+Session["HOM"] != null ? Session["HOM"]+">Head of Market&...

buildforge problem

when i tried to run the job i am getting the error saying that No server could be found matching all conditions please any one help me on this

您能否防止MSBuild.exe经营活动?

我用文字建造一些项目,偶尔利用习俗制造事件,给建筑系统造成了很大困难。 如果有可能,我想援引MSBuild.exe。

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Keyboard shortcut to build only startup project?

I ve tried to find a keyboard shortcut to build only the startup project In VS2008. I only found a configurable shortcut to build the project which is currently viewed, which isn t as good. Any ...

Dependency bundle (jar-files/sources/API docs) in Eclipse

I m developing various in-house extensions for JIRA, the issue tracker we use. So far I worked with Netbeans and everything worked like a charm. However, now I need to switch to Eclipse and I m ...

How to link to a static library in C?

I use code::blocks to compile my static library. The output result is a libstatic.a file. Now, how do I link to my library to use functions that were compiled? (I tried to use #include "libstatic.a"...

热门标签