Move GroovyImporter back to org.jetbrains.idea.maven.importing , bacause it used from some plugins.

This commit is contained in:
Sergey Evdokimov
2014-02-21 14:02:59 +04:00
parent 69b7118cc5
commit 6df7c8db7f
4 changed files with 10 additions and 4 deletions
@@ -1,11 +1,8 @@
package org.jetbrains.idea.maven.plugins.groovy;
package org.jetbrains.idea.maven.importing;
import com.intellij.openapi.module.Module;
import com.intellij.util.PairConsumer;
import org.jdom.Element;
import org.jetbrains.idea.maven.importing.MavenImporter;
import org.jetbrains.idea.maven.importing.MavenModifiableModelsProvider;
import org.jetbrains.idea.maven.importing.MavenRootModelAdapter;
import org.jetbrains.idea.maven.project.MavenProject;
import org.jetbrains.idea.maven.project.MavenProjectChanges;
import org.jetbrains.idea.maven.project.MavenProjectsProcessorTask;
@@ -17,6 +14,9 @@ import org.jetbrains.jps.model.module.JpsModuleSourceRootType;
import java.util.List;
import java.util.Map;
/**
* This class can not be moved to org.jetbrains.idea.maven.plugins.groovy package because it's used from 'Eclipse Groovy Compiler Plugin'
*/
public abstract class GroovyImporter extends MavenImporter {
public GroovyImporter(String pluginGroupID, String pluginArtifactID) {
super(pluginGroupID, pluginArtifactID);
@@ -15,6 +15,8 @@
*/
package org.jetbrains.idea.maven.plugins.groovy;
import org.jetbrains.idea.maven.importing.GroovyImporter;
public class GroovyGmavenImporter extends GroovyImporter {
public GroovyGmavenImporter() {
super("org.codehaus.gmaven", "groovy-maven-plugin");
@@ -15,6 +15,8 @@
*/
package org.jetbrains.idea.maven.plugins.groovy;
import org.jetbrains.idea.maven.importing.GroovyImporter;
public class Groovy_1_0_Importer extends GroovyImporter {
public Groovy_1_0_Importer() {
super("org.codehaus.groovy.maven", "gmaven-plugin");
@@ -15,6 +15,8 @@
*/
package org.jetbrains.idea.maven.plugins.groovy;
import org.jetbrains.idea.maven.importing.GroovyImporter;
public class Groovy_1_1_plus_Importer extends GroovyImporter {
public Groovy_1_1_plus_Importer() {
super("org.codehaus.gmaven", "gmaven-plugin");