Get Started with Datatable 4j

Get Started with Datatable 4j

SpecialNeedsSpecialNeeds Posts: 1Questions: 0Answers: 0
edited October 2012 in General
Hello I'm a 'rookie in datatables', I'm trying to start a project with DataTables4j, then in: http://datatables4j.github.com/docs/main.install.html
say that i need to add in the pom the repositories, then the instructions said add the following dependencies:
[code]

org.datatables4j
datatables4j-core
0.4.0-SNAPSHOT

[/code]
And now come the problem, in the console appears:

10/4/12 1:56:02 PM GMT-05:00: [WARN] Failure to transfer org.datatables4j:datatables4j-core:0.4.0-SNAPSHOT/maven-metadata.xml from http://repository-datatables4j.forge.cloudbees.com/snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of datatables4j-snapshot-repo has elapsed or updates are forced. Original error: Could not transfer metadata org.datatables4j:datatables4j-core:0.4.0-SNAPSHOT/maven-metadata.xml from/to datatables4j-snapshot-repo (http://repository-datatables4j.forge.cloudbees.com/snapshot/): Access denied to http://repository-datatables4j.forge.cloudbees.com/snapshot/org/datatables4j/datatables4j-core/0.4.0-SNAPSHOT/maven-metadata.xml. Error code 401, Unauthorized

That is a problem with the repository, and no a problem with the maven configuration?, i'm new in maven too.
I tried to add dependency to junit with maven and works fine.

Replies

  • ThibThib Posts: 51Questions: 2Answers: 0
    Hi,

    Did you try with the latest version (0.5.0-SNAPSHOT) ?
  • ThibThib Posts: 51Questions: 2Answers: 0
    Shame on me, I was wrong in the datatables4j artifact id.
    Use datatables4j-core-impl instead of datatables4j-core :

    [code]

    org.datatables4j
    datatables4j-core-impl
    0.5.0-SNAPSHOT

    [/code]
This discussion has been closed.