Projects
Mega:24.03:SP1:Everything
maven-eclipse-plugin
_service:tar_scm:maven-eclipse-plugin-exception...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:maven-eclipse-plugin-exception.patch of Package maven-eclipse-plugin
diff --git a/src/main/java/org/apache/maven/plugin/ide/AbstractIdeSupportMojo.java b/src/main/java/org/apache/maven/plugin/ide/AbstractIdeSupportMojo.java index fcab66c..87782cb 100644 --- a/src/main/java/org/apache/maven/plugin/ide/AbstractIdeSupportMojo.java +++ b/src/main/java/org/apache/maven/plugin/ide/AbstractIdeSupportMojo.java @@ -545,9 +545,6 @@ public abstract class AbstractIdeSupportMojo ArtifactResolutionResult artifactResolutionResult = null; - try - { - List listeners = new ArrayList(); if ( logger.isDebugEnabled() ) @@ -561,21 +558,6 @@ public abstract class AbstractIdeSupportMojo artifactCollector.collect( getProjectArtifacts(), project.getArtifact(), managedVersions, localRepo, project.getRemoteArtifactRepositories(), getArtifactMetadataSource(), null, listeners ); - } - catch ( ArtifactResolutionException e ) - { - getLog().debug( e.getMessage(), e ); - getLog().error( - Messages.getString( "AbstractIdeSupportMojo.artifactresolution", new Object[] { //$NON-NLS-1$ - e.getGroupId(), e.getArtifactId(), e.getVersion(), - e.getMessage() } ) ); - - // if we are here artifactResolutionResult is null, create a project without dependencies but - // don't fail - // (this could be a reactor projects, we don't want to fail everything) - // Causes MECLIPSE-185. Not sure if it should be handled this way?? - return new IdeDependency[0]; - } // keep track of added reactor projects in order to avoid duplicates Set emittedReactorProjectId = new HashSet();
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2