Skip to content

Commit

Permalink
feat: Drop usage of ISPN, Database and Transaction Service - MEED-7742
Browse files Browse the repository at this point in the history
…- Meeds-io/meeds#2537 (#1003)

This change will drop usage of ISPN and a useless dependency to
core.database artifact.
  • Loading branch information
boubaker authored and exo-swf committed Nov 15, 2024
1 parent 4db3955 commit 20096f2
Show file tree
Hide file tree
Showing 47 changed files with 368 additions and 2,071 deletions.
26 changes: 0 additions & 26 deletions component/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@
<groupId>io.meeds.kernel</groupId>
<artifactId>exo.kernel.component.cache</artifactId>
</dependency>
<dependency>
<groupId>io.meeds.kernel</groupId>
<artifactId>exo.kernel.component.command</artifactId>
</dependency>
<dependency>
<groupId>io.meeds.core</groupId>
<artifactId>exo.core.component.database</artifactId>
</dependency>
<dependency>
<groupId>io.meeds.core</groupId>
<artifactId>exo.core.component.organization.api</artifactId>
Expand Down Expand Up @@ -198,24 +190,6 @@
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.jboss.spec.javax.transaction</groupId>
<artifactId>jboss-transaction-api_1.1_spec</artifactId>
</exclusion>
<exclusion>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
</exclusion>
<exclusion>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.liquibase</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.exoplatform.container.xml.InitParams;
import org.exoplatform.services.naming.BindReferencePlugin;
import org.exoplatform.services.naming.InitialContextInitializer;
import org.exoplatform.services.naming.SimpleContextFactory;

/**
* This code should be moved in the core, for now it is here as it is needed here. It extends the
Expand All @@ -42,6 +43,7 @@ public class InitialContextInitializer2 extends InitialContextInitializer implem

public InitialContextInitializer2(InitParams params) throws Exception { // NOSONAR
super(params);
System.setProperty("java.naming.factory.initial", SimpleContextFactory.class.getName());
}

@Override
Expand All @@ -58,13 +60,4 @@ public void addPlugin(ComponentPlugin plugin) {
}
}

@Override
public void start() {
// Nothing to start
}

@Override
public void stop() {
// Nothing to stop
}
}
10 changes: 0 additions & 10 deletions component/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,6 @@
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>io.meeds.kernel</groupId>
<artifactId>exo.kernel.component.ext.cache.impl.infinispan.v8</artifactId>
<!--
Make it here for test purpose only to avoid transitive dependency for upper layers
and is added in portal.web.portal for runtime usage
-->
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 20096f2

Please sign in to comment.