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 <[email protected]> wrote:
> Thanks, that helps
>
> -D
>
>
> On Mon, Feb 24, 2014 at 12:23 PM, Karl Heinz Marbaise
> <[email protected]>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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]