Adding BPM to a subproject(Addon) in a Composite Project breaks application

  1. New composite project
  2. New subproject > Full-Stack Application (Java)
  3. New subproject > Addon (Java)
  4. Marketplace > addons > select the newly created addon > install bpm
  5. Dependencies Between Subprojects main app depends on created addon that has the BPM installed
  6. in the gradle tab : Main application: bootRun

Could not determine the dependencies of task ‘:untitled:bootRun’.

Could not resolve all task dependencies for configuration ‘:untitled:runtimeClasspath’.
Could not find io.jmix.bpm:jmix-bpm-flowui-starter:2.2.1.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/io/jmix/bpm/jmix-bpm-flowui-starter/2.2.1/jmix-bpm-flowui-starter-2.2.1.pom
- https://global.repo.jmix.io/repository/public/io/jmix/bpm/jmix-bpm-flowui-starter/2.2.1/jmix-bpm-flowui-starter-2.2.1.pom
Required by:
project :untitled > io.jmix.bom:jmix-bom:2.2.1
Could not find io.jmix.bpm:jmix-bpm-starter:2.2.1.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/io/jmix/bpm/jmix-bpm-starter/2.2.1/jmix-bpm-starter-2.2.1.pom
- https://global.repo.jmix.io/repository/public/io/jmix/bpm/jmix-bpm-starter/2.2.1/jmix-bpm-starter-2.2.1.pom
Required by:
project :untitled > io.jmix.bom:jmix-bom:2.2.1
Could not find io.jmix.bpm:jmix-bpm-flowui-starter:2.2.1.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/io/jmix/bpm/jmix-bpm-flowui-starter/2.2.1/jmix-bpm-flowui-starter-2.2.1.pom
- https://global.repo.jmix.io/repository/public/io/jmix/bpm/jmix-bpm-flowui-starter/2.2.1/jmix-bpm-flowui-starter-2.2.1.pom
Required by:
project :untitled > project :addon:addon-starter > project :addon:addon
Could not find io.jmix.bpm:jmix-bpm-starter:2.2.1.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/io/jmix/bpm/jmix-bpm-starter/2.2.1/jmix-bpm-starter-2.2.1.pom
- https://global.repo.jmix.io/repository/public/io/jmix/bpm/jmix-bpm-starter/2.2.1/jmix-bpm-starter-2.2.1.pom
Required by:
project :untitled > project :addon:addon-starter > project :addon:addon

Possible solution:

I dont see any of the BPM Screens created or any thing that would update the db

Add the premium repo to the application’s build.gradle manually, for example:

repositories {
    mavenCentral()
    maven {
        url 'https://global.repo.jmix.io/repository/public'
    }
    maven {
        url = 'https://global.repo.jmix.io/repository/premium'
        credentials {
            username = rootProject['premiumRepoUser']
            password = rootProject['premiumRepoPass']
        }
    }
}

Thank you for reporting the problem, we’ll think what we can do.

Regards,
Konstantin