There's an example somewhere that John made which records whatever you
want and attaches that information as part of the deploy.
On 27-Mar-09, at 7:04 AM, Paul Gier wrote:
It seems reasonable to me to have a property that contains this
information, so I created MNG-4112. The property could probably
also be used to resolve MSHARED-38. Of course the negative part is
that the property wouldn't work with earlier versions of maven, but
maybe it can start with 3.0.
Brett Porter wrote:
I don't think so, but you can get your hands on the
RuntimeInformation.ROLE component. Bear in mind it will almost
certainly cause your plugin to get broken in Maven 3.0 though.
- Brett
On 26/03/2009, at 6:20 AM, Paul Gier wrote:
That's true, I can get the OS and Java version from standard
properties, and then put them in the Manifest or somewhere else.
Is there a property that contains the current running version of
maven?
Brian E. Fox wrote:
It seems like if there were some properties available, or known
to the
resources plugin, then you could filter these values in anywhere
you
wanted them.
-----Original Message-----
From: Paul Gier [mailto:[email protected]] Sent: Wednesday, March
25, 2009 11:54 AM
To: Maven Developers List
Subject: Recording build environment
I'd like to be able to record the build environment (maven version,
java, OS, etc) for each build that is run in a standard way. I
originally created
a jira issue in the release plugin (MRELEASE-352) to record
information just
for releases. But now I'm thinking that this could be useful for
any build.
I'd just like to get a few other opinions about this before
working on
it. Is there any existing plugin that might be a good fit for
this type of functionality? Or should it be a new plugin? Or
would this type of
thing be better handled by something like Hudson?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Brett Porter
[email protected]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]