Can't deploy locally

Enonic version: 7.6.1
OS: Windows 10

Hi guys,

I’ve just installed a brand new Enonic installation and I’m trying to run an old project in a 7.6.1 sandbox. 7.6.1 Enonic works but I can’t deploy my project locally. The Deploying process never stops and it keeps resolving dependencies without throwing any errors. Could someone advice please?

Kind regards.

Could you maybe share your build.gradle file?

Here it is :slight_smile:

plugins {

    id 'com.enonic.xp.app' version '2.0.0'

}

// Meta-data for our App, used in XP to display useful information to the user.

app {

    name = "${appName}"

    displayName = "${appDisplayName}" // Usually, this line and the following two, are the ones you will edit. As well as giving your app jar-file a proper name in the gradle.properties file.

    systemVersion = "${xpVersion}"

}

// This is where we "Install" new libraries. Check correct path in our docs, or the lib's github readme.

// The difference between "compile" and "include" is explained in our docs.

dependencies {

    include "com.enonic.xp:portal-api:${xpVersion}"

    include "com.enonic.xp:lib-content:${xpVersion}"

    include "com.enonic.xp:lib-context:${xpVersion}"

    include "com.enonic.xp:lib-portal:${xpVersion}"

    include "com.enonic.xp:lib-node:${xpVersion}"

    include "com.enonic.xp:lib-auth:${xpVersion}"

    include "com.enonic.xp:lib-mail:${xpVersion}"

    include "com.enonic.xp:lib-repo:${xpVersion}"

    include 'com.enonic.lib:lib-thymeleaf:2.0.0'

    include 'com.enonic.lib:lib-landingpage:2.0.0'

    include 'com.enonic.lib:lib-util:2.0.0'

    include "com.enonic.lib:lib-admin-ui:1.2.0"

}

// Where to look for the libraries we're using.

repositories {

    maven {

        url 'https://repo.enonic.net/public'

    }

    mavenLocal()

    mavenCentral()

    xp.enonicRepo()

}

Url should be .com, not .net

Fantastic! it deploys now. Thanks a lot for your help :slight_smile:

1 Like