Re: M4 and maven repos

32 views
Skip to first unread message

KnisterPeter

unread,
Oct 31, 2012, 3:57:59 PM10/31/12
to ceylon...@googlegroups.com
Yeah,

found the solution. For every one interested:

import 'org.apache.camel.camel-core' '2.9.4';

This does the trick. :)

Am Mittwoch, 31. Oktober 2012 20:53:44 UTC+1 schrieb KnisterPeter:
Hi,

as stated in the M4 release notes there is support for maven repos for dependency resolving.
I could not figure out how to declare a dependency on a module which is hosted in maven-central (e.g. groupId=org.apache.camel artifactId=camel-core version=2.9.4).
I've tried to add it to the module.ceylon as import like 'import org.apache.camel '2.9.4'' and 'import org.apache.camel.camel-core '2.9.4'', that does not work.

Can anyone give me a hint?

Regards
Markus

Tako Schotanus

unread,
Oct 31, 2012, 3:59:48 PM10/31/12
to ceylon...@googlegroups.com
Hi Markus,

the second option will work okay if you add single quotes around the name.

After that don't forget to add:  --rep aether  as an extra option on the command line.
(Or by clicking the "Add Aether Repository" button in the Ceylon properties page of the project in Eclipse)

Hope this helps!

-Tako



-Tako


On Wed, Oct 31, 2012 at 8:53 PM, KnisterPeter <kniste...@shadowrun-clan.de> wrote:
Hi,

as stated in the M4 release notes there is support for maven repos for dependency resolving.
I could not figure out how to declare a dependency on a module which is hosted in maven-central (e.g. groupId=org.apache.camel artifactId=camel-core version=2.9.4).
I've tried to add it to the module.ceylon as import like 'import org.apache.camel '2.9.4'' and 'import org.apache.camel.camel-core '2.9.4'', that does not work.

Can anyone give me a hint?

Regards
Markus

--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ceylon-users/-/L_6lRkHyXi8J.
To post to this group, send email to ceylon...@googlegroups.com.
To unsubscribe from this group, send email to ceylon-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ceylon-users?hl=en.

Tako Schotanus

unread,
Oct 31, 2012, 4:00:09 PM10/31/12
to ceylon...@googlegroups.com
Too late :)


-Tako


--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ceylon-users/-/ZJEfsL1Dp5gJ.

KnisterPeter

unread,
Oct 31, 2012, 4:05:08 PM10/31/12
to ceylon...@googlegroups.com, ta...@codejive.org
Thanks anyway :)
Reply all
Reply to author
Forward
0 new messages