Skip to content

Commit

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

This change will drop usage of ISPN and a useless dependency to core.database artifact.
  • Loading branch information
boubaker committed Oct 31, 2024
1 parent a878e0a commit 8b7bd00
Show file tree
Hide file tree
Showing 48 changed files with 372 additions and 2,071 deletions.
22 changes: 0 additions & 22 deletions component/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@
<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 +194,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 8b7bd00

Please sign in to comment.