-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fill proxy from settings.xml for each remote Maven repository (#90)
- Loading branch information
1 parent
40dced0
commit 39f5541
Showing
3 changed files
with
107 additions
and
9 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
49 changes: 49 additions & 0 deletions
49
...-maven-integration/src/test/resources/org/appformer/maven/integration/settings_custom.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,49 @@ | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<servers> | ||
<server> | ||
<id>test-server</id> | ||
<username>testuser</username> | ||
<password>testpassword</password> | ||
</server> | ||
</servers> | ||
<profiles> | ||
<profile> | ||
<id>jboss</id> | ||
<repositories> | ||
<repository> | ||
<id>test-server</id> | ||
<name>Test repository</name> | ||
<url>file://home/testuser/.m2/repository/</url> | ||
<releases> | ||
<enabled>true</enabled> | ||
<updatePolicy>never</updatePolicy> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
<updatePolicy>always</updatePolicy> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
<pluginRepositories> | ||
<pluginRepository> | ||
<id>test-server</id> | ||
<name>Test repository</name> | ||
<url>file://home/testuser/.m2/repository/</url> | ||
</pluginRepository> | ||
</pluginRepositories> | ||
</profile> | ||
</profiles> | ||
<activeProfiles> | ||
<activeProfile>jboss</activeProfile> | ||
</activeProfiles> | ||
<proxies> | ||
<proxy> | ||
<active>true</active> | ||
<protocol>http</protocol> | ||
<host>localhost</host> | ||
<port>3128</port> | ||
</proxy> | ||
</proxies> | ||
</settings> |