Hello,

I now tried running `env revision=123456 mvn321 release:prepare`, but
this does not work as release:prepare does not seem to use the
information from the environment, I get:
--- snip ---
There are still some remaining snapshot dependencies.
: Do you want to resolve them now? (yes/no) no: : no
--- snap ---
and release:prepare about:
--- snip ---
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-release-plugin:2.4.2:prepare
(default-cli) on project tljunit-parent: Can't release project due to
non released dependencies :
[ERROR] 
net.oneandone.testlinkjunit:tljunit-parent:pom:3.0.3-${revision}-SNAPSHOT
[ERROR] in project 'tljunit surefire RunListeners'
(net.oneandone.testlinkjunit:tljunit-surefire:jar:3.0.3-123456-SNAPSHOT)
 [ERROR] -> [Help 1]
--- snap ---
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/


On Mon, Feb 24, 2014 at 9:31 PM, Dan Tran <dant...@gmail.com> wrote:
> Thanks, that helps
>
> -D
>
>
> On Mon, Feb 24, 2014 at 12:23 PM, Karl Heinz Marbaise 
> <khmarba...@gmx.de>wrote:
>
>> Hi Dan,
>>
>> now you can write on your GAV definition a thing like:
>>
>> <groupId>...</groupId>
>> <artifactId>...</artifactId>
>> <version>1.0-${revision}-SNAPSHOT</version>
>>
>> and via command line you can now do the following:
>>
>> mvn -Drevision=3456 clean test
>>
>> If you done that via Maven 3.1.1 you get a warning with Maven 3.2.1 you
>> don't.
>>
>> Kind regard
>> Karl-Heinz Marbaise
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>

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

Reply via email to