mirror of
https://github.com/apache/maven.git
synced 2025-02-11 12:35:50 +00:00
This supports a change to a simpler local configuration file (~/.m2/settings.xml by default), which has the general format of: <settings> <profiles> <profile> <active>true</active> <!-- not needed if this is the only profile --> <localRepository>/path/to/repo</localRepository> </profile> . . . </profiles> <servers> <server> <id>myserver</id> <username>me</username> <password>mypass</password> <privateKey>/path/to/key</privateKey> <passphrase>key-passphrase</passphrase> </server> . . . </servers> <proxies> <proxy> <active>true</active> <!-- not needed if this is the only proxy --> . . . </proxy> . . . </proxies> </settings> o Added special parameter named '#settings' which simply injects the current MavenSettings from the MavenSession into the request parameters. o Adjusted the it-verifier and mboot2 accordingly. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163578 13f79535-47bb-0310-9956-ffa450edef68
26 lines
662 B
XML
26 lines
662 B
XML
<model>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<artifactId>maven-component</artifactId>
|
|
<groupId>maven</groupId>
|
|
<version>2.0-SNAPSHOT</version>
|
|
</parent>
|
|
<groupId>maven</groupId>
|
|
<artifactId>maven-settings</artifactId>
|
|
<version>2.0-SNAPSHOT</version>
|
|
<name>Maven Local Settings Model</name>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>maven</groupId>
|
|
<artifactId>maven-modello-plugin</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<configuration>
|
|
<version>1.0.0</version>
|
|
<model>settings.mdo</model>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</model>
|