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

3.x: Docs: fix GitHub urls #8458

Merged
merged 5 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/community.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2019, 2022 Oracle and/or its affiliates.
Copyright (c) 2019, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -33,13 +33,13 @@ Have a question?

* Ask them in in Slack at http://slack.helidon.io[#helidon-user]
* Or on https://stackoverflow.com/questions/tagged/helidon[Stack Overflow] using the `helidon` tag
* Read the https://github.com/oracle/helidon/wiki/FAQ[Helidon FAQ]
* Read the https://github.com/helidon-io/helidon/wiki/FAQ[Helidon FAQ]

== Code and Issues

* Helidon source is hosted on https://github.com/oracle/helidon[GitHub].
* Helidon source is hosted on https://github.com/helidon-io/helidon[GitHub].
* If you'd like to report a bug, enhancement request, or check if an
issue is on our list, visit the https://github.com/oracle/helidon/issues[Helidon GitHub issue tracker].
issue is on our list, visit the https://github.com/helidon-io/helidon/issues[Helidon GitHub issue tracker].


== Stay Informed
Expand Down
10 changes: 6 additions & 4 deletions docs/includes/attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ ifndef::attributes-included[]
:imagesdir: {rootdir}/images

:helidon-version: 3.2.7-SNAPSHOT
:helidon-version-is-release: true
:helidon-version-is-release: false

ifeval::["{helidon-version-is-release}" != "true"]
:helidon-github-tree-url: https://github.com/oracle/helidon/tree/master
:helidon-github-tree-url: https://github.com/helidon-io/helidon/tree/helidon-3.x
:helidon-github-examples-url: https://github.com/helidon-io/helidon-examples/tree/helidon-3.x/examples
endif::[]

ifeval::["{helidon-version-is-release}" == "true"]
:helidon-github-tree-url: https://github.com/oracle/helidon/tree/{helidon-version}
:helidon-github-tree-url: https://github.com/helidon-io/helidon/tree/{helidon-version}
:helidon-github-examples-url: https://github.com/helidon-io/helidon-examples/tree/{helidon-version}/examples
endif::[]

// versions
Expand Down Expand Up @@ -85,7 +87,7 @@ endif::[]
:jdk-doc-url: https://docs.oracle.com/en/java/javase/17
:jdk-javadoc-url: {jdk-doc-url}/docs/api

:helidon-maven-plugin-doc-url: https://github.com/oracle/helidon-build-tools/blob/{version-plugin-helidon}/maven-plugins/helidon-maven-plugin/README.md
:helidon-maven-plugin-doc-url: https://github.com/helidon-io/helidon-build-tools/blob/{version-plugin-helidon}/maven-plugins/helidon-maven-plugin/README.md

// MicroProfile versioned URLs

Expand Down
6 changes: 3 additions & 3 deletions docs/includes/guides/maven-build.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2020, 2022 Oracle and/or its affiliates.
Copyright (c) 2020, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -37,7 +37,7 @@ use a Helidon application POM as their parent. This parent POM provides the foll
Helidon application.

If you want to use your own parent POM, then take a look at the
link:{helidon-github-tree-url}/examples/quickstarts/helidon-standalone-quickstart-{flavor-lc}[standalone quickstart example].
link:{helidon-github-examples-url}/quickstarts/helidon-standalone-quickstart-{flavor-lc}[standalone quickstart example].
This example has a stand-alone POM that you can pattern your own application POM after.

For more details on Helidon application POMs see the
Expand Down Expand Up @@ -98,7 +98,7 @@ Helidon provides a Maven plugin that, among other things, provides the following
1. native-image: Build a xref:{guidesdir}/graalnative.adoc[GraalVM native image].
2. jlink-image: Build a xref:{guidesdir}/jlink-image.adoc[custom runtime Java image].

For full documentation of the plugin please see the https://github.com/oracle/helidon-build-tools/tree/master/maven-plugins/helidon-maven-plugin[Helidon Maven Plugin README].
For full documentation of the plugin please see the https://github.com/helidon-io/helidon-build-tools/tree/master/maven-plugins/helidon-maven-plugin[Helidon Maven Plugin README].

If you use the Helidon application parent POM you will have this plugin configured
for you. If you need to customize the `helidon-maven-plugin` you can do so in a few ways:
Expand Down
5 changes: 3 additions & 2 deletions docs/mp/integrations/neo4j.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2022, 2023 Oracle and/or its affiliates.
Copyright (c) 2022, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -221,7 +221,8 @@ curl -H 'Accept: application/json' -X GET http://localhost:8080/metrics

----

Full example code is available in link:https://github.com/oracle/helidon/tree/master/examples/integrations/neo4j/neo4j-mp[Helidon GitHub Repository].
Full example code is available in
link:{helidon-github-examples-url}/integrations/neo4j/neo4j-mp[Helidon GitHub Repository].


== Additional Information
Expand Down
4 changes: 2 additions & 2 deletions docs/mp/lra.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2021, 2023 Oracle and/or its affiliates.
Copyright (c) 2021, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -412,7 +412,7 @@ CAUTION: Experimental tool, usage in production is not advised.
[source,bash]
.Build and run Helidon LRA coordinator
----
docker build -t helidon/lra-coordinator https://github.com/oracle/helidon.git#:lra/coordinator/server
docker build -t helidon/lra-coordinator https://github.com/helidon-io/helidon.git#:lra/coordinator/server
docker run -dp 8070:8070 --name lra-coordinator --network="host" helidon/lra-coordinator
----

