manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1161) Atlassian Confluence Wiki Repository and Authority Connector
Date Fri, 14 Aug 2015 08:54:46 GMT


Karl Wright commented on CONNECTORS-1161:

[~adperezmorales]: I notice there are some scary deprecation warnings when I build the connector:

    [javac] C:\wip\mcf\dev_1x\dist\connector-build.xml:555: warning: 'includeantruntime' was
not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 21 source files to C:\wip\mcf\dev_1x\connectors\confluence\build\connector\classes
    [javac] C:\wip\mcf\dev_1x\connectors\confluence\connector\src\main\java\org\apache\manifoldcf\crawler\connectors\confluence\client\
warning: [deprecation] ALLOW_ALL_HOSTNAME_VERIFIER in SSLConnectionSocketFactory has been
    [javac]           SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
    [javac]                                     ^
    [javac] C:\wip\mcf\dev_1x\connectors\confluence\connector\src\main\java\org\
: warning: [deprecation] SSLConnectionSocketFactory(SSLSocketFactory,X509HostnameVerifier)
in SSLConnectionSocketFactory has been deprecated
    [javac]         SSLConnectionSocketFactory myFactory = new SSLConnectionSocketFactory(new
    [javac]                                                ^
    [javac] C:\wip\mcf\dev_1x\connectors\confluence\connector\src\main\java\org\
: warning: [deprecation] setStaleConnectionCheckEnabled(boolean) in Builder has been deprecated
    [javac]           .setStaleConnectionCheckEnabled(true)
    [javac]           ^
    [javac] 3 warnings

It looks like you are not using the HttpClient "builder" paradigm correctly.  Those deprecation
warnings are serious because in HttpClient that may mean these methods are completely ignored.

There are more modern connector implementations around that use HttpClient correctly, e.g.
the Jira connector and the SharePoint connector.  Have a look!

> Atlassian Confluence Wiki Repository and Authority Connector
> ------------------------------------------------------------
>                 Key: CONNECTORS-1161
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Wish
>          Components: Wiki connector
>    Affects Versions: ManifoldCF 1.8.1, ManifoldCF 2.0.1
>            Reporter: Rafa Haro
>            Assignee: Rafa Haro
>              Labels: gsoc, gsoc2015
>             Fix For: ManifoldCF 1.10, ManifoldCF 2.2
>         Attachments: AuthorityServerConfiguration.png, RepositoryServerConfiguration.png,
RepositorySpecificationPagesTab.png, RepositorySpecificationSpacesTab.png, confluence_build.patch,
> Confluence is a team collaboration software developed and maintained by Atlassian. Also
frequently referred as an Enterprise wiki, Confluence has positioned as one of the most used
technologies for sharing knowledge, host documentation and manage content within enterprise.
> Confluence can't be crawled using the standard wikis API.Otherwise, Confluence expose
it owns API that can consulted here:
> About permissions, although Confluence can be configured for using external systems like
LDAP, it also provides an API for checking users privileges on content:
> More Info:

This message was sent by Atlassian JIRA

View raw message