very strange:

➜  keywi git:(feature/fix-jpa-setup) ✗ mvn help:evaluate 
-Dexpression=project.version -DforceStdout
[INFO] Scanning for projects...
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] keywi                                                              
[pom]
[INFO] keywi-api                                                          
[jar]
[INFO] keywi-core                                                         
[jar]
[INFO] keywi-server                                                       
[war]
[INFO] keywi-client                                                       
[jar]
[INFO]
[INFO] ----------------------< com.devonfw.keywi:keywi 
>-----------------------
[INFO] Building keywi 1.0.0-SNAPSHOT                                      
[1/5]
[INFO] --------------------------------[ pom 
]---------------------------------
[INFO]
[INFO] --- maven-help-plugin:2.2:evaluate (default-cli) @ keywi ---
[INFO] No artifact parameter specified, using 
'com.devonfw.keywi:keywi:pom:1.0.0-SNAPSHOT' as project.
[INFO]
1.0.0-SNAPSHOT
[INFO] 
------------------------------------------------------------------------
[INFO] Reactor Summary for keywi 1.0.0-SNAPSHOT:
[INFO]
[INFO] keywi .............................................. SUCCESS [  
0.190 s]
[INFO] keywi-api .......................................... SKIPPED
[INFO] keywi-core ......................................... SKIPPED
[INFO] keywi-server ....................................... SKIPPED
[INFO] keywi-client ....................................... SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time:  0.740 s
[INFO] Finished at: 2019-07-02T14:40:09+02:00
[INFO] 
------------------------------------------------------------------------
➜  keywi git:(feature/fix-jpa-setup) ✗ mvn help:evaluate 
-Dexpression=project.version -q -DforceStdout
➜  keywi git:(feature/fix-jpa-setup) ✗

So in this project -q also seems to suppress -DforceStdout
I have no clue what impact is causing this...
In some other projects it is working.
Anyhow does not seem to be a universal solution either...

Am Dienstag, 2. Juli 2019 14:39:35 UTC+2 schrieb Jörg Hohwiller:
>
> Hi,
>
> it is not even ci-friendly. I have the version configured statically in 
> that project:
> https://github.com/devonfw-forge/keywi/blob/master/pom.xml#L7
>
> Not a clue what is going wrong with help-plugin in this setup...
> Any hit to shed a light would be highly appreciated...
>
> Cheers
>   Jörg
>
> Am Dienstag, 2. Juli 2019 14:37:32 UTC+2 schrieb Jörg Hohwiller:
>>
>> Hi again,
>>
>> as always murphies law applies.
>> # git clone https://github.com/devonfw-forge/keywi.git
>> # mvn help:evaluate -Dexpression=project.version -q -DforceStdout
>> # mvn -q exec:exec -Dexec.executable=echo -Dexec.args='${project.version}'
>> 1.0.0-SNAPSHOT
>> 1.0.0-SNAPSHOT
>> 1.0.0-SNAPSHOT
>> 1.0.0-SNAPSHOT
>> 1.0.0-SNAPSHOT
>> #
>>
>> So do not ask me why but IMHO help:evaluate does not work together with 
>> ci-fiendly-maven (https://maven.apache.org/maven-ci-friendly.html).
>>
>> Is that a bug of maven-help-plugin?
>> Or is there anything I can do about it?
>>
>> Thanks
>>   Jörg
>>
>> Am Dienstag, 2. Juli 2019 14:18:18 UTC+2 schrieb Jörg Hohwiller:
>>>
>>> Hi Alexei,
>>>
>>> Awesome!
>>> This does not solve all my problems as I need to check for a convergent 
>>> version (excluding potential "dev-SNAPSHOT" version of parents that do not 
>>> get released) throughout the reactor of a multi-module project but you gave 
>>> me the right hint and missing link to get it done.
>>>
>>> Thank you so much
>>>   Jörg
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojohaus-dev+unsubscr...@googlegroups.com.
To post to this group, send email to mojohaus-dev@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mojohaus-dev/241b70f3-2087-40a9-b33e-c2b7747fab16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to