Hi Pedro
See this section of the user guide on how to set up your settings.xml:
Hi,
@Kevin. I got the same error
@Manik. I hadn't any settings.xml file. So, I've created it and I tried to
compile, but without success =( still the same error. The settings.xml is in attachment.
Do I forget something?
I've cloned ispn repository again and try to compile it, but without success again.
In the worst case, I will install the artifact manually.
Thanks,
Pedro
On 1/11/12 2:12 PM, Manik Surtani wrote:
>
> Works fine here as well. Do you have the
JBoss.org repository in your
~/.m2/settings.xml ?
>
> Cheers
> Manik
>
> On 11 Jan 2012, at 13:52, Kevin Pollet wrote:
>
>> Hi,
>>
>> This is bit strange because the CI job compile with no errors.
>>
>> After looking at your trace it seems that Maven tries to download the artifact on
central. AFAIK, seam-bom is not present on central but it is on JBoss repository
(
https://repository.jboss.org/nexus/index.html#nexus-search;gav~org.jboss....)
>>
>> It seems that something wrong happened with repositories.
>> Have you try to remove references to solder-impl and seam-bom in your local
repository and start a new compilation?
>>
>> --Kevin
>>
>> On 11 January 2012 13:58, Manik Surtani <manik(a)jboss.org> wrote:
>> This is on master?
>>
>> On 10 Jan 2012, at 19:25, Pedro Ruivo wrote:
>>
>> > Hi guys,
>> >
>> > I've got an error when compiling ispn. The maven trace is below.
>> >
>> > Thanks.
>> >
>> > cheers,
>> > Pedro
>> >
>> > -----
>> >
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Building Infinispan CDI support
>> > [INFO] task-segment: [clean, install]
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] [clean:clean {execution: default-clean}]
>> > Downloading:
>> >
http://repo1.maven.org/maven2/org/jboss/seam/seam-bom/3.1.0.CR1/seam-bom-...
>> > [INFO] Unable to find resource
'org.jboss.seam:seam-bom:pom:3.1.0.CR1'
>> > in repository central (
http://repo1.maven.org/maven2)
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Error building POM (may not be this project's POM).
>> >
>> >
>> > Project ID: org.jboss.seam:seam-bom
>> >
>> > Reason: POM 'org.jboss.seam:seam-bom' not found in repository:
Unable to
>> > download the artifact from any repository
>> >
>> > org.jboss.seam:seam-bom:pom:3.1.0.CR1
>> >
>> > from the specified remote repositories:
>> > central (
http://repo1.maven.org/maven2)
>> >
>> > for project org.jboss.seam:seam-bom
>> >
>> >
>> > [INFO]
>> > ------------------------------------------------------------------------
>> > [INFO] Trace
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
>> > dependency information: Unable to read the metadata file for artifact
>> > 'org.jboss.solder:solder-impl:jar': POM
'org.jboss.seam:seam-bom' not
>> > found in repository: Unable to download the artifact from any repository
>> >
>> > org.jboss.seam:seam-bom:pom:3.1.0.CR1
>> >
>> > from the specified remote repositories:
>> > central (
http://repo1.maven.org/maven2)
>> >
>> > for project org.jboss.seam:seam-bom
>> > org.jboss.solder:solder-impl:jar:3.1.0.CR1
>> >
>> > from the specified remote repositories:
>> > central (
http://repo1.maven.org/maven2),
>> > jboss-public-repository
>> > (
https://repository.jboss.org/nexus/content/groups/public),
>> > jboss-deprecated-repository
>> > (
https://repository.jboss.org/nexus/content/repositories/deprecated/)
>> >
>> > Path to dependency:
>> > 1) org.infinispan:infinispan-cdi:bundle:5.1.0-SNAPSHOT
>> >
>> >
>> > at
>> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
>> > at
>> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>> > at
>> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>> > at
>> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>> > at
>> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>> > at
>> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>> > at
>> > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>> > 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:597)
>> > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> > at
>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> > at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> > Caused by:
>> > org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable
>> > to get dependency information: Unable to read the metadata file for
>> > artifact 'org.jboss.solder:solder-impl:jar': POM
>> > 'org.jboss.seam:seam-bom' not found in repository: Unable to
download
>> > the artifact from any repository
>> >
>> > org.jboss.seam:seam-bom:pom:3.1.0.CR1
>> >
>> > from the specified remote repositories:
>> > central (
http://repo1.maven.org/maven2)
>> >
>> > for project org.jboss.seam:seam-bom
>> > org.jboss.solder:solder-impl:jar:3.1.0.CR1
>> >
>> > from the specified remote repositories:
>> > central (
http://repo1.maven.org/maven2),
>> > jboss-public-repository
>> > (
https://repository.jboss.org/nexus/content/groups/public),
>> > jboss-deprecated-repository
>> > (
https://repository.jboss.org/nexus/content/repositories/deprecated/)
>> >
>> > Path to dependency:
>> > 1) org.infinispan:infinispan-cdi:bundle:5.1.0-SNAPSHOT
>> >
>> >
>> > at
>> >
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:430)
>> > at
>> >
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74)
>> > at
>> >
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316)
>> > at
>> >
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
>> > at
>> >
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
>> > at
>> >
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
>> > at
>> >
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>> > ... 17 more
>> > Caused by:
>> > org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
>> > Unable to read the metadata file for artifact
>> > 'org.jboss.solder:solder-impl:jar': POM
'org.jboss.seam:seam-bom' not
>> > found in repository: Unable to download the artifact from any repository
>> >
>> > org.jboss.seam:seam-bom:pom:3.1.0.CR1
>> >
>> > from the specified remote repositories:
>> > central (
http://repo1.maven.org/maven2)
>> >
>> > for project org.jboss.seam:seam-bom
>> > at
>> >
org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:200)
>> > at
>> >
org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedArtifact(MavenMetadataSource.java:94)
>> > at
>> >
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:387)
>> > ... 23 more
>> > Caused by: org.apache.maven.project.ProjectBuildingException: POM
>> > 'org.jboss.seam:seam-bom' not found in repository: Unable to
download
>> > the artifact from any repository
>> >
>> > org.jboss.seam:seam-bom:pom:3.1.0.CR1
>> >
>> > from the specified remote repositories:
>> > central (
http://repo1.maven.org/maven2)
>> >
>> > for project org.jboss.seam:seam-bom
>> > at
>> >
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
>> > at
>> >
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251)
>> > at
>> >
org.apache.maven.project.DefaultMavenProjectBuilder.mergeManagedDependencies(DefaultMavenProjectBuilder.java:1456)
>> > at
>> >
org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:999)
>> > at
>> >
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:880)
>> > at
>> >
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
>> > at
>> >
org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:163)
>> > ... 25 more
>> > Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
>> > Unable to download the artifact from any repository
>> >
>> > org.jboss.seam:seam-bom:pom:3.1.0.CR1
>> >
>> > from the specified remote repositories:
>> > central (
http://repo1.maven.org/maven2)
>> >
>> >
>> > at
>> >
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
>> > at
>> >
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
>> > at
>> >
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
>> > ... 31 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:404)
>> > at
>> >
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
>> > ... 33 more
>> >
>> >
>> > On 1/10/12 10:45 AM, Manik Surtani wrote:
>> >> Nice one, thanks!
>> >>
>> >> On 10 Jan 2012, at 09:12, Galder Zamarreño wrote:
>> >>
>> >>> Infinispan 5.1.0.CR3 was released last night, read all about it in:
http://goo.gl/NpBhR
>> >>>
>> >>> Cheers,
>> >>> --
>> >>> Galder Zamarreño
>> >>> Sr. Software Engineer
>> >>> Infinispan, JBoss Cache
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> infinispan-dev mailing list
>> >>> infinispan-dev(a)lists.jboss.org
>> >>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>> >> --
>> >> Manik Surtani
>> >> manik(a)jboss.org
>> >>
twitter.com/maniksurtani
>> >>
>> >> Lead, Infinispan
>> >>
http://www.infinispan.org
>> >>
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> infinispan-dev mailing list
>> >> infinispan-dev(a)lists.jboss.org
>> >>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>> > _______________________________________________
>> > infinispan-dev mailing list
>> > infinispan-dev(a)lists.jboss.org
>> >
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>> --
>> Manik Surtani
>> manik(a)jboss.org
>>
twitter.com/maniksurtani
>>
>> Lead, Infinispan
>>
http://www.infinispan.org
>>
>>
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
> --
> Manik Surtani
> manik(a)jboss.org
>
twitter.com/maniksurtani
>
> Lead, Infinispan
>
http://www.infinispan.org
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
<settings.xml>_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev