Good day to you, Emmanuel,

I have just replied to your jira issue ( see [1] )

Cheers,
Franz

[1] http://jira.codehaus.org/browse/MNG-2658


Emmanuel Hugonnet-2 wrote:
> 
> zze-Amicom HUGONNET E ext RD-TECH a écrit :
>> zze-Amicom HUGONNET E ext RD-TECH a écrit :
>>> Hi,
>>> I have a quite simple plugin working correctly but when I try to test 
>>> it the expression is not evaluated. I am using :
>>> <dependency>
>>>      <groupId>org.apache.maven.shared</groupId>
>>>      <artifactId>maven-plugin-testing-harness</artifactId>
>>>      <version>1.0-beta-1</version>
>>> </dependency>
>>> On the doc on codehaus they talk about 
>>> "StubResolverExpressionEvaluator" which seems to help resolve this 
>>> issue but I don't see any example. When I look at the unit test for 
>>> expression evaluation on svn I don't see anything specific to be done.
>>> What am I missing ?
>>> Thanks,
>>> Emmanuel
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> While debugging my simple test I have watched that my expression while 
>> seen as an expression to be evaluated is not in fact evaluated in the 
>> "ResolverExpressionEvaluatorStub". Why can't we use Maven's own 
>> expression resolver ? I would like to try this but I have yet to find 
>> where the expression are resolved in Maven. I am looking for any insight.
>> Emmanuel
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> I have posted a JIRA MNG-2658 <http://jira.codehaus.org/browse/MNG-2658> 
> to cover this problem and I have attached a patch to access 
> System.properties during the evaluation. I am not satisfied with my 
> solution and I would like to provide a better 'mavenlike' support using 
> maven own classes to interpret the test pom.xml. Can somebody points the 
> profile evaluator in Maven so that expressions are evaluated using 
> profiles also.
> Thanks
> Emmanuel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Plugin-Test-Harness-and-expression-tf2628152s177.html#a7394438
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to