Skip to content

Commit

Permalink
Merge pull request #4188 from hansva/4187
Browse files Browse the repository at this point in the history
move SWT to compile so plugins don't need to add it, fixes #4187
  • Loading branch information
hansva authored Aug 2, 2024
2 parents 072ba12 + ec152df commit c345f70
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
4 changes: 4 additions & 0 deletions engine-beam/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
</exclusion>
<exclusion>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down
5 changes: 2 additions & 3 deletions plugins/engines/beam/src/assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<exclude>org.apache.hop:hop-engines-beam:jar</exclude>
<exclude>org.apache.hadoop:*:jar</exclude>
<exclude>org.apache.hadoop.thirdparty:*:jar</exclude>
<exclude>org.yaml:snakeyaml:jar</exclude>
</excludes>
<outputDirectory>lib/beam</outputDirectory>
</dependencySet>
Expand All @@ -57,10 +58,8 @@
<includes>
<include>org.apache.hadoop:*:jar</include>
<include>org.apache.hadoop.thirdparty:*:jar</include>
<include>org.yaml:snakeyaml:jar</include>
</includes>
<excludes>
<exclude>org.apache.hop:hop-engines-beam:jar</exclude>
</excludes>
<outputDirectory>lib/core</outputDirectory>
</dependencySet>
</dependencySets>
Expand Down
12 changes: 6 additions & 6 deletions ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>${swt.artifactId}</artifactId>
<version>${org.eclipse.platform.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.hop</groupId>
<artifactId>hop-core</artifactId>
Expand All @@ -69,12 +75,6 @@
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.platform</groupId>
<artifactId>${swt.artifactId}</artifactId>
<version>${org.eclipse.platform.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.hop</groupId>
<artifactId>hop-core</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions ui/src/assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
<baseDirectory>lib/core</baseDirectory>
<dependencySets>
<dependencySet>
<excludes>
<exclude>org.eclipse.platform:*</exclude>
</excludes>
<outputDirectory>.</outputDirectory>
</dependencySet>
</dependencySets>
Expand Down

0 comments on commit c345f70

Please sign in to comment.