Skip to content

Commit 43d6d43

Browse files
committed
Remove redundant dependencies
These dependencies are included as transitive dependencies through other SPDX library modules. Removing these from the POM file to avoid possible version conflicts. This commit also includes a fix to a minor typo.
1 parent a5a2d5c commit 43d6d43

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -163,18 +163,6 @@
163163
<version>2.0.17</version>
164164
<optional>true</optional>
165165
</dependency>
166-
<dependency>
167-
<groupId>org.apache.poi</groupId>
168-
<artifactId>poi</artifactId>
169-
<version>5.4.1</version>
170-
<scope>compile</scope>
171-
</dependency>
172-
<dependency>
173-
<groupId>org.apache.jena</groupId>
174-
<artifactId>jena-core</artifactId>
175-
<version>5.4.0</version>
176-
<scope>compile</scope>
177-
</dependency>
178166
</dependencies>
179167
<build>
180168
<resources>

src/main/java/org/spdx/tools/SpdxToolsHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ public static org.spdx.library.model.v3_0_1.core.SpdxDocument getDocFromStore(IS
389389
throw new InvalidSPDXAnalysisException("No SPDX version 3 documents in model store");
390390
}
391391
if (docs.size() > 1) {
392-
throw new InvalidSPDXAnalysisException("Multiple SPDX version 3 documents in modelSTore. There can only be one SPDX document.");
392+
throw new InvalidSPDXAnalysisException("Multiple SPDX version 3 documents in modelStore. There can only be one SPDX document.");
393393
}
394394
return docs.get(0);
395395
}

0 commit comments

Comments
 (0)