[ 
https://issues.apache.org/jira/browse/LUCENE-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660810#action_12660810
 ] 

Gunnar Wagenknecht commented on LUCENE-1511:
--------------------------------------------

Thanks for the mailing list remainder. The package private model does not work 
anymore. I didn't consider this because we have the notion of "internal" 
packages. Those packages are only exported to friends and contain 
public/protected classes/methods. The general rule is that their API is 
internal and clients may break if they depend on them even if the version only 
goes from 3.0.0 to 3.0.1. In some environments the dependency is strictly 
enforced and bundles won't resolve if they use internal API.

> Improve Java packages (remove shared/split packages, refactore naming scheme)
> -----------------------------------------------------------------------------
>
>                 Key: LUCENE-1511
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1511
>             Project: Lucene - Java
>          Issue Type: Wish
>          Components: contrib/*, Search
>    Affects Versions: 2.4
>            Reporter: Gunnar Wagenknecht
>
> I recently prepared Lucene OSGi bundles for the Eclipse Orbit repository. 
> During the preparation I discovered that some packages (eg. 
> org.apache.lucene.search) are shared between different JARs, i.e. the package 
> is in Lucene Core and in a contrib lib. While this is perfectly fine, it just 
> makes OSGi packaging more complex and complexity also has a higher potential 
> for errors. 
> Thus, my wish for a Lucene 3.0 would be to rename some packages. For example, 
> all contribs/extensions could be moved into their own package namespace.
> (Apologize if this has been reported elsewhere. I did a search in JIRA but 
> did not find a similar issue.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to