Skip to content

Commit

Permalink
[Improve][dist]add shade check rule
Browse files Browse the repository at this point in the history
  • Loading branch information
hawk9821 committed Nov 27, 2024
1 parent 520d8f6 commit f2f9e07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,9 @@
<excludes>
<exclude>**/*IT.java</exclude>
</excludes>
<includes>
<include>**/*.java</include>
</includes>
<classpathDependencyExcludes>
<!--
The logger provider & bridges declared under 'provided' scope should be explicitly excluded from testing as below.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package org.apache.seatunnel.api.connector;
package org.apache.seatunnel.api;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
Expand All @@ -42,7 +42,7 @@
import java.util.stream.Collectors;

@Slf4j
public class ImportShadeClassCheck {
public class ImportShadeClassCheckTest {

private static Map<String, NodeList<ImportDeclaration>> importsMap = new HashMap<>();
private final String SEATUNNEL_SHADE_PREFIX = "org.apache.seatunnel.shade.";
Expand Down

0 comments on commit f2f9e07

Please sign in to comment.