Giter Site home page Giter Site logo

restdocs-spec-example's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v3
  • actions/setup-java v3
maven
pom.xml
  • org.springframework.boot:spring-boot-starter-parent 3.3.2
  • com.epages:restdocs-api-spec 0.19.2
  • com.epages:restdocs-api-spec-mockmvc 0.19.2
  • org.asciidoctor:asciidoctor-maven-plugin 2.2.6
  • io.github.berkleytechnologyservices:restdocs-spec-maven-plugin 0.23
maven-wrapper
.mvn/wrapper/maven-wrapper.properties
  • maven 3.9.8

  • Check this box to trigger a request for Renovate to run again on this repository

Compilation error "The constructor Author(long, String, String) is undefined"

I cloned the repo yesterday (11 July 2019) and I am facing compilation errors.

[ERROR] getAllBooks(com.github.berkleytechnologyservices.restdocs.example.book.BookRestControllerDocumentationTest)  Time elapsed: 0.001 s  <<< ERROR!
java.lang.Error: 
Unresolved compilation problems: 
        The constructor Author(long, String, String) is undefined
        The constructor Author(long, String, String) is undefined
        The method asList(T...) in the type Arrays is not applicable for the arguments (Book, Book, Book, Book, Book, Book)
        The constructor Book(long, String, int, Author) is undefined
        The constructor Book(long, String, int, Author) is undefined
        The constructor Book(long, String, int, Author) is undefined
        The constructor Book(long, String, int, Author) is undefined
        The constructor Book(long, String, int, Author) is undefined
        The constructor Book(long, String, int, Author) is undefined

        at com.github.berkleytechnologyservices.restdocs.example.book.BookRestControllerDocumentationTest.getAllBooks(BookRestControllerDocumentationTest.java:50)

It looks like they are related to changes in the lombok version causing the constructors for Author and Book to not get generated. See this github issue projectlombok/lombok#1563.

I've tried some the suggestions in the linked github issue (such as including the lombok.config file and specifying the old lombok version in the pom.xml (version 1.16.18)) but none of them resolve the issue. What is the best solution for this?

I'm running Oracle JDK 8 on a Mac.

It doesn't work

./mvnw clean prepare-package doesn't work:

INFO] Scanning for projects...
[INFO] 
[INFO] -----< io.github.berkleytechnologyservices:restdocs-spec-example >------
[INFO] Building restdocs-spec-example 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for io.github.berkleytechnologyservices:restdocs-spec-maven-plugin:jar:0.21 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.373 s
[INFO] Finished at: 2021-08-04T14:24:30+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin io.github.berkleytechnologyservices:restdocs-spec-maven-plugin:0.21 or one of its dependencies could not be resolved: Failed to read artifact descriptor for io.github.berkleytechnologyservices:restdocs-spec-maven-plugin:jar:0.21: 6 problems were encountered while building the effective model for io.github.berkleytechnologyservices:restdocs-spec-maven-plugin:0.21
[ERROR] [ERROR] Invalid packaging for parent POM io.github.berkleytechnologyservices:restdocs-spec:0.21, must be "pom" but is "jar" @ io.github.berkleytechnologyservices:restdocs-spec:0.21
[ERROR] [ERROR] 'dependencies.dependency.version' for org.apache.maven:maven-plugin-api:jar is missing. @ 
[ERROR] [ERROR] 'dependencies.dependency.version' for org.apache.maven:maven-core:jar is missing. @ 
[ERROR] [ERROR] 'dependencies.dependency.version' for org.apache.maven:maven-artifact:jar is missing. @ 
[ERROR] [ERROR] 'dependencies.dependency.version' for org.apache.maven.plugin-tools:maven-plugin-annotations:jar is missing. @ 
[ERROR] [ERROR] 'dependencies.dependency.version' for com.epages:restdocs-api-spec-model:jar is missing. @
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

File: renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Invalid regExp for packageRules[0].packagePatterns: ^com.epages:restdocs, Invalid regExp for packageRules[1].packagePatterns: ^org.apache.maven, Invalid regExp for packageRules[2].packagePatterns: ^org.springframework.boot, Invalid regExp for packageRules[3].packagePatterns: ^org.springframework:``

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.