Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When Trying to Compile Netbeans Source Following Instructions on README.md #430

Open
amarpatel-xx opened this issue Oct 14, 2020 · 3 comments

Comments

@amarpatel-xx
Copy link

Overview of the issue

Build Failure when running mvn -f "jeddict" clean install

Expected Outcome

Successful Build

Current Outcome

Build Failure:
netbeans mvn -f "jeddict" clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for io.github.jeddict:jcode-util:nbm:5.4.3
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.netbeans.modules:org-netbeans-modules-maven-embedder:jar -> duplicate declaration of version ${netbeans.version} @ line 130, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Jeddict [pom]
[INFO] Jeddict Library [nbm]
[INFO] jCode Util [nbm]
[INFO] JPA Specification [nbm]
[INFO] jCode Core [nbm]
[INFO] Collaboration [nbm]
[INFO] JPA Modeler [nbm]
[INFO] ORM Generator [nbm]
[INFO] Relation Mapper [nbm]
[INFO] JSON-B Modeler [nbm]
[INFO] DB Modeler [nbm]
[INFO] Reverse Engineering [nbm]
[INFO] Installer [nbm]
[INFO] Jeddict Tests [jar]
[INFO] Generator Examples [nbm]
[INFO] Incubation [pom]
[INFO] PPT Export [nbm]
[INFO]
[INFO] ---------------------< io.github.jeddict:jeddict >----------------------
[INFO] Building Jeddict 5.4.3 [1/17]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jeddict ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ jeddict ---
[INFO] Installing /Users/amar/workspace/netbeans/jeddict/pom.xml to /Users/amar/.m2/repository/io/github/jeddict/jeddict/5.4.3/jeddict-5.4.3.pom
[INFO]
[INFO] -------------------< io.github.jeddict:jeddict-lib >--------------------
[INFO] Building Jeddict Library 5.4.3 [2/17]
[INFO] --------------------------------[ nbm ]---------------------------------
Downloading from netbeans-modules: http:https://bits.netbeans.org/maven2/io/github/jeddict/modeler/modeler-lib/5.4.3/modeler-lib-5.4.3.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jeddict 5.4.3:
[INFO]
[INFO] Jeddict ............................................ SUCCESS [ 0.119 s]
[INFO] Jeddict Library .................................... FAILURE [ 0.820 s]
[INFO] jCode Util ......................................... SKIPPED
[INFO] JPA Specification .................................. SKIPPED
[INFO] jCode Core ......................................... SKIPPED
[INFO] Collaboration ...................................... SKIPPED
[INFO] JPA Modeler ........................................ SKIPPED
[INFO] ORM Generator ...................................... SKIPPED
[INFO] Relation Mapper .................................... SKIPPED
[INFO] JSON-B Modeler ..................................... SKIPPED
[INFO] DB Modeler ......................................... SKIPPED
[INFO] Reverse Engineering ................................ SKIPPED
[INFO] Installer .......................................... SKIPPED
[INFO] Jeddict Tests ...................................... SKIPPED
[INFO] Generator Examples ................................. SKIPPED
[INFO] Incubation ......................................... SKIPPED
[INFO] PPT Export ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.498 s
[INFO] Finished at: 2020-10-13T22:17:17-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jeddict-lib: Could not resolve dependencies for project io.github.jeddict:jeddict-lib:nbm:5.4.3: Failed to collect dependencies at io.github.jeddict.modeler:modeler-lib:jar:5.4.3: Failed to read artifact descriptor for io.github.jeddict.modeler:modeler-lib:jar:5.4.3: Could not transfer artifact io.github.jeddict.modeler:modeler-lib:pom:5.4.3 from/to netbeans-modules (http:https://bits.netbeans.org/maven2/): Transfer failed for http:https://bits.netbeans.org/maven2/io/github/jeddict/modeler/modeler-lib/5.4.3/modeler-lib-5.4.3.pom 502 Bad Gateway -> [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:https://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :jeddict-lib
➜ netbeans

Steps to Reproduce(Only for bug reports)

git clone https://github.com/jeddict/netbeans-modeler.git
git clone https://github.com/jeddict/jeddict.git
git clone https://github.com/jeddict/jeddict-extensions.git
git clone https://github.com/jeddict/hipee.git
mvn -f "netbeans-modeler" clean install
mvn -f "jeddict" clean install

Jeddict Version(s)

Current master, v5.4.3 and v5.2

@jGauravGupta
Copy link
Member

Hi @amarpatel-xx,

git clone https://github.com/jeddict/netbeans-modeler.git
git clone https://github.com/jeddict/jeddict.git
git clone https://github.com/jeddict/jeddict-extensions.git
git clone https://github.com/jeddict/hipee.git
mvn -f "netbeans-modeler" clean install
mvn -f "jeddict" clean install
mvn -f "jeddict-extensions" clean install
mvn -f "hipee" clean install

Jeddict project depends on the https://github.com/jeddict/netbeans-modeler.git, please first build the netbeans-modeler.

@amarpatel-xx
Copy link
Author

Hi Gaurav,

Yes, I built netbeans-modeler first and it built fine; the error occurs after I run: mvn -f "jeddict" clean install.

My best,
Amar

@jGauravGupta
Copy link
Member

Hi @amarpatel-xx ,

Can you fetch the netbeans-modeler project again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants