summaryrefslogtreecommitdiff
path: root/spec/integration/java/maven_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/java/maven_spec.rb')
-rw-r--r--spec/integration/java/maven_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/integration/java/maven_spec.rb b/spec/integration/java/maven_spec.rb
index ad4cf5e..176cb6e 100644
--- a/spec/integration/java/maven_spec.rb
+++ b/spec/integration/java/maven_spec.rb
@@ -6,7 +6,7 @@ RSpec.describe "maven" do
describe "When the maven dependencies come from a custom public maven repository" do
it 'is able to detect some of the licenses' do
- runner.add_file('pom.xml', fixture_file_content('pom-public-gitlab-repository.xml'))
+ runner.add_file('pom.xml', fixture_file_content('java/pom-public-gitlab-repository.xml'))
report = runner.scan(env: {
'CI_PROJECT_ID' => '17523603'
@@ -17,8 +17,8 @@ RSpec.describe "maven" do
end
it 'downloads packages from by using a custom `settings.xml`' do
- runner.add_file('pom.xml', fixture_file_content('pom-public-gitlab-repository.xml'))
- runner.add_file('my_settings.xml', fixture_file_content('custom-maven-settings.xml'))
+ runner.add_file('pom.xml', fixture_file_content('java/pom-public-gitlab-repository.xml'))
+ runner.add_file('my_settings.xml', fixture_file_content('java/custom-maven-settings.xml'))
report = runner.scan(env: {
'CI_PROJECT_ID' => 'invalid',
@@ -50,7 +50,7 @@ RSpec.describe "maven" do
describe "When scanning a project with multiple modules" do
before do
- runner.mount(dir: fixture_file('maven-multimodule'))
+ runner.mount(dir: fixture_file('java/maven-multimodule'))
end
it 'detects dependences from each module' do