HI Devs,
I get the following error repeatedly, but the build is proceeding without
problems.
<dump>
[WARNING] Attempting to build MavenProject instance for Artifact (groovy:
groovy-all-1.0-jsr:06) of type: jar; constructing POM artifact instead.
Downloading:
http://maven.xwiki.org/externals/groovy/groovy-all-1.0-jsr/06/groovy-all-1.…
Downloading:
http://maven.xwiki.org/releases/groovy/groovy-all-1.0-jsr/06/groovy-all-1.0…
Downloading:
http://maven2.mirrors.skynet.be/pub/maven2/groovy/groovy-all-1.0-jsr/06/gro…
org.apache.maven.project.ProjectBuildingException: POM 'groovy:
groovy-all-1.0-jsr' not found in repository: Unable to download the artifact
from any repository
groovy:groovy-all-1.0-jsr:pom:06
from the specified remote repositories:
xwiki-releases (
http://maven.xwiki.org/releases),
central (
http://repo1.maven.org/maven2),
xwiki-snapshots (
http://maven.xwiki.org/snapshots),
xwiki-externals (
http://maven.xwiki.org/externals)
for project groovy:groovy-all-1.0-jsr
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:526)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository_aroundBody2
(DefaultMavenProjectBuilder.java:208)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository_aroundBody3$advice
(DefaultMavenProjectBuilder.java:206)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java:1)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository_aroundBody0
(DefaultMavenProjectBuilder.java:199)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository_aroundBody1$advice
(DefaultMavenProjectBuilder.java:206)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java:1)
at
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.getProjects
(ProcessRemoteResourcesMojo.java:387)
at
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.configureVelocityContext
(ProcessRemoteResourcesMojo.java:547)
at
org.apache.maven.plugin.resources.remote.ProcessRemoteResourcesMojo.execute(
ProcessRemoteResourcesMojo.java:316)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:549)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:544)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:149)
at org.apache.maven.DefaultMaven.execute_aroundBody0(
DefaultMaven.java:223)
at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(
DefaultMaven.java:304)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody4(
MavenEmbedder.java:880)
at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody5$advice(
MavenEmbedder.java:304)
at org.apache.maven.embedder.MavenEmbedder.execute(
MavenEmbedder.java:1)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(
Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(
Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(
Launcher.java:408)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(
Launcher.java:351)
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository
groovy:groovy-all-1.0-jsr:pom:06
from the specified remote repositories:
xwiki-releases (
http://maven.xwiki.org/releases),
central (
http://repo1.maven.org/maven2),
xwiki-snapshots (
http://maven.xwiki.org/snapshots),
xwiki-externals (
http://maven.xwiki.org/externals)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:254)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:83)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:488)
... 29 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
download the artifact from any repository
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(DefaultWagonManager.java:352)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:239)
... 31 more
</dump>
How should i fix this ?
Thanks.
- Asiri