ceylon / ceylon-module-resolver

DEPRECATED
Apache License 2.0
23 stars 9 forks source link

Aether fails to download dependency when using command line compiler #52

Closed quintesse closed 12 years ago

quintesse commented 12 years ago

Running the following command in the root of the ceylon-compiler project:

ceylon compile --verbose=cmr --rep aether --src test/src com.redhat.ceylon.compiler.java.test.cmr.modules.aetherdefault

results in the following error:

test/src/com/redhat/ceylon/compiler/java/test/cmr/modules/aetherdefault/module.ceylon:24: error: cannot find module artifact slf4j-api-1.6.1.jar
    import 'org.apache.camel.camel-core' '2.9.2';
    ^
  due to connection error: String index out of range: -1
    - dependency tree: com.redhat.ceylon.compiler.java.test.cmr.modules.aetherdefault/6.6.6 -> org.apache.camel.camel-core/2.9.2 -> slf4j-api/1.6.1
quintesse commented 12 years ago

The weird thing is that the exact same JUnit test in the IDE works fine!

quintesse commented 12 years ago

This was due to un old version of cmr-maven.jar. Closing.