Package org.jetbrains.idea.maven.model

Examples of org.jetbrains.idea.maven.model.MavenId


    if (conf.isDoNotSynchronizeWithMaven()) {
      return;
    }

    // first off, we get the defaults
    MavenId id = mavenProject.getMavenId();
    conf.setBundleSymbolicName(id.getGroupId() + "." + id.getArtifactId());
    conf.setBundleVersion(ImporterUtil.cleanupVersion(id.getVersion()));

    MavenPlugin plugin = mavenProject.findPlugin(myPluginGroupID, myPluginArtifactID);
    if (plugin == null) {
      return;
    }
View Full Code Here


    String bundleSymbolicName = findConfigValue(mavenProject, "instructions." + Constants.BUNDLE_SYMBOLICNAME);
    if (!StringUtil.isEmpty(bundleSymbolicName)) {
      return bundleSymbolicName;
    }

    MavenId mavenId = mavenProject.getMavenId();
    String groupId = mavenId.getGroupId();
    String artifactId = mavenId.getArtifactId();
    if (groupId == null || artifactId == null) {
      return "";
    }

    // if artifactId is equal to last section of groupId then groupId is returned (org.apache.maven:maven -> org.apache.maven)
View Full Code Here

TOP

Related Classes of org.jetbrains.idea.maven.model.MavenId

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.