Package org.jetbrains.idea.maven.dom.model

Examples of org.jetbrains.idea.maven.dom.model.MavenDomRepository


            // now we have a list of Repos we still don't know.
            // add these to the repo list
            for (MavenRepository unknownRepository : unknownRepositories) {
              // fix up     IDEA-24324, we use the ID provided by MavenRepository instead of using its URL
              // which breaks maven on windows systems.
              MavenDomRepository repo = model.getRepositories().addRepository();
              repo.getId().setStringValue(unknownRepository.getRepositoryId());
              repo.getUrl().setStringValue(unknownRepository.getRepositoryUrl());
              repo.getName().setStringValue(unknownRepository.getRepositoryDescription());
            }
          }
        }.execute();
        FileDocumentManager docManager = FileDocumentManager.getInstance();
        com.intellij.openapi.editor.Document doc = docManager.getDocument(psiFile.getVirtualFile());
View Full Code Here

TOP

Related Classes of org.jetbrains.idea.maven.dom.model.MavenDomRepository

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.