test(builder): more assertions on deps
@@ -71,6 +71,10 @@ func TestGenerateJvmProject(t *testing.T) {
GroupID: "org.apache.camel",
ArtifactID: "camel-core",
})
+ assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
+ GroupID: "org.apache.camel.k",
+ ArtifactID: "camel-k-adapter-camel-2",
+ })
}
func TestGenerateGroovyProject(t *testing.T) {
@@ -123,6 +127,10 @@ func TestGenerateGroovyProject(t *testing.T) {
GroupID: "org.apache.camel",
ArtifactID: "camel-core",
})
+ assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
+ GroupID: "org.apache.camel.k",
+ ArtifactID: "camel-k-adapter-camel-2",
+ })
assert.Contains(t, ctx.Project.Dependencies, maven.Dependency{
GroupID: "org.apache.camel",
ArtifactID: "camel-groovy",
