i created a cuba app-component that you can use. It is in preview mode currently. Before releasing it “officially” i would like to get your feedback on it. It is open source (Apache 2 license) and you can find it on github:
CUBA component - Taggable
This application component let’s you enhance your entities with a generic tagging functionality.
A problem occurred configuring root project 'cuba-example-using-taggable'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve com.haulmont.gradle:cuba-plugin:7.2.1.
Required by:
project :
> Could not resolve com.haulmont.gradle:cuba-plugin:7.2.1.
> Could not get resource 'https://dl.bintray.com/mariodavid/cuba-components/com/haulmont/gradle/cuba-plugin/7.2.1/cuba-plugin-7.2.1.pom'.
> Could not GET 'https://dl.bintray.com/mariodavid/cuba-components/com/haulmont/gradle/cuba-plugin/7.2.1/cuba-plugin-7.2.1.pom'. Received status code 502 from server: Bad Gateway
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
I suppose the reason is the shutdown of Bintray repository. Do you have migrate the content to another repository? Is it possible to get another project with updated references?
Another more question, will this addon be migrated to Jmix?
Thanks, Mario, for your contributions.
Regards
You are right, it’s because of bintray. That’s a little unfortunate, but I just forgot to search for some other solution. For Jmix we now use another approach by proxying GItHub Artifacts through the Jmix nexus repo.
@krivopustov perhaps we can mirror that approach for the Cuba addons, wdyt?
Regarding Jmix migration: yes it will be migrated. In fact for this particular addon i’m at 90%. The missing functionality is mainly the migration scripts from Cuba.
Btw, you can for testing purposes just download the clone the taggable addon sources and do a gradlew install so put it into your local maven repo or into your own hosted nexus. Both options will work in any case.
All current CUBA add-ons are now available at repo.cuba-platform.com.
If an add-on requires an update, we’ll provide the add-on’s author with personal credentials to upload to this repo.