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

Faces API 5.0 and Mojarra master #5421

Closed
pizzi80 opened this issue Mar 19, 2024 · 1 comment
Closed

Faces API 5.0 and Mojarra master #5421

pizzi80 opened this issue Mar 19, 2024 · 1 comment

Comments

@pizzi80
Copy link
Contributor

pizzi80 commented Mar 19, 2024

After the split of Faces API I'm not sure how it's better
to locally build/install Mojarra snapshot
and how to contribute with PR to the master

May someone create a release or pre-release or whatever of 4.1 and or 5.0 ?

I've made a lot of changes in my fork and I would like to align
and make some PR to the master one day, but at the moment I'm stuck
in the middle of nowhere

@BalusC
Copy link
Contributor

BalusC commented Mar 24, 2024

Yes there were a bunch of things off. We've fixed this via:

Now it works again.

To be clear, current build procedure is:

  1. Checkout 5.0 branch of https://github.com/jakartaee/faces
  2. CD into api module.
  3. mvn clean install -Pstaging
  4. Checkout master branch of https://github.com/eclipse-ee4j/mojarra
  5. mvn clean install -Pstaging
  6. Now you can use it; coordinates are as follows:
    <dependency>
        <groupId>jakarta.faces</groupId>
        <artifactId>jakarta.faces-api</artifactId>
        <version>5.0.0-SNAPSHOT</version>
    </dependency>
    <dependency>
        <groupId>org.glassfish.mojarra</groupId>
        <artifactId>mojarra</artifactId>
        <version>5.0.0-SNAPSHOT</version>
    </dependency>

Noted should be that GF8 as used by TCK currently refuses to start with Mojarra 5.0.0. This will be worked on.


Note that -Pstaging is only necessary when the pom happens to reference JEE dependencies not yet in Maven Central. If you don't want to use -Pstaging every time, then add this to your ~/.m2/settings.xml:

<repositories>
    <repository>
	<id>jakarta-staging</id>
	<url>https://jakarta.oss.sonatype.org/content/repositories/staging</url>
	<snapshots />
    </repository>
</repositories>

@BalusC BalusC closed this as completed Mar 30, 2024
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

2 participants