void addDependencies()

in src/main/java/org/apache/sling/maven/projectsupport/LaunchpadPluginLifecycleParticipant.java [101:117]


        void addDependencies() throws Exception {
            readConfiguration();

            addBundleListDependencies();

            if (hasPreparePackageExecution()) {
                if (includeDefaultBundles && !isCurrentArtifact(project, defaultBundleList)) {
                    log.debug(String.format("adding default bundle list (%s) to dependencies of project %s", defaultBundleList, project));
                    project.getDependencies().addAll(defaultBundleList.toDependencyList(PROVIDED));
                }

                if (hasJarPackagingExecution()) {
                    log.debug(String.format("adding jar web support (%s) to dependencies of project %s", jarWebSupport, project));
                    project.getDependencies().addAll(jarWebSupport.toDependencyList(PROVIDED));
                }
            }
        }