com.enofex.naikan.maven.provider.bom.TechnologiesProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of naikan-maven-plugin Show documentation
Show all versions of naikan-maven-plugin Show documentation
The Naikan Model Plugin for Naikan the software inventory management tool for dev teams driven by our CI/CD pipeline.
The newest version!
package com.enofex.naikan.maven.provider.bom;
import com.enofex.naikan.model.Bom;
import com.enofex.naikan.model.Technologies;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.project.MavenProject;
public final class TechnologiesProvider extends BomProvider {
@Override
public Technologies provide(MavenSession session, MavenProject project, Bom existingBom) {
return existingBom != null && existingBom.technologies() != null
? existingBom.technologies() : Technologies.empty();
}
@Override
public boolean support(Class> clazz) {
return Technologies.class.isAssignableFrom(clazz);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy