Hi Simone

I'm assuming you installed the trial's jar file to your local Maven
repository. Did you set up your gradle repositories as follows?

build.gradle.kts

    repositories {
        mavenLocal()
        mavenCentral()
    }

settings.gradle.kts

    pluginManagement {
        repositories {
            mavenLocal()
            gradlePluginPortal()
        }
    }

Best regards,
Lukas

On Tue, Apr 2, 2024 at 5:07 PM Simone Cacciatore <
simone.cacciat...@fhoster.com> wrote:

> Hi everyone
>
> I've downloaded the trial version of jooq pro for java 8 (because I need
> the support to Oracle) and I am trying to use the official plugin but till
> now I had no success.
>
> I have installed the downloaded jars in my local maven with the provided
> script maven-install and then added the mavenLocal repo to my repository
> both for libraries and plugins.
>
> Then I have added the plugin to my gradle build :
> plugins {
> id "org.jooq.trial-java-8.jooq-codegen-gradle" version "3.19.6"
> }
> and the dependencies like that
>
> dependencies {
> implementation "org.jooq.trial-java-8:jooq-codegen:${jooqVersion}"
> implementation "org.jooq.trial-java-8:jooq-meta:${jooqVersion}"
> implementation "${jdbcDriverDependency}"
>
> implementation "org.jooq.trial-java-8:jooq:${jooqVersion}"
>
> jooq localGroovy()
> jooq fileTree(dir: "../../buildSrc/build/libs", include: '*.jar')
> }
>
> If I try to build or generate I have the following error:
>
> Build file
> '/home/cacciatore/DEV/livebase/cloudlet/workgroupDatabase/workgroup-database.gradle'
> line: 2
>
> * What went wrong:
> An exception occurred applying plugin request [id:
> 'org.jooq.trial-java-8.jooq-codegen-gradle', version: '3.19.6']
> > Failed to apply plugin 'org.jooq.trial-java-8.jooq-codegen-gradle'.
>    > Could not create an instance of type
> org.jooq.codegen.gradle.NamedConfiguration.
>       > Could not generate a decorated class for type NamedConfiguration.
>          > org/jooq/meta/jaxb/Configuration
>
> Seems that some depedency of the plugin is not satisfied, but I have no
> clue how to fix
>
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jooq-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jooq-user/64a604b7-c9ce-4df8-95c2-5d65fce7834fn%40googlegroups.com
> <https://groups.google.com/d/msgid/jooq-user/64a604b7-c9ce-4df8-95c2-5d65fce7834fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jooq-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/CAB4ELO4s_uYCstmk1oAH5%2BG_voqw_aP8JeEKBJByoWifPUVrNw%40mail.gmail.com.

Reply via email to