App component descriptor not found

I’m trying to build a component and upload it to Bintray as documented here:
https://doc.cuba-platform.com/manual-6.10/app_components_dev.html

It works without problems in my local Maven repository, but for some reason, when I try to set the component dependency in Studio, I get the following error:

image

The repository is set at https://dl.bintray.com/arapoport/main

The app component descriptor was generated by Studio:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<app-component xmlns="http://schemas.haulmont.com/cuba/app-component.xsd"
               dependsOn="com.haulmont.cuba">
    <module blocks="*"
            name="global">
        <artifact appJar="true"
                  name="pswdplus-global"/>
        <property name="cuba.persistenceConfig"
                  value="+ar/com/osmosys/pswdplus/persistence.xml"/>
        <property name="cuba.metadataConfig"
                  value="+ar/com/osmosys/pswdplus/metadata.xml"/>
        <property name="cuba.viewsConfig"
                  value="+ar/com/osmosys/pswdplus/views.xml"/>
    </module>
    <module blocks="core"
            dependsOn="global"
            name="core">
        <artifact appJar="true"
                  name="pswdplus-core"/>
        <artifact classifier="db"
                  configuration="dbscripts"
                  ext="zip"
                  name="pswdplus-core"/>
        <property name="cuba.springContextConfig"
                  value="+ar/com/osmosys/pswdplus/spring.xml"/>
        <property name="cuba.mainMessagePack"
                  value="+ar.com.osmosys.pswdplus.core"/>
    </module>
    <module blocks="web"
            dependsOn="global"
            name="web">
        <artifact appJar="true"
                  name="pswdplus-web"/>
        <artifact classifier="web"
                  configuration="webcontent"
                  ext="zip"
                  name="pswdplus-web"/>
        <property name="cuba.springContextConfig"
                  value="+ar/com/osmosys/pswdplus/web-spring.xml"/>
        <property name="cuba.dispatcherSpringContextConfig"
                  value="+ar/com/osmosys/pswdplus/web-dispatcher-spring.xml"/>
        <property name="cuba.windowConfig"
                  value="+ar/com/osmosys/pswdplus/web-screens.xml"/>
        <property name="cuba.menuConfig"
                  value="+ar/com/osmosys/pswdplus/web-menu.xml"/>
        <property name="cuba.permissionConfig"
                  value="+ar/com/osmosys/pswdplus/web-permissions.xml"/>
        <property name="cuba.mainMessagePack"
                  value="+ar.com.osmosys.pswdplus.web"/>
    </module>
</app-component>

The component adds password history check to CUBA, and I intend to submit it to the Marketplace (once finished and tested…)

Thanks !

Alejandro

I see that the app descriptor is located in the global module, but it wasn’t included in the project jar built by gradle, could be that ?

The proper dependency was ar.com.osmosys.pswdplus:pswdplus-global:1.0.2. The gradle downloads code and web modules automatically.

1 Like