Issue 155 in utgb: utgb-shell installation fails when mvn help:evaluate -Dexpression=project.version is executed for the first time

0 views
Skip to first unread message

ut...@googlecode.com

unread,
Mar 23, 2011, 5:08:26 AM3/23/11
to utgb-...@googlegroups.com
Status: Accepted
Owner: taroleo
Labels: Type-Defect Priority-Medium Milestone-utgb-toolkit-1.5
AffectedVersion-1.5.2 OpSys-All Component-utgb-shell FixedVersion-NA

New issue 155 by taroleo: utgb-shell installation fails when mvn
help:evaluate -Dexpression=project.version is executed for the first time
http://code.google.com/p/utgb/issues/detail?id=155

What steps will reproduce the problem?
1. Clean your M2 repository
2. In the utgb folder, make install

What is the expected output? What do you see instead?
utgb-shell's installation fails.

Please use labels and text to provide additional information.

To extract version information in pom.xml,
VERSION:=$(shell mvn help:evaluate -Dexpression=project.version | grep
-v '\[' )
is used. However, the output can vary when Maven needs to download
dependency libraries.

For example, the following warning message is problematic.
Warning: JAVA_HOME environment variable is not set.

ut...@googlecode.com

unread,
Mar 23, 2011, 10:38:45 AM3/23/11
to utgb-...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 155 by taroleo: utgb-shell installation fails when mvn

help:evaluate -Dexpression=project.version is executed for the first time
http://code.google.com/p/utgb/issues/detail?id=155

This issue was closed by revision 7ee1c19fe169.

Reply all
Reply to author
Forward
0 new messages