2 Replies Latest reply on Oct 17, 2010 10:33 PM by jessica leahy

    required artifact missing: jline:jline:jar:

    Tom Burger Newbie

      Hi all,


      I'm trying to build some OSGi tests that depend on org.apache.felix.karaf.tooling.testing but I've got a dependency problem.


      The artifact comes from repo.fusesource.com/maven2/ but it needs jline which can't been found.


      Is there a problem in the fusesource repository or do I do something wrong??


      Regards, Tom!




      1) jline:jline:jar:


        Try downloading the file manually from the project website.


        Then, install it using the command:

            mvn install:install-file -DgroupId=jline -DartifactId=jline -Dversion= -Dpackaging=jar -Dfile=/path/to/file


        Alternatively, if you host your own repository you can deploy the file there:

            mvn deploy:deploy-file -DgroupId=jline -DartifactId=jline -Dversion= -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


        Path to dependency:

              1) com.company.osgi:simpleservice:bundle:0.0.1-SNAPSHOT

              2) org.apache.felix.karaf.tooling:org.apache.felix.karaf.tooling.testing:jar:1.4.0-fuse-02-00

              3) org.apache.felix.karaf:apache-felix-karaf:xml:features:1.4.0-fuse-02-00

              4) jline:jline:jar: