Skip to content

Commit

Permalink
[MNG-4645] Move central repo definition out of Maven's core so it can…
Browse files Browse the repository at this point in the history
… be more easily changed
  • Loading branch information
ChristianSchulte committed Jun 29, 2016
1 parent 96630be commit 1b00a9e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 29 deletions.
38 changes: 36 additions & 2 deletions apache-maven/src/conf/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -244,14 +244,48 @@ under the License.
</properties>
</profile>
-->

<profile>
<id>default</id>

<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>

<!-- activeProfiles
| List of profiles that are active for all builds.
|
|-->
<activeProfiles>
<!--
<activeProfile>alwaysActiveProfile</activeProfile>
<activeProfile>anotherAlwaysActiveProfile</activeProfile>
-->
<activeProfile>default</activeProfile>
</activeProfiles>
-->

</settings>
Original file line number Diff line number Diff line change
Expand Up @@ -23,33 +23,6 @@ under the License.
<project>
<modelVersion>4.0.0</modelVersion>

<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>

<build>
<directory>${project.basedir}/target</directory>
<outputDirectory>${project.build.directory}/classes</outputDirectory>
Expand Down

0 comments on commit 1b00a9e

Please sign in to comment.