File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,17 @@ endmacro()
45
45
# override a user setting.
46
46
macro (_rosjava_env)
47
47
set (ROS_MAVEN_DEPLOYMENT_REPOSITORY $ENV{ROS_MAVEN_DEPLOYMENT_REPOSITORY})
48
+ set (ROS_MAVEN_REPOSITORY $ENV{ROS_MAVEN_REPOSITORY})
48
49
if (NOT ROS_MAVEN_DEPLOYMENT_REPOSITORY)
49
50
set (ROSJAVA_ENV " ROS_MAVEN_DEPLOYMENT_REPOSITORY=${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_MAVEN_DESTINATION}" )
50
51
else ()
51
52
set (ROSJAVA_ENV " ROS_MAVEN_DEPLOYMENT_REPOSITORY=${ROS_MAVEN_DEPLOYMENT_REPOSITORY}" )
52
53
endif ()
54
+ if (NOT ROS_MAVEN_REPOSITORY)
55
+ list (APPEND ROSJAVA_ENV " ROS_MAVEN_REPOSITORY=https://github.com/rosjava/rosjava_mvn_repo/raw/master" )
56
+ else ()
57
+ set (ROSJAVA_ENV " ROS_MAVEN_REPOSITORY=${ROS_MAVEN_REPOSITORY}" )
58
+ endif ()
53
59
# The build farm won't let you access /root/.gradle, so redirect it somewhere practical here.
54
60
if (DEFINED CATKIN_BUILD_BINARY_PACKAGE)
55
61
list (APPEND ROSJAVA_ENV " GRADLE_USER_HOME=${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_GRADLE_DESTINATION}" )
You can’t perform that action at this time.
0 commit comments