maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Young <jason.yo...@procentive.com>
Subject Re: Maven Eclipse error
Date Fri, 02 Aug 2019 20:12:39 GMT
AFAIK there is no fix to prevent eclipse from failing to download files
sometimes--seems to do this regularly with big download batches.

>From the command line, `cd <wherever_pom.xml_is> && mvn
dependency:go-offline`

Right-click your project in eclipse -> Maven -> Update
Update it


On Fri, Aug 2, 2019 at 3:01 PM Lakshmikanth Manubolu(UST,IN)
<Lakshmikanth.Manubolu@ust-global.com.invalid> wrote:

> Hi Team,
>
>
>
> I’m trying to create a maven java project and while configuring the
> pom.xml file I could able to see the below errors:
>
> Please try to help me to resolve the issues.
>
>
>
> Error1:
>
> Failure to transfer
> org.apache.maven.plugins:maven-resources-plugin:pom:2.6 from
> https://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not
>
>  be reattempted until the update interval of central has elapsed or
> updates are forced. Original error: Could not transfer artifact
> org.apache.maven.plugins:maven-resources-
>
> plugin:pom:2.6 from/to central (https://repo.maven.apache.org/maven2):
> connect timed out
>
>
>
> Error2:
>
> Multiple annotations found at this line:
>
>                 - Plugin execution not covered by lifecycle configuration:
> org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (execution:
> default-testCompile, phase: test-
>
>                 compile)
>
>                 - Plugin execution not covered by lifecycle configuration:
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (execution:
> default-compile, phase: compile)
>
>                 - CoreException: Could not calculate build plan: Plugin
> org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its
> dependencies could not be resolved: Failed to
>
>                  read artifact descriptor for
> org.apache.maven.plugins:maven-compiler-plugin:jar:3.1:
> ArtifactResolutionException: Failure to transfer
> org.apache.maven.plugins:maven-compiler-
>
>                 plugin:pom:3.1 from https://repo.maven.apache.org/maven2
> was cached in the local repository, resolution will not be reattempted
> until the update interval of central has elapsed
>
>                  or updates are forced. Original error: Could not transfer
> artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from/to
> central (https://repo.maven.apache.org/
>
>                 maven2): connect timed out
>
>
>
> Attached is the pom.xml file.
>
>
>
> Thanks,
>
> Lakshmikanth Manubolu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message