On 11 March 2012 17:15, Gary Gregory <garydgreg...@gmail.com> wrote:
> On Fri, Mar 9, 2012 at 6:24 PM, sebb <seb...@gmail.com> wrote:
>
>> On 9 March 2012 20:35, Gary Gregory <garydgreg...@gmail.com> wrote:
>> > On Fri, Mar 9, 2012 at 2:50 PM, sebb <seb...@gmail.com> wrote:
>> >
>> >> I've just updated the CP24-SNAPSHOT in case anyone wants to try using
>> it.
>> >>
>> >
>> > I must not have Maven set up to pick SNAPSHOTS, where is that doc's for
>> our
>> > snapshots?
>>
>> Add the following profile to settings.xml:
>>
>>    <!-- ensure parent POMs can get updated -->
>>    <profile>
>>      <id>apache.snapshots</id>
>>      <repositories>
>>        <repository>
>>          <id>apache.snapshots</id>
>>          <name>Apache Snapshot Repository</name>
>>          <url>http://repository.apache.org/snapshots</url>
>>          <releases>
>>            <enabled>false</enabled>
>>          </releases>
>>        </repository>
>>      </repositories>
>>    </profile>
>>
>
> Still no dice. Maven drive me nuts sometimes... I can publish the POM
> locally of course...

Did you enable the profile? Either using -P, or by adding the
following to settings.xml permanently enable it:

 <activeProfiles>
  <activeProfile>apache.snapshots</activeProfile>
 </activeProfiles>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to