Skip to content

Commit

Permalink
Bundle Mockito dependency
Browse files Browse the repository at this point in the history
# Conflicts:
#	application/META-INF/MANIFEST.MF
  • Loading branch information
qqilihq committed Aug 6, 2024
1 parent e831e8c commit 910424e
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ target/
nodeDocumentation.json
portDocumentation.json
splashIcons.json
migrations.json
.tycho-consumer-pom.xml
lib-download/
9 changes: 6 additions & 3 deletions application/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.6.0,5.0.0)",
org.knime.product;bundle-version="[4.7.0,6.0.0)",
org.apache.log4j;bundle-version="[1.2.0,2.0.0)",
com.google.gson;bundle-version="[2.8.6,3.0.0)",
org.knime.workflow.migration;bundle-version="[4.7.0,6.0.0)",
org.mockito.mockito-core;bundle-version="[2.28.2,3.0.0)"
Bundle-ClassPath: .
org.knime.workflow.migration;bundle-version="[4.7.0,6.0.0)"
Bundle-ClassPath: .,
lib-download/mockito-core.jar,
lib-download/byte-buddy.jar,
lib-download/byte-buddy-agent.jar,
lib-download/objenesis.jar
Bundle-ActivationPolicy: lazy
6 changes: 5 additions & 1 deletion application/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ source.. = src/,\
bin.includes = META-INF/,\
.,\
plugin.xml,\
resources/
resources/,\
lib-download/mockito-core.jar,\
lib-download/byte-buddy.jar,\
lib-download/byte-buddy-agent.jar,\
lib-download/objenesis.jar
23 changes: 23 additions & 0 deletions application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,27 @@
<version>1.14.0-SNAPSHOT</version>
</parent>

<build>
<plugins>
<plugin>
<groupId>de.philippkatz.maven.plugins</groupId>
<artifactId>dependency-resolver-plugin</artifactId>
<version>2.0.0</version>
<configuration>
<dependencies>
<dependency>org.mockito:mockito-core:2.28.2</dependency>
</dependencies>
</configuration>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>resolve-dependencies</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 910424e

Please sign in to comment.