Skip to content

Commit

Permalink
Add profile to not download yarn on sourceforge by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Mar 28, 2023
1 parent 10edf13 commit 37bfbe0
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions build-config/demo-build-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ Contributors:
<workingDirectory>webapp</workingDirectory>
<nodeVersion>v12.22.5</nodeVersion>
<yarnVersion>v1.22.19</yarnVersion>
<!-- See why we use a mirror : https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1032 -->
<yarnDownloadRoot>https://sourceforge.net/projects/yarn.mirror/files/</yarnDownloadRoot>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -103,4 +101,24 @@ Contributors:
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>eclipseJenkins</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<configuration>
<!-- See why we use a mirror : https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1032 -->
<yarnDownloadRoot>https://sourceforge.net/projects/yarn.mirror/files/</yarnDownloadRoot>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>

0 comments on commit 37bfbe0

Please sign in to comment.