Author: rombert Date: Thu Oct 2 19:37:03 2014 New Revision: 1629054 URL: http://svn.apache.org/r1629054 Log: SLING-3998 - Unable to download archetypes which are not locally cached
Don't pass a meaninfgul progress monitor to createArchetypeProjects() Modified: sling/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/ui/wizards/np/AbstractNewMavenBasedSlingApplicationWizard.java Modified: sling/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/ui/wizards/np/AbstractNewMavenBasedSlingApplicationWizard.java URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/ui/wizards/np/AbstractNewMavenBasedSlingApplicationWizard.java?rev=1629054&r1=1629053&r2=1629054&view=diff ============================================================================== --- sling/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/ui/wizards/np/AbstractNewMavenBasedSlingApplicationWizard.java (original) +++ sling/trunk/tooling/ide/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/ui/wizards/np/AbstractNewMavenBasedSlingApplicationWizard.java Thu Oct 2 19:37:03 2014 @@ -31,6 +31,7 @@ import org.eclipse.core.resources.Resour import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.NullProgressMonitor; import org.eclipse.m2e.core.MavenPlugin; import org.eclipse.m2e.core.project.ProjectImportConfiguration; import org.eclipse.wst.server.core.IServer; @@ -89,7 +90,8 @@ public abstract class AbstractNewMavenBa advance(monitor, 1); List<IProject> projects = MavenPlugin.getProjectConfigurationManager().createArchetypeProjects(location, - archetype, groupId, artifactId, version, javaPackage, properties, configuration, monitor); + archetype, groupId, artifactId, version, javaPackage, properties, configuration, + new NullProgressMonitor()); monitor.worked(3);