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

Cannot build 2.3 branch based on README #4721

Closed
codylerum opened this issue Jun 11, 2020 · 2 comments
Closed

Cannot build 2.3 branch based on README #4721

codylerum opened this issue Jun 11, 2020 · 2 comments

Comments

@codylerum
Copy link
Contributor

codylerum commented Jun 11, 2020

Trying to build so I can create a test and debug an issue, but I'm getting errors trying to build the 2.3 branch based on the readme

I'm running into this issue as well as a similar issue with a disabled h:selectOneCheckbox as referenced in https://issues.redhat.com/browse/WFLY-13571

The readme states JDK8, Ant and Maven which I have installed and then a mvn clean install in the root of the project.

codylerum@BORIS:~/projects/mojarra$ java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)

codylerum@BORIS:~/projects/mojarra$ ant -version
Apache Ant(TM) version 1.10.7 compiled on October 24 2019

codylerum@BORIS:~/projects/mojarra$ mvn -version
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 1.8.0_252, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.19.104-microsoft-standard", arch: "amd64", family: "unix"

codylerum@BORIS:~/projects/mojarra$ mvn clean install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.sun.faces.test.javaee6:viewParamNullValueAjax:3.0.0-m01-SNAPSHOT: Could not find artifact com.sun.faces.test.javaee6:pom:pom:3.0.0-m01-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 11
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.sun.faces.test.javaee6:viewParamNullValueAjax:3.0.0-m01-SNAPSHOT (/home/codylerum/projects/mojarra/test/javaee6/viewParamNullValueAjax/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for com.sun.faces.test.javaee6:viewParamNullValueAjax:3.0.0-m01-SNAPSHOT: Could not find artifact com.sun.faces.test.javaee6:pom:pom:3.0.0-m01-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Is there a step missing?

@codylerum
Copy link
Contributor Author

I'm able to build master without issues. For 2.3 I'm using the instructions in the readme in that branch.

https://github.com/eclipse-ee4j/mojarra/blob/2.3/README.md

@codylerum
Copy link
Contributor Author

From @arjantijms on the https://accounts.eclipse.org/mailing-list/mojarra-dev

That's an error in the source. For the 2.3 branch it should be 2.3.15-SNAPSHOT. I remember we fixed this a couple of times before, but unfortunately it keeps coming back :(

You can just manually update it, and then the build should succeed.

This does get the build to pass.

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

No branches or pull requests

1 participant