-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Programming exercises: Cache dependencies in the Java blackbox templa…
…te (#8351)
- Loading branch information
1 parent
ed31739
commit 75a3df9
Showing
5 changed files
with
198 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/resources/templates/java/test/blackbox/projectTemplate/.mvn/local-settings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd"> | ||
<mirrors> | ||
<mirror> | ||
<id>artemis-cache</id> | ||
<name>Artemis Cache</name> | ||
<!-- | ||
Here you can specify another Maven proxy e.g. one in your local network to improve performance | ||
Details are in the documentation: | ||
https://docs.artemis.cit.tum.de/admin/setup/programming-exercises.html#caching-maven-dependencies-with-sonatype-nexus | ||
--> | ||
<url>https://repo1.maven.org/maven2/</url> | ||
<mirrorOf>*</mirrorOf> | ||
<blocked>false</blocked> | ||
</mirror> | ||
</mirrors> | ||
</settings> |
2 changes: 2 additions & 0 deletions
2
src/main/resources/templates/java/test/blackbox/projectTemplate/.mvn/maven.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--settings | ||
./.mvn/local-settings.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters