You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Babak Vahdat (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/01/27 12:21:40 UTC

[jira] [Issue Comment Edited] (CAMEL-4929) Add documentation for camel-twitter

    [ https://issues.apache.org/jira/browse/CAMEL-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194595#comment-13194595 ] 

Babak Vahdat edited comment on CAMEL-4929 at 1/27/12 11:20 AM:
---------------------------------------------------------------

Just spotted something by the provided documentation:

Camel users should better not be instructed to use whatever Twitter4J version they like to use but should stick *exactly* to the version camel-twitter4j depends on, with which it has been unit-tested as well, otherwise they will get odd NoSuchMethodError or the likes at runtime and what not.

As the  twitter4j 2.2.5 dependency is already given *transitively* through camel-twitter itself, *only* declaring a camel-twitter dependency would do the trick as it's already the case by all other camel components as well:

{code}
D:\Data\eclipse-workspace\camel\components\camel-twitter>mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Twitter 2.10-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ camel-twitter ---
[INFO] org.apache.camel:camel-twitter:bundle:2.10-SNAPSHOT
[INFO] +- org.apache.camel:camel-core:jar:2.10-SNAPSHOT:compile
[INFO] |  \- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- org.twitter4j:twitter4j-core:jar:2.2.5:compile
[INFO] +- org.twitter4j:twitter4j-stream:jar:2.2.5:compile
[INFO] +- org.apache.camel:camel-test:jar:2.10-SNAPSHOT:test
[INFO] +- junit:junit:jar:4.8.1:test
[INFO] \- org.slf4j:slf4j-log4j12:jar:1.6.1:test
[INFO]    \- log4j:log4j:jar:1.2.16:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.359s
[INFO] Finished at: Fri Jan 27 11:22:05 CET 2012
[INFO] Final Memory: 9M/494M
[INFO] ------------------------------------------------------------------------
{code}
                
      was (Author: bvahdat):
    Just spotted something by the provided documentation:

Camel users should better not be instructed to use whatever Twitter4J version they like to use but should stick *exactly* to the version camel-twitter4j depends on, with which it has been unit-tested as well, otherwise they will get odd NoSuchMethodError or the likes at runtime and what not.

As the  twitter4j 2.2.5 dependency is already given *transitively* through camel-twitter itself, *only* declaring a camel-twitter dependency would do the trick as it's already the case by all other camel components as well:

D:\Data\eclipse-workspace\camel\components\camel-twitter>mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Twitter 2.10-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ camel-twitter ---
[INFO] org.apache.camel:camel-twitter:bundle:2.10-SNAPSHOT
[INFO] +- org.apache.camel:camel-core:jar:2.10-SNAPSHOT:compile
[INFO] |  \- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- org.twitter4j:twitter4j-core:jar:2.2.5:compile
[INFO] +- org.twitter4j:twitter4j-stream:jar:2.2.5:compile
[INFO] +- org.apache.camel:camel-test:jar:2.10-SNAPSHOT:test
[INFO] +- junit:junit:jar:4.8.1:test
[INFO] \- org.slf4j:slf4j-log4j12:jar:1.6.1:test
[INFO]    \- log4j:log4j:jar:1.2.16:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.359s
[INFO] Finished at: Fri Jan 27 11:22:05 CET 2012
[INFO] Final Memory: 9M/494M
[INFO] ------------------------------------------------------------------------
                  
> Add documentation for camel-twitter
> -----------------------------------
>
>                 Key: CAMEL-4929
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4929
>             Project: Camel
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Claus Ibsen
>             Fix For: 2.10.0
>
>         Attachments: camel-twitter.txt
>
>
> We need documentation for this new component at
> http://camel.apache.org/component-list

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira