Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple container module from core #13524

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

77 changes: 77 additions & 0 deletions core-utils/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.mule.runtime</groupId>
<artifactId>mule</artifactId>
<version>4.8.0-SNAPSHOT</version>
</parent>
<artifactId>mule-core-utils</artifactId>
<packaging>jar</packaging>
<name>Mule Core Utils</name>
<description>Mule server and core utilities</description>

<properties>
<javaModuleName>org.mule.runtime.core.utils</javaModuleName>
<!-- because this module requires transitive jakarta.jms.api -->
<revapi.checkDependencies>true</revapi.checkDependencies>
<formatterConfigPath>../formatter.xml</formatterConfigPath>
</properties>

<!--
group/artifact id only, version and exclusions are specified
via dependency management
-->
<dependencies>
<dependency>
<groupId>org.mule.runtime</groupId>
<artifactId>mule-api</artifactId>
</dependency>

<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-junit4</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mule.tests</groupId>
<artifactId>mule-tests-allure</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
29 changes: 29 additions & 0 deletions core-utils/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Copyright 2023 Salesforce, Inc. All rights reserved.
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/

/**
* Mule server and core utilities.
*
* @moduleGraph
* @since 4.8
*/
module org.mule.runtime.core.utils {

requires org.mule.runtime.api;

requires com.google.common;
requires org.apache.commons.collections4;
requires org.apache.commons.io;
requires org.apache.commons.lang3;

exports org.mule.runtime.core.util.api;

exports org.mule.runtime.core.util.internal to
org.mule.runtime.core,
org.mule.runtime.container,
org.mule.runtime.deployment.model.impl;
}
Loading