|  | <!DOCTYPE import-control PUBLIC | 
|  | "-//Puppy Crawl//DTD Import Control 1.1//EN" | 
|  | "http://www.puppycrawl.com/dtds/import_control_1_1.dtd"> | 
|  | <!-- | 
|  | Licensed to the Apache Software Foundation (ASF) under one or more | 
|  | contributor license agreements.  See the NOTICE file distributed with | 
|  | this work for additional information regarding copyright ownership. | 
|  | The ASF licenses this file to You under the Apache License, Version 2.0 | 
|  | (the "License"); you may not use this file except in compliance with | 
|  | the License.  You may obtain a copy of the License at | 
|  |  | 
|  | http://www.apache.org/licenses/LICENSE-2.0 | 
|  |  | 
|  | Unless required by applicable law or agreed to in writing, software | 
|  | distributed under the License is distributed on an "AS IS" BASIS, | 
|  | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | See the License for the specific language governing permissions and | 
|  | limitations under the License. | 
|  | --> | 
|  |  | 
|  | <import-control pkg="org.apache.kafka"> | 
|  |  | 
|  | <!-- THINK HARD ABOUT THE LAYERING OF THE PROJECT BEFORE CHANGING THIS FILE --> | 
|  |  | 
|  | <!-- common library dependencies --> | 
|  | <allow pkg="java" /> | 
|  | <allow pkg="org.junit" /> | 
|  | <allow pkg="org.mockito" /> | 
|  | <!-- no one depends on the server --> | 
|  | <disallow pkg="kafka" /> | 
|  |  | 
|  | <!-- anyone can use public classes --> | 
|  | <subpackage name="coordinator"> | 
|  | <subpackage name="transaction"> | 
|  | <allow pkg="org.apache.kafka.server.common" /> | 
|  | <allow pkg="org.apache.kafka.clients" /> | 
|  | <allow pkg="org.apache.kafka.coordinator.common.runtime" /> | 
|  | <allow pkg="org.apache.kafka.coordinator.transaction" /> | 
|  | <allow pkg="org.apache.kafka.common" /> | 
|  | <allow pkg="org.apache.kafka.common.test.api" /> | 
|  | <allow pkg="org.apache.kafka.test" /> | 
|  | <allow pkg="org.slf4j" /> | 
|  | <allow pkg="kafka.coordinator.transaction" /> | 
|  | <subpackage name="generated"> | 
|  | <allow pkg="org.apache.kafka.common.protocol" /> | 
|  | <allow pkg="org.apache.kafka.common.errors" /> | 
|  | <allow pkg="org.apache.kafka.coordinator.transaction.generated" /> | 
|  | <allow pkg="org.apache.kafka.common.utils" /> | 
|  | <allow pkg="com.fasterxml.jackson" /> | 
|  | </subpackage> | 
|  | </subpackage> | 
|  | </subpackage> | 
|  | </import-control> |