Skip to content

Commit

Permalink
fix: repositories indentation in Maven script
Browse files Browse the repository at this point in the history
  • Loading branch information
Spasi committed Nov 15, 2023
1 parent 7d6da33 commit 397c353
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions client/routes/customize/lib/maven.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ export function generateMaven({
}

if (build !== BuildType.Release) {
script += `\t<repositories>
\t\t<repository>
\t\t\t<id>sonatype-snapshots</id>
\t\t\t<url>https://oss.sonatype.org/content/repositories/snapshots</url>
\t\t\t<releases><enabled>false</enabled></releases>
\t\t\t<snapshots><enabled>true</enabled></snapshots>
\t\t</repository>
\t</repositories>\n\n`;
script += `<repositories>
\t<repository>
\t\t<id>sonatype-snapshots</id>
\t\t<url>https://oss.sonatype.org/content/repositories/snapshots</url>
\t\t<releases><enabled>false</enabled></releases>
\t\t<snapshots><enabled>true</enabled></snapshots>
\t</repository>
</repositories>\n\n`;
}

if (hasBoM) {
Expand Down

0 comments on commit 397c353

Please sign in to comment.