-
Notifications
You must be signed in to change notification settings - Fork 727
Converge transitive dependencies to consuming app #102
Comments
Care to elaborate on the problem because I didn't really get it? |
Sure! The challenge is that we use the What I'm requesting is to try to make Jest not require two versions of the same dependency, but en force one version. |
I believe the commit d59e26e fixes the issue, can you confirm? Also I tried to add the enforcer plugin to the Jest itself with the below configuration (the sample config taken from plugin's page), but the <project>
...
<build>
<plugins>
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version>
<configuration>
<rules>
<DependencyConvergence/>
</rules>
</configuration>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<DependencyConvergence/>
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
...
</plugins>
</build>
...
</project> |
I tried that myself and had the same problem. I suspect that |
I'll try the commit btw! |
@kramer works like a charm! great work! |
Thanks for the heads up & confirmation 👍 IMO |
Maven enforcer plugin goes 🍌 on dependencies from Jest. Looks to be the dependency management that does not translate down to end component.
I am contemplating if this is how it should be or if dependencies should be excluded in Jest instead of dependency managed. Opinions?
Here is what I get:
The text was updated successfully, but these errors were encountered: