lefebvre opened MRESOLVER-66 and commented
my-settings.xml :
<?xml version="1.0"?>
<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">
<interactiveMode>false</interactiveMode>
<servers>
<server>
<id>my-repo</id>
<configuration>
<httpHeaders>
<property>
<name>Private-Token</name>
<value>XXX</value>
</property>
</httpHeaders>
</configuration>
</server>
</servers>
<profiles>
<profile>
<id>enable-repos</id>
<repositories>
<repository>
<id>central</id>
<name>central</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
<repository>
<id>my-repo</id>
<name>my repository</name>
<url>XXX</url>
</repository>
</repositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>enable-repos</activeProfile>
</activeProfiles>
</settings>
<settings file="my-settings.xml" globalfile="my-settings.xml"/>
The resolver task does not try to resolve artifacts using "my-repo".
Affects: ant-tasks-1.2.1
Attachments:
Remote Links:
1 votes, 6 watchers
lefebvre opened MRESOLVER-66 and commented
my-settings.xml :
<settings file="my-settings.xml" globalfile="my-settings.xml"/>The resolver task does not try to resolve artifacts using "my-repo".
Affects: ant-tasks-1.2.1
Attachments:
Remote Links:
1 votes, 6 watchers