Hi,

i have a question concerning the parameters which given to instances of the invoker-plugin on command during execution of the integration test:

Based on the files i've taken a look into it looks like there is a profile activated or added on default so far as i understand this is based on the new feature to inherit the information from the users
settings.xml ..
which means in other words any profile which is activated in my settings.xml will automatically transferred to the called maven-invoker...and of course will be used during the integration tests and influence them instead of the given which i have configured.

Furthermore it seemed to be that the profile i've activated on command line via:

mvn -Prun-its clean verify

is also put into the configuration for the calling process...(invoker-settings....xml)...

So the questions: Is this documented anywhere (may be i oversight it)...I have found the issue http://jira.codehaus.org/browse/MINVOKER-97
which is related to that....

I came across to that cause i looked into the build.log outputs and found WARNINGS about profiles which couldn't be activated which hadn't be the case with maven-invoker-plugin 1.5 ....
The following excerpt will show this (maven-invoker-plugin:1.6):

[INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "maven-invoker" could not be activated because it does not exist. [WARNING] The requested profile "run-its" could not be activated because it does not exist. Running post-build script: /Users/km/workspace/appassembler/appassembler-maven-plugin/target/it/assembleDirectoryTest/verify.groovy


The "maven-invoker" profiles is coming from my own .m2/settings.xml file...where as the run-its is coming from command line...

The problem i see currently is that i defined to use a different settings.xml file in my pom.xml configuration:

   <settingsFile>src/it/settings.xml</settingsFile>

So why are these profiles been given or activated in contradiction to the given settingsFile configuration...


Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to