JMIX Reports - maven repository

Hey Guys,
I’m looking forward to use the new JMIX and now I’m trying to implement the reports add-on. I know a good amount of the documentation is “coming soon” but I’m trying to work with it.

Following the github repo:

It says I need to add:

implementation ‘io.jmix.reports:jmix-reports-starter’
implementation ‘io.jmix.reports:jmix-reports-ui-starter’
implementation ‘io.jmix.reports:jmix-reports-rest-starter’

I can’t make it works, it’s not possible to find those dependencies, even if I try to add the nexus repository manually.

Any tips about how to proceed?

That`s my build.gradle file.

Thank you guys.

plugins {
    id 'io.jmix' version '0.2.0'
    id 'java'
    id "io.freefair.lombok" version "5.3.0"
    id 'war'
}

apply plugin: 'org.springframework.boot'
apply plugin: "io.freefair.lombok"

jmix {
    bomVersion = '0.2.0'
    projectId = 'test'
}

group = 'com.testcompany'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'

repositories {
    maven {
        url 'https://dl.bintray.com/jmix/main'
    }
    jcenter()
}

dependencies {
    implementation 'io.jmix.core:jmix-core-starter'
    implementation 'io.jmix.data:jmix-data-starter'
    implementation 'io.jmix.ui:jmix-ui-starter'
    implementation 'io.jmix.ui:jmix-ui-data-starter'
    implementation 'io.jmix.ui:jmix-ui-themes-compiled'
    implementation 'io.jmix.ui:jmix-ui-widgets-compiled'
    implementation 'io.jmix.ui:jmix-ui-export-starter'
    implementation 'io.jmix.security:jmix-security-starter'
    implementation 'io.jmix.security:jmix-security-ui-starter'
    implementation 'io.jmix.security:jmix-security-data-starter'
    implementation 'io.jmix.localfs:jmix-localfs-starter'
    implementation 'io.jmix.rest:jmix-rest-starter'
    implementation 'org.springframework.boot:spring-boot-starter-web'

    implementation("io.jmix.reports:jmix-reports-starter")
    implementation("io.jmix.reports:jmix-reports-ui-starter")
    implementation("io.jmix.reports:jmix-reports-rest-starter")

    runtimeOnly 'org.postgresql:postgresql:42.2.9'
    testImplementation group: 'com.h2database', name: 'h2', version: '1.4.200'


    testImplementation('org.springframework.boot:spring-boot-starter-test') {
        exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
    }

}

bootWar {
    archiveFileName = 'test-app.war'
}


test {
    useJUnitPlatform()
}

Hi,
Thanks for trying out Jmix.

First of all, please use the latest Jmix Studio to create projects - it’s 0.3.0 at the moment. You can find it in the standard IntelliJ plugin marketplace.

Also, the latest framework preview version is now 0.3.1, you will see it when creating a project. And we don’t publish new artefacts on Bintray anymore as it’s going to be shut down, use mavenCentral and nexus.jmix.io instead.

So a new project’s build.gradle should look as follows:

plugins {
    id 'io.jmix' version '0.3.0'
    id 'java'
}

apply plugin: 'org.springframework.boot'

jmix {
    bomVersion = '0.3.1' 
    projectId = 'app'
}

group = 'com.company'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'

repositories {
    mavenCentral() 
    maven {
        url 'https://nexus.jmix.io/repository/public'
    } 
}

dependencies {
    implementation 'io.jmix.core:jmix-core-starter'
// ...

The reporting add-on is still in development and is not published yet. It will appear at Jmix Marketplace – Jmix when it’s ready.

And the last note: it seems you are going to use Lombok, but please don’t do it on Jmix entities - it won’t work.

Regards,
Konstantin

1 Like

Understood, I’m doing the adjustments as you said. Just checking… is that ok that io.jmix.data:jmix-data-starter is not published yet at the last preview version?
It’s not found with the 0.3.1 version.

hi, data is gone in 0.3. You can take a look at this discussion: