Skip to content

Commit

Permalink
Merge pull request #3217 from LorenzoBettini/lb_3216
Browse files Browse the repository at this point in the history
Pin core.runtime as test dependency in first position in the POM
  • Loading branch information
LorenzoBettini authored Oct 4, 2024
2 parents 7583615 + ff11324 commit 28d3c58
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
15 changes: 10 additions & 5 deletions org.eclipse.xtext.web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
<description>API for integrating Xtext editors in web pages.</description>

<dependencies>
<!-- pin core.runtime related to the package "org.eclipse.core.runtime
to avoid
java.lang.SecurityException: class "org.eclipse.core.runtime.OperationCanceledException"'s signer information does not match signer information of other classes in the same package
Note: the position of these dependencies counts: they must
come before the other ones -->
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.core.runtime</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.ide</artifactId>
Expand Down Expand Up @@ -45,11 +55,6 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.core.runtime</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
15 changes: 10 additions & 5 deletions org.eclipse.xtext.xbase.web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
<description>Additional services for the web integration of Xbase.</description>

<dependencies>
<!-- pin core.runtime related to the package "org.eclipse.core.runtime
to avoid
java.lang.SecurityException: class "org.eclipse.core.runtime.OperationCanceledException"'s signer information does not match signer information of other classes in the same package
Note: the position of these dependencies counts: they must
come before the other ones -->
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.core.runtime</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.web</artifactId>
Expand Down Expand Up @@ -45,11 +55,6 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>org.eclipse.core.runtime</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down

0 comments on commit 28d3c58

Please sign in to comment.