Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Get rid of unneeded exclusions in pom.xml of all modules #20

Closed
knstvk opened this issue Jul 9, 2021 · 0 comments
Closed

Get rid of unneeded exclusions in pom.xml of all modules #20

knstvk opened this issue Jul 9, 2021 · 0 comments
Assignees
Milestone

Comments

@knstvk
Copy link
Contributor

knstvk commented Jul 9, 2021

Code in JmixPlugin.groovy:

// Exclude client-side logger for each configuration except 'widgets'
project.configurations.collect {
    if (it.getName() != 'widgets') {
        it.exclude(group: 'ru.finam', module: 'slf4j-gwt')
    }
}

Results in:

    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot</artifactId>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <artifactId>slf4j-gwt</artifactId>
          <groupId>ru.finam</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      <scope>compile</scope>
      <exclusions>
        <exclusion>
          <artifactId>slf4j-gwt</artifactId>
          <groupId>ru.finam</groupId>
        </exclusion>
      </exclusions>
    </dependency>
...

Changes

Now plugin excludes client-side dependencies only in Jmix Applications.

@knstvk knstvk added this to the 1.1.0 milestone Jul 9, 2021
@glebfox glebfox assigned Flaurite and unassigned glebfox Aug 27, 2021
@Flaurite Flaurite closed this as completed Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants