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

update groovy version in examples #145

Merged
merged 1 commit into from
Mar 30, 2023
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
update groovy version in examples
  • Loading branch information
benbroadaway committed Mar 30, 2023
commit 4672bcbb5be5da90aea840b15a30ea18cb3a9f92
2 changes: 1 addition & 1 deletion docs/getting-started/policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ The attributes:
- `fromVersion` and `toVersion` - define the version range;
- `value` - new dependency value.

For example, updating groovy dependency version to 2.5.21:
For example, updating groovy dependency version to `2.5.21`:

```json
{
Expand Down
8 changes: 4 additions & 4 deletions docs/getting-started/scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,14 @@ requires the addition of a dependency to
[groovy-all](https://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/) and
the identifier `groovy`. For versions 2.4.* and lower jar packaging is used in
projects, so the correct dependency is
e.g. `mvn://org.codehaus.groovy:groovy-all:2.4.12`. Versions 2.5.0 and higher
e.g. `mvn://org.codehaus.groovy:groovy-all:2.4.12`. Versions `2.5.0` and higher
use pom packaging, which has to be added to the dependency declaration before
the version `mvn://org.codehaus.groovy:groovy-all:pom:2.5.2`.
the version. For example: `mvn://org.codehaus.groovy:groovy-all:pom:2.5.21`.

```yaml
configuration:
dependencies:
- "mvn://org.codehaus.groovy:groovy-all:pom:2.5.2"
- "mvn://org.codehaus.groovy:groovy-all:pom:2.5.21"
flows:
default:
- script: groovy
Expand Down Expand Up @@ -289,7 +289,7 @@ Maps:
```yaml
configuration:
dependencies:
- "mvn://org.codehaus.groovy:groovy-all:pom:2.5.2"
- "mvn://org.codehaus.groovy:groovy-all:pom:2.5.21"

flows:
default:
Expand Down
6 changes: 3 additions & 3 deletions docs/processes-v1/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ The `mvn` syntax uses the short form for GAV coordinates
Newer versions of groovy-all use `<packaging>pom</packaging>` and define
dependencies. To use a project that applies this approach, called Bill of
Material (BOM), as a dependency you need to specify the packaging in between
the artifactId and version. For example, version 2.5.2 has to be specified as
`org.codehaus.groovy:groovy-all:pom:2.5.2`:
the artifactId and version. For example, version `2.5.21` has to be specified as
`org.codehaus.groovy:groovy-all:pom:2.5.21`:

```yaml
configuration:
dependencies:
- "mvn://org.codehaus.groovy:groovy-all:pom:2.5.2"
- "mvn://org.codehaus.groovy:groovy-all:pom:2.5.21"
```

The same logic and syntax usage applies to all other dependencies including
Expand Down
6 changes: 3 additions & 3 deletions docs/processes-v2/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ The `mvn` syntax uses the short form for GAV coordinates
Newer versions of groovy-all use `<packaging>pom</packaging>` and define
dependencies. To use a project that applies this approach, called Bill of
Material (BOM), as a dependency you need to specify the packaging in between
the artifactId and version. For example, version 2.5.2 has to be specified as
`org.codehaus.groovy:groovy-all:pom:2.5.2`:
the artifactId and version. For example, version `2.5.21` has to be specified as
`org.codehaus.groovy:groovy-all:pom:2.5.21`:

```yaml
configuration:
dependencies:
- "mvn://org.codehaus.groovy:groovy-all:pom:2.5.2"
- "mvn://org.codehaus.groovy:groovy-all:pom:2.5.21"
```

The same logic and syntax usage applies to all other dependencies including
Expand Down
2 changes: 1 addition & 1 deletion training/includes/concord-1-beginner-4-details.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ Dependency:
```yaml
configuration:
dependencies:
- "mvn://org.codehaus.groovy:groovy-all:pom:2.5.2"
- "mvn://org.codehaus.groovy:groovy-all:pom:2.5.21"
```

Inline script:
Expand Down