Package org.jetbrains.idea.maven.project

Examples of org.jetbrains.idea.maven.project.MavenProjectsManager


          if ("test".equals(scope)) {
            // don't test this for "test" dependencies...
            return;
          }
          // get the projects manager for this dependency
          MavenProjectsManager manager = MavenProjectsManager.getInstance(xmltag.getProject());
          // try to resolve the jar file
          File artifactFile = MavenArtifactUtil
            .getArtifactFile(manager.getLocalRepository(), dependency.getGroupId().getStringValue(),
                             dependency.getArtifactId().getStringValue(),
                             dependency.getVersion().getStringValue(), "jar");
          if (artifactFile.exists() && !CachingBundleInfoProvider.isBundle(artifactFile.getPath())) {
            problemsHolder.registerProblem(xmltag, "Dependency is not OSGi-ready", new FindOsgiCapableMavenDependencyQuickFix());
          }
View Full Code Here

TOP

Related Classes of org.jetbrains.idea.maven.project.MavenProjectsManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.