lib/maven/tools/dsl/profile_gemspec.rb in maven-tools-1.0.13 vs lib/maven/tools/dsl/profile_gemspec.rb in maven-tools-1.1.0
- old
+ new
@@ -27,9 +27,13 @@
include GemSupport
def process( spec, name, options )
setup_gem_support( @parent, options, spec )
+ profile = @parent.current
+ @parent.instance_variable_set :@current, @parent.model
+ @parent.extension! 'org.torquebox.mojo:mavengem-wagon:${mavengem.wagon.version}'
+ @parent.instance_variable_set :@current, profile
super
end
end
end
end