-
Notifications
You must be signed in to change notification settings - Fork 47
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
"How to use Open Liberty betas" page #3873
Comments
hi @yeekangc- this link doesn't show any info: https://github.com/OpenLiberty/blogs/compare/betainstallsteps is there another link for the beta install steps? |
Or should this doc simply adapt the steps that are currently in the beta blog posts for All Beta Features/Jakarta EE 9 Beta Features "Try it now" sections? |
@dmuelle I would say yes, take the steps like in this most recent post: https://openliberty.io/blog/2021/03/22/ldap-kerberos-21004beta.html and adapt those. Three minor notes on those three steps.
I can open a separate issue if it helps? Not sure where the source lives for that template |
Thanks @scottkurz The template for that post is in the blogs repo: https://github.com/OpenLiberty/blogs/blob/prod/templates/beta-release-post.adoc I can make sure whatever updates we make for this issue are replicated there. It's also possible that the template could be updated to just point to this topic. For Step 1- just so I understand- you don't need to add that dependency to your pom? Is that because step 3. takes care of it? |
Yeah, you could say that. The thought in documenting it as a dependency was that a dependency is a useful, common way to show a Maven artifact with coordinates. But operationally or instrumentally, it's a bit misleading since copying and pasting that dependency into your pom.xml, as a dependency, doesn't really accomplish what you're trying to achieve here (install this version/artifact for your target runtime). |
Does that also apply to the Jakrta EE 9 Beta Features package? There's no runtime artifact listed for that one, just the dependency: If you’re using Maven, here are the coordinates:
And then For step 2- "Add a dependency for the beta version of each of the APIs that you’d like to try" How does a user find the dependency details for the API? Should they look at "API packages provided by this feature" inb the feature documentation for the feature they want to enable? |
Yes it applies there. It does say in "Try It Now" in article: https://openliberty.io/blog/2021/01/26/ee9-messaging-security-21002-beta.html#jakarta to add to your plugin config (I'd still suggest my slight rewording).
Good question. I'm not sure if we've tried to broadly answer in the general case. The Jakarta and MicroProfile APIs will largely will be covered with the "aggregate" dependencies like: <dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>4.0</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-api</artifactId>
<version>8.0.0</version>
<scope>provided</scope>
</dependency> but that doesn't cover non-spec/platform features and I'm not sure what our general doc is. |
Hi @scottkurz @yeekangc @mbroz2 , Here's the initial draft of the Betas doc: https://draft-openlibertyio.mybluemix.net/docs/latest/installing-open-liberty-betas.html This was based mostly on the beta blog post template, with some edits per Scott's comments. A couple questions:
Update- @ericglau tested and confirmed confirmed the gradle syntax- all good. Let me know what else this needs- thanks! |
@dmuelle looks pretty good to me, and thorough ! A couple nits:
<plugin>
<groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<version>3.3.4</version>
<configuration>
<runtimeArtifact>
<groupId>io.openliberty.beta</groupId>
<artifactId>openliberty-runtime</artifactId>
<version>21.0.0.4-beta</version>
<type>zip</type>
</runtimeArtifact>
</configuration>
</plugin> |
I know it's just an example, but for the MicroProfile API dependency example, we should probably use |
Thanks for the feedback @scottkurz @Joseph-Cass . I've updated the draft to address your comments: https://draft-openlibertyio.mybluemix.net/docs/latest/installing-open-liberty-betas.html Let me know if you see anything else that needs an edit- thanks! |
LGTM. Thanks, @dmuelle! |
LGTM |
I'm good with it as well, but keep in mind that this section is a point-in-time statement and will likely need to be updated in the future if kept as-is:
Same is true for the section later that talk about the Jakarta EE 9 package. Since there are two artifactId elements, I would recommend specifying which one:
|
Good point, @mbroz2 . I wasn't sure whether to include the Jakarta EE 9 info/package, but it has been such a big focus in the. beta blogs, I didn't want to omit it. I can open a bug on our backlog to revise the doc once the beta package is no longer available. I updated the artifactID statement for clarification re runtimeArtifact. One remaining question I have is whether we should provide an example to declare aggregate dependencies from Gradle context, as we have for Maven. Is there similar config a user would do to declare dependencies for MP or Jakarata in a build.gradle file? |
Content reviewTry out new features with Open Liberty beta releasesI think you should provide a link to an official Jakarta EE 9 doc on first reference to provide necessary context since it is referenced throughout the topic Install a beta features package
Install a beta feature package package with Maven
|
Thanks for reviewing @Rwalls1- I made the following changes per your review:
|
@dmuelle, I peer reviewed your topic. Peer reviewTry out new features with Open Liberty beta releases
Install a beta features package with Maven
Install a beta features package with Gradle
|
Thanks for reviewing @ManasiGandhi - i made the changes from your comment- For the link to the Maven archetypes section- this doc is maintained in github because it's written and maintained by the dev team. I'm not aware of any plans to move it to the OL docs at this time |
changes sent to vNext, will publish with 21.0.0.5 |
Create a page that provides instruction on how to use Open Liberty betas including configuring the beta features that one would like to check out.
Per @dmuelle, this can be an addition to the Basics section of Open Liberty docs.
Can be linked to from https://openliberty.io/downloads/#runtime_betas too. Actual instructions may be liked what is here: https://github.com/OpenLiberty/blogs/compare/betainstallsteps.
The text was updated successfully, but these errors were encountered: