summaryrefslogtreecommitdiff
path: root/spec/integration/java/maven_spec.rb
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-16 16:30:41 -0600
committermo khan <mo.khan@gmail.com>2020-03-18 10:29:39 -0600
commite073b2a28460fa5fbdd0851940b3ebccdf64ce38 (patch)
tree090b75de229892ebb1c498488e70b93b53357a9e /spec/integration/java/maven_spec.rb
parent13d1dfceaf2f97561accc26c44add8d3785d2fab (diff)
Install maven-license-plugin at build time
Diffstat (limited to 'spec/integration/java/maven_spec.rb')
-rw-r--r--spec/integration/java/maven_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/java/maven_spec.rb b/spec/integration/java/maven_spec.rb
index 2f3432e..ad083bb 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') do
-<<~XML
+ <<~XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.gitlab.secure</groupId>
@@ -23,7 +23,7 @@ RSpec.describe "maven" do
</dependency>
</dependencies>
</project>
-XML
+ XML
end
report = runner.scan(env: { 'CI_PROJECT_ID' => '17523603' })