Skip to content

Commit

Permalink
Remove code that does not make sense
Browse files Browse the repository at this point in the history
Signed-off-by: Björn Kornefalk <bjorn.kornefalk@gi-de.com>
  • Loading branch information
kornefalk committed Nov 20, 2024
1 parent 2ace2eb commit 0bc12ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions src/main/java/org/cyclonedx/maven/BaseCycloneDxMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
package org.cyclonedx.maven;

import java.util.Properties;
import org.apache.commons.io.FileUtils;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.model.Developer;
Expand Down Expand Up @@ -48,7 +47,6 @@
import org.cyclonedx.model.OrganizationalContact;
import org.cyclonedx.model.OrganizationalEntity;
import org.cyclonedx.model.Property;
import org.cyclonedx.model.organization.PostalAddress;
import org.cyclonedx.parsers.JsonParser;
import org.cyclonedx.parsers.Parser;
import org.cyclonedx.parsers.XmlParser;
Expand All @@ -63,7 +61,6 @@
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.UUID;

Expand Down
13 changes: 0 additions & 13 deletions src/test/java/org/cyclonedx/maven/BaseCycloneDxMojoTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@ protected String extractComponentsAndDependencies(Set<String> topLevelComponents
}
}

@Test
@DisplayName("Verify that the default configuration does not have manufacturer information ")
void createManufacturer() {
BaseCycloneDxMojoImpl mojo = new BaseCycloneDxMojoImpl();
OrganizationalEntity manufacturer = mojo.createManufacturer(null, null);
assertNotNull(manufacturer);
assertNull(manufacturer.getAddress());
assertNull(manufacturer.getContacts());
assertNull(manufacturer.getName());
assertNull(manufacturer.getUrls());
assertNull(manufacturer.getBomRef());
}

@Test
@DisplayName("")
void createListOfAuthors() {
Expand Down

0 comments on commit 0bc12ac

Please sign in to comment.