Skip to content

Commit

Permalink
🌱 Fix Identity API test Maven sample (konveyor#514)
Browse files Browse the repository at this point in the history
Updating Maven Identity sample to use (currently) correct "maven" kind
instead of "mvn" to make it working with addon
https://github.com/konveyor/tackle2-addon-analyzer/blob/61027b29f36ffa5b884ceac81c61d74341bdd762/cmd/mode.go#L151-L153

Signed-off-by: Marek Aufart <[email protected]>
  • Loading branch information
aufi committed Oct 30, 2023
1 parent e8a2a4f commit 23a290c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/api/identity/samples.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ var (
`,
}
Mvn = api.Identity{
Kind: "mvn",
Name: "mvn-settings",
Kind: "maven",
Name: "maven-settings",
Settings: `<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand All @@ -47,7 +47,7 @@ var (
</proxies>
<servers>
<server>
<id>tackle-testapp</id>
<id>tackle-testapp-public</id>
<username>GITHUB_USER</username>
<password>GITHUB_TOKEN</password>
</server>
Expand All @@ -70,8 +70,8 @@ var (
<url>https://repo1.maven.org/maven2</url>
</repository>
<repository>
<id>tackle-testapp</id>
<url>https://maven.pkg.github.com/konveyor/tackle-testapp</url>
<id>tackle-testapp-public</id>
<url>https://maven.pkg.github.com/konveyor/tackle-testapp-public</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
Expand Down

0 comments on commit 23a290c

Please sign in to comment.