Expand Down
7 changes: 3 additions & 4 deletions docs/mp/persistence.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2022, 2023 Oracle and/or its affiliates.
Copyright (c) 2022, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -518,7 +518,7 @@ once it has been <<DS-Setup,set up>> and
<<DS-Configuration,configured>>, create an ordinary
link:{jdk-javadoc-url}/java.sql/javax/sql/DataSource.html[`DataSource`]-typed
injection point in a
https://github.com/oracle/helidon/wiki/FAQ#how-do-i-make-a-class-a-cdi-bean[Java
https://github.com/helidon-io/helidon/wiki/FAQ#how-do-i-make-a-class-a-cdi-bean[Java
class representing a CDI bean] somewhere in your application,
link:{jakarta-inject-javadoc-url}/jakarta/inject/named[annotated with
the name] of the data source you wish to use.
Expand Down Expand Up @@ -1399,8 +1399,7 @@ relational database tables, and how to perform other related tasks.

=== Examples [[JPA-Examples]]

* link:{helidon-github-tree-url}/examples/integrations/cdi/pokemons[JPA
Pokemons Example]
* link:{helidon-github-examples-url}/integrations/cdi/pokemons[JPA Pokemons Example]

=== References [[JPA-References]]

Expand Down
4 changes: 2 additions & 2 deletions docs/mp/server.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2022, 2023 Oracle and/or its affiliates.
Copyright (c) 2022, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -400,4 +400,4 @@ NOTE: The `requestContext.getUriInfo()` method returns the Jakarta RESTful web s
== Reference

* link:https://helidon.io/docs/v2/apidocs/io.helidon.microprofile.server/module-summary.html[Helidon MicroProfile Server Javadoc]
* link:https://github.com/oracle/helidon/tree/master/microprofile/server[Helidon MicroProfile Server on GitHub]
* link:{helidon-github-tree-url}/microprofile/server[Helidon MicroProfile Server on GitHub]
5 changes: 2 additions & 3 deletions docs/se/integrations/neo4j.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2022 Oracle and/or its affiliates.
Copyright (c) 2022, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -268,8 +268,7 @@ curl -H 'Accept: application/json' -X GET http://localhost:8080/metrics

----

Full example code is available in link:https://github.com/oracle/helidon/tree/master/examples/integrations/neo4j/neo4j-mp[Helidon GitHub Repository].

Full example code is available in link:{helidon-github-examples-url}/integrations/neo4j/neo4j-se[Helidon GitHub Repository].

== Additional Information

Expand Down
6 changes: 3 additions & 3 deletions docs/se/reactive-messaging.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2020, 2022 Oracle and/or its affiliates.
Copyright (c) 2020, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -482,7 +482,7 @@ messaging = Messaging.builder()

Don't forget to check out the examples with pre-configured Kafka docker image, for easy testing:

* https://github.com/oracle/helidon/tree/master/examples/messaging
* link:{helidon-github-examples-url}/messaging[Helidon Messaging Examples]

==== JMS Connector

Expand Down Expand Up @@ -621,7 +621,7 @@ messaging = Messaging.builder()

Don't forget to check out the examples with pre-configured ActiveMQ docker image, for easy testing:

* https://github.com/oracle/helidon/tree/master/examples/messaging
* link:{helidon-github-examples-url}/messaging[Helidon Messaging Examples]

==== AQ Connector

Expand Down
4 changes: 2 additions & 2 deletions docs/se/security/providers.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2018, 2022 Oracle and/or its affiliates.
Copyright (c) 2018, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -104,7 +104,7 @@ include::{rootdir}/includes/security/providers/jwt.adoc[]

== Reference

* link:{https://github.com/oracle/helidon/tree/master/examples/security[Helidon Security Examples]
* link:{helidon-github-examples-url}/security[Helidon Security Examples]
* link:{security-provider-oidc-base-url}/module-summary.html[Helidon OIDC JavaDoc]
* link:{security-provider-httpauth-base-url}/module-summary.html[Helidon HTTP Authentication JavaDoc]
* link:{security-provider-header-base-url}/module-summary.html[Helidon Header Authentication JavaDoc]
Expand Down
14 changes: 2 additions & 12 deletions etc/scripts/release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2018, 2023 Oracle and/or its affiliates.
# Copyright (c) 2018, 2024 Oracle and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -131,16 +131,6 @@ update_version(){
mv ${pom}.tmp ${pom}
done

# Hack to update helidon.version in build.gradle files
for bfile in `egrep "helidonversion = .*" -r . --include build.gradle | cut -d ':' -f 1 | sort | uniq `
do
echo "Updating helidonversion property in ${bfile} to ${FULL_VERSION}"
cat ${bfile} | \
sed -e s@'helidonversion = .*'@"helidonversion = \'${FULL_VERSION}\'"@g \
> ${bfile}.tmp
mv ${bfile}.tmp ${bfile}
done

# Hack to update helidon-version in doc files
for dfile in `egrep ":helidon-version: .*" -r . --include attributes.adoc | cut -d ':' -f 1 | sort | uniq `
do
Expand All @@ -153,7 +143,7 @@ update_version(){

# Hack to update helidon-version-is-release in doc files
# We are a released version if we are not a SNAPSHOT version
if [[ ${HELIDON_VERSION} == *-SNAPSHOT ]]; then
if [[ ${FULL_VERSION} == *-SNAPSHOT ]]; then
readonly IS_RELEASED="false"
else
readonly IS_RELEASED="true"
Expand Down
Loading