Hi Ulli,

My specific use case was to read property sonar.branch from the "resolved" pom 
of the project being built. But in fact we decided to go another route so no 
more need for this feature for now.

Anyway thanks for your support,

Julien





>________________________________
> De : Ulli Hafner <[email protected]>
>À : [email protected] 
>Envoyé le : Lundi 8 avril 2013 17h04
>Objet : Re: Expose pom properties in MavenModule
> 
>
>Hi Julien,
>
>
>feel free to add a new pull request. 
>
>
>Aren't properties already expanded automatically in the methods of MojoInfo? 
>E.g. mojo.getConfigurationValue("outputFile", String.class); 
>should return the expanded result. Or do you need to read individual 
>properties in your plug-in?
>
>
>Ulli
>
>
>Am 08.04.2013 um 15:59 schrieb Julien HENRY <[email protected]>:
>
>Hi,
>>
>>Except if I missed something there is no way for a plugin to "read" resolved 
>>Maven properties using Jenkins API. Jenkins parse poms and expose some 
>>informations like groupId, artifactId, version, packaging, ... but not 
>>properties.
>>
>>I would like to contribute a patch to add properties attribute to the 
>>MavenModule class.
>>
>>WDYT?
>>
>>Julien
>>
>>
>>
>>
>>
-- 
>>You received this message because you are subscribed to the Google Groups 
>>"Jenkins Developers" group.
>>To unsubscribe from this group and stop receiving emails from it, send an 
>>email to [email protected].
>>For more options, visit https://groups.google.com/groups/opt_out.
>> 
>> 
>>
>
-- 
>You received this message because you are subscribed to the Google Groups 
>"Jenkins Developers" group.
>To unsubscribe from this group and stop receiving emails from it, send an 
>email to [email protected].
>For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to