Sorted.
On Sep 19, 2012, at 12:21 PM, Galder Zamarreño <[email protected]> wrote:
> Ah, seems like the issue is that when running from the IDE, the pom is not
> loaded correctly and hence the version cannot be resolved:
>
> .loadMetadataFromPom("pom.xml")
> .artifact("org.jboss.solder:solder-impl")
>
> Something more friendly with both command line and IDE runs would be:
>
> val ideFriendlyPath = "x/y/z/pom.xml"
> // Figure out an IDE and Maven friendly path:
> val path =
> if (new File(ideFriendlyPath).exists()) ideFriendlyPath else "pom.xml"
>
> I'll try something like this.
>
> On Sep 19, 2012, at 12:13 PM, Galder Zamarreño <[email protected]> wrote:
>
>> Hi,
>>
>> I'm trying to run
>> org.infinispan.cdi.test.cachemanager.embedded.external.ExternalCacheContainerTest
>> from the IDE and it says that the coordinates of
>> "org.jboss.solder:solder-impl," are not passed properly:
>>
>> Caused by: java.lang.IllegalArgumentException: Bad artifact coordinates,
>> expected format is
>> <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>
>>
>> Any idea? See https://gist.github.com/3748837
>>
>> Cheers,
>> --
>> Galder Zamarreño
>> [email protected]
>> twitter.com/galderz
>>
>> Project Lead, Escalante
>> http://escalante.io
>>
>> Engineer, Infinispan
>> http://infinispan.org
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> [email protected]
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
> --
> Galder Zamarreño
> [email protected]
> twitter.com/galderz
>
> Project Lead, Escalante
> http://escalante.io
>
> Engineer, Infinispan
> http://infinispan.org
>
>
> _______________________________________________
> infinispan-dev mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Galder Zamarreño
[email protected]
twitter.com/galderz
Project Lead, Escalante
http://escalante.io
Engineer, Infinispan
http://infinispan.org
_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev