Skip to content

Commit

Permalink
Decouple container and artifact-activation module from core
Browse files Browse the repository at this point in the history
  • Loading branch information
elrodro83 committed May 29, 2024
1 parent 16132e4 commit ca3c391
Show file tree
Hide file tree
Showing 36 changed files with 614 additions and 335 deletions.

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

0 comments on commit ca3c391

Please sign in to comment.