Skip to content

Commit

Permalink
Bump camel-core from 2.24.1 to 3.2.0 in /src/it/projects/bugs/massemb…
Browse files Browse the repository at this point in the history
…ly-920 (#137)

* Bump camel-core in /src/it/projects/bugs/massembly-920

Bumps camel-core from 2.24.1 to 3.2.0.

---
updated-dependencies:
- dependency-name: org.apache.camel:camel-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix assertions with new version of camel-core

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Slawomir Jaranowski <s.jaranowski@gmail.com>
  • Loading branch information
dependabot[bot] and slawekjaranowski authored Dec 17, 2023
1 parent cd88812 commit 4acd22f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/it/projects/bugs/massembly-920/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ under the License.
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>2.24.1</version>
<version>3.2.0</version>
</dependency>
</dependencies>

Expand Down
8 changes: 6 additions & 2 deletions src/it/projects/bugs/massembly-920/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ import java.util.jar.*

def jarWithDeps = new JarFile(new File( basedir, 'target/massembly-920-0.0.1-SNAPSHOT-jar.jar'))

assert jarWithDeps.getEntry('META-INF/services/org/apache/camel/TypeConverter') != null
assert jarWithDeps.getEntry('META-INF/services/TypeConverter') == null

def entry = jarWithDeps.getEntry('META-INF/services/org/apache/camel/TypeConverterLoader')
assert entry != null

// check if services are merged
assert entry.getSize() > 800

0 comments on commit 4acd22f

Please sign in to comment.