Duplicate package org.apache.ftpserver.ftplet in ftpserver-core
---------------------------------------------------------------

                 Key: FTPSERVER-425
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-425
             Project: FtpServer
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.6, 1.0.5
            Reporter: Joao Assuncao
            Priority: Minor


The package org.apache.ftpserver.ftplet is copied from ftplet-api into 
ftpserver when the bundle is assembled. 
When I disabled the bundle plugin in the pom for the core the package mentioned 
isn't copied. 
This page might provide some insight: 
http://felix.apache.org/site/apache-felix-bundle-plugin-faq.html#ApacheFelixBundlePluginFAQ-WhydoIseemoreclassesinmybundleafterupgradingtomavenbundleplugin2.0.0%253F
Removing the line "org.apache.ftpserver.*" in <private-package> seems to solve 
the isssue

The duplicate package is an issue when running inside an OSGI framework. In 
Apache Felix 3.2.2 I get a ClassCastException when I try to install a FtpLet


--
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

        

Reply via email to