[ 
https://issues.apache.org/jira/browse/NPANDAY-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999733#comment-13999733
 ] 

Greg Domjan commented on NPANDAY-572:
-------------------------------------

I just built trunk and made the initial setting and found that a second 
<profiles> section was still being created.

If the <profile xmlns="http://maven.apache.org/SETTINGS/1.0.0";> exists then 
modifying the Repo location will update the profile.
There was no change to the mirror section.

Since the status was resolved I thought to find this fixed, wondering did this 
get checked in yet?


In a related issue, we already have a profile in settings to use this repo 
location, with the additional profile it also causes additional checks to the 
same repo.

INFO] ------------------------------------------------------------------------
INFO] snapshot 
org.apache.npanday.plugins:maven-ilmerge-plugin:1.5.0-incubating-SNAPSHOT: 
checking for updates from nsl.nexus
INFO] snapshot 
org.apache.npanday.plugins:maven-ilmerge-plugin:1.5.0-incubating-SNAPSHOT: 
checking for updates from public
INFO] snapshot 
org.apache.npanday.plugins:maven-ilmerge-plugin:1.5.0-incubating-SNAPSHOT: 
checking for updates from npanday.repo
INFO] snapshot 
org.apache.npanday.plugins:maven-dotnet-plugins:1.5.0-incubating-SNAPSHOT: 
checking for updates from npanday.repo


> When settings.xml already has a profiles section, configuring the remote 
> repository from the AddIn creates an invalid settings file
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NPANDAY-572
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-572
>             Project: NPanday
>          Issue Type: Bug
>          Components: Visual Studio Add-in
>            Reporter: Brett Porter
>            Assignee: Brett Porter
>             Fix For: 1.5.0-incubating
>
>
> # Create a {{settings.xml}} file with a {{<profiles>}} section
> # Open an NPanday project in VS
> # Select "Add Maven Artifact..." from the context menu on the project
> # Go to the "Configure Repository" tab
> # Type in {{http://repo.maven.apache.org/maven2/}} and press "Update"
> The resulting {{settings.xml}} file has two {{<profiles>}} sections, one 
> before {{<activeProfiles>}} and one after.
> A better alternative may be to use this field to set the mirror instead.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to