maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason van Zyl <jvan...@sonatype.com>
Subject Re: Recording build environment
Date Fri, 27 Mar 2009 15:29:52 GMT
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:pgier@redhat.com] 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: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>> -- 
>> Brett Porter
>> brett@apache.org
>> http://blogs.exist.com/bporter/
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message