Class MavenProjectDependenciesConfiguration


  • public class MavenProjectDependenciesConfiguration
    extends Object
    • Field Detail

      • includeTransitiveDependencies

        public final boolean includeTransitiveDependencies
        true if should include transitive dependencies, false to include only direct dependencies
      • includeOptionalDependencies

        public final boolean includeOptionalDependencies
        true if should include optional dependencies, false to include only non-optional dependencies
      • includeSelfArtifact

        public final boolean includeSelfArtifact
        true if the the artifact of this project should be included
      • includedScopes

        public final List<String> includedScopes
        list of scopes to include while loading dependencies, if null, then include all scopes
      • excludedScopes

        public final List<String> excludedScopes
        list of scopes to exclude while loading dependencies, if null, then include all scopes
      • includedArtifacts

        public final String includedArtifacts
        pattern to include dependencies by their artificatId, if null then include all artifacts
      • includedGroups

        public final String includedGroups
        pattern to include dependencies by their groupId, if null then include all dependencies
      • excludedGroups

        public final String excludedGroups
        pattern to exclude dependencies by their groupId, if null then the include all dependencies
      • excludedArtifacts

        public final String excludedArtifacts
        pattern to exclude dependencies by their groupId, if null then include all dependencies
      • verbose

        public final boolean verbose
        if true verbose mode is on, if false off
    • Constructor Detail

      • MavenProjectDependenciesConfiguration

        public MavenProjectDependenciesConfiguration​(boolean includeTransitiveDependencies,
                                                     boolean includeOptionalDependencies,
                                                     boolean includeSelfArtifact,
                                                     List<String> includedScopes,
                                                     List<String> excludedScopes,
                                                     String includedArtifacts,
                                                     String includedGroups,
                                                     String excludedGroups,
                                                     String excludedArtifacts,
                                                     boolean verbose)