Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grails.project.repos.default = "ABC"
- grails.project.repos.ABC.url = "https://url_to_our_mvn"
- grails.project.repos.ABC.type = "maven"
- grails.project.repos.ABC.username = "auth_user"
- grails.project.repos.ABC.password = "auth_password"
- grails.project.repos.ABC.protocol = "webdav"
- [me@machine]$ /path/to/grails-3.0.4/bin/grails publish-plugin
- :generatePomFileForMavenPublication
- :compileAstJava UP-TO-DATE
- :compileAstGroovy UP-TO-DATE
- :processAstResources UP-TO-DATE
- :astClasses UP-TO-DATE
- :compileJava UP-TO-DATE
- :configScript UP-TO-DATE
- :compileGroovy UP-TO-DATE
- :copyAstClasses UP-TO-DATE
- :copyAssets UP-TO-DATE
- :copyCommands UP-TO-DATE
- :copyTemplates UP-TO-DATE
- :processResources UP-TO-DATE
- :classes UP-TO-DATE
- :jar UP-TO-DATE
- :groovydoc UP-TO-DATE
- :javadoc UP-TO-DATE
- :javadocJar UP-TO-DATE
- :sourcesJar UP-TO-DATE
- :publishMavenPublicationToMavenRepository FAILED
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':publishMavenPublicationToMavenRepository'.
- > Failed to publish publication 'maven' to repository 'maven'
- > java.lang.NullPointerException (no error message)
- * Try:
- Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
- buildscript {
- ext {
- grailsVersion = project.grailsVersion
- }
- repositories {
- mavenLocal()
- maven { url 'https://repo.grails.org/grails/core' }
- }
- dependencies {
- classpath "org.grails:grails-gradle-plugin:$grailsVersion"
- }
- }
- plugins {
- id 'io.spring.dependency-management' version '0.5.2.RELEASE'
- id 'com.jfrog.bintray' version '1.2'
- }
- version '3.0.0'
- group 'org.grails.plugins'
- apply plugin: 'maven-publish'
- apply plugin: 'spring-boot'
- apply plugin: 'org.grails.grails-plugin'
- apply from: 'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/grailsCentralPublishing.gradle'
- apply from: 'https://raw.githubusercontent.com/grails/grails-profile-repository/master/profiles/plugin/templates/bintrayPublishing.gradle'
- ext {
- grailsVersion = project.grailsVersion
- gradleWrapperVersion = project.gradleWrapperVersion
- }
- sourceCompatibility = targetCompatibility = 1.7
- repositories {
- mavenLocal()
- jcenter()
- maven { url 'https://repo.grails.org/grails/core' }
- }
- dependencyManagement {
- imports {
- mavenBom "org.grails:grails-bom:$grailsVersion"
- }
- applyMavenExclusions false
- }
- dependencies {
- provided 'javax.servlet:javax.servlet-api:3.1.0'
- provided 'org.grails:grails-dependencies'
- provided 'org.grails:grails-web-boot'
- compile 'org.jsoup:jsoup:1.8.3'
- compile 'org.apache.commons:commons-lang3:3.0.1'
- compile 'org.pegdown:pegdown:1.5.0'
- compile 'com.overzealous:remark:1.0.0'
- console 'org.grails:grails-console'
- testCompile 'org.grails:grails-plugin-testing'
- }
- task wrapper(type: Wrapper) {
- gradleVersion = gradleWrapperVersion
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement