Skip to content

Commit 8168a49

Browse files
author
Julien Ponge
committed
New task to check properties updates
1 parent 1def127 commit 8168a49

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

Rakefile

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Copyright 2012-2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon)
2-
#
2+
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
55
# You may obtain a copy of the License at
6-
#
6+
#
77
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
8+
#
99
# Unless required by applicable law or agreed to in writing, software
1010
# distributed under the License is distributed on an "AS IS" BASIS,
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -101,7 +101,7 @@ namespace :test do
101101
end
102102

103103
namespace :special do
104-
104+
105105
desc "Bootstrap Golo and the Maven plug-in for a clean-room environment"
106106
task :bootstrap do
107107
sh "mvn clean install -P !bootstrapped"
@@ -135,4 +135,16 @@ namespace :special do
135135
end
136136
end
137137

138+
desc "Check for property updates (dependencies + plugins)"
139+
task :check_property_updates do
140+
CMD = "mvn versions:display-property-updates"
141+
sh CMD
142+
Dir.chdir("golo-maven-plugin") do
143+
sh CMD
144+
end
145+
Dir.chdir("jmh-benchmarks") do
146+
sh CMD
147+
end
148+
end
149+
138150
end

0 commit comments

Comments
 (0)