Package org.jetbrains.jps.maven.model.impl

Examples of org.jetbrains.jps.maven.model.impl.MavenModuleResourceConfiguration


    if (projectConfig == null) return result;

    JpsJavaExtensionService.dependencies(module).recursively().productionOnly().processModules(new Consumer<JpsModule>() {
      @Override
      public void consume(JpsModule module) {
        MavenModuleResourceConfiguration moduleConfig = projectConfig.moduleConfigurations.get(module.getName());
        if (moduleConfig != null) {
          Map<String, String> properties = moduleConfig.properties;
          for (Map.Entry<String, String> entry : properties.entrySet()) {
            result.setProperty(entry.getKey(), entry.getValue());
          }
View Full Code Here


  @Nullable
  public static File getMavenProjectPath(@NotNull CompileContext context, @NotNull JpsModule module) {
    MavenProjectConfiguration projectConfig = getProjectConfig(context);
    if (projectConfig == null) return null;
    MavenModuleResourceConfiguration moduleConfig = projectConfig.moduleConfigurations.get(module.getName());
    return moduleConfig == null ? null : new File(FileUtil.toSystemDependentName(moduleConfig.directory), "pom.xml");
  }
View Full Code Here

TOP

Related Classes of org.jetbrains.jps.maven.model.impl.MavenModuleResourceConfiguration

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.