Skip to content

Commit a58b76f

Browse files
Remove profile inclusion
1 parent dbcaf77 commit a58b76f

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

lib/java_buildpack/framework/java_cf_env.rb

-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ def compile
4141
# (see JavaBuildpack::Component::BaseComponent#release)
4242
def release
4343
@droplet.additional_libraries << (@droplet.sandbox + jar_name)
44-
@droplet.environment_variables.add_environment_variable \
45-
'SPRING_PROFILES_INCLUDE', '$SPRING_PROFILES_INCLUDE,cloud'
4644
end
4745

4846
protected

spec/java_buildpack/framework/java_cfenv_spec.rb

-8
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,4 @@
7373
expect(additional_libraries).to include(sandbox + "java_cf_env-#{version}.jar")
7474
end
7575

76-
it 'activates the cloud profile',
77-
app_fixture: 'framework_java_cf_boot_3',
78-
cache_fixture: 'stub-java-cfenv.jar' do
79-
80-
component.release
81-
82-
expect(environment_variables).to include('SPRING_PROFILES_INCLUDE=$SPRING_PROFILES_INCLUDE,cloud')
83-
end
8476
end

0 commit comments

Comments
 (0)