Giter Site home page Giter Site logo

Comments (7)

massdosage avatar massdosage commented on June 11, 2024

from waggle-dance.

groobyming avatar groobyming commented on June 11, 2024

@massdosage
jdk version:

openjdk version "1.8.0_322"
OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-macosx) (build 1.8.0_322-b06)
OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-macosx) (build 25.322-b06, mixed mode)

maven version:

3.8.5

I have not made any changes

from waggle-dance.

massdosage avatar massdosage commented on June 11, 2024

from waggle-dance.

groobyming avatar groobyming commented on June 11, 2024

Hi @massdosage --I changed the version of jdk and maven, then I typed mvn clean package -DskipTests, but got another error as below

[INFO] waggle-dance-api ................................... SUCCESS [ 12.284 s]
[INFO] waggle-dance-core .................................. SUCCESS [ 35.938 s]
[INFO] waggle-dance-rest .................................. SUCCESS [ 1.161 s]
[INFO] waggle-dance-boot .................................. SUCCESS [ 28.690 s]
[INFO] waggle-dance-integration-tests ..................... SUCCESS [ 6.365 s]
[INFO] waggle-dance ....................................... SUCCESS [ 5.687 s]
[INFO] waggle-dance-rpm ................................... FAILURE [ 4.796 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:36 min
[INFO] Finished at: 2022-07-20T22:00:05+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.2.0:attached-rpm (attach-rpm) on project waggle-dance-rpm: Unable to build the RPM: Error while executing process. Cannot run program "rpmbuild" (in directory "/tmp/waggle-dance/waggle-dance-rpm/target/rpm/waggle-dance-rpm/SPECS"): error=20, Not a directory -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :waggle-dance-rpm

FYI:
waggle-dance-tag:
waggle-dance-parent-3.9.8

jdk -version

java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

mvn -version
java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

from waggle-dance.

groobyming avatar groobyming commented on June 11, 2024

If I typed mvn clean package -pl '!waggle-dance-rpm' -DskipTests to exclude the module 'waggle-dance-rpm' and then it worked fine. Should I install RPM?
image

from waggle-dance.

massdosage avatar massdosage commented on June 11, 2024

from waggle-dance.

groobyming avatar groobyming commented on June 11, 2024

@massdosage Thanks for your reply, i will close the issue

from waggle-dance.

Related Issues (20)

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.