You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Roman Alekseenkov (JIRA)" <ji...@codehaus.org> on 2007/04/02 14:14:06 UTC

[jira] Created: (MNG-2918) Active-by-default profiles from settings.xml are not active without pom.xml

Active-by-default profiles from settings.xml are not active without pom.xml
---------------------------------------------------------------------------

                 Key: MNG-2918
                 URL: http://jira.codehaus.org/browse/MNG-2918
             Project: Maven 2
          Issue Type: Wish
          Components: Profiles
    Affects Versions: 2.0.5
            Reporter: Roman Alekseenkov
         Attachments: settings.xml

I use Archiva as Maven proxy, see Maven settings file attached for details. It contains only one profile that is active by default and contains repository URLs on our local area network. If I try to build a specific project, which has pom.xml of course, the profile is being activated and downloads appropriate artifacts from the proxy server. However, when I execute a specific plugin goal without any project, Maven downloads all required artifacts from its central repository, which indicated that the profile hasn't been activated. I'm not sure, whether it is a bug or not. Anyway, it would be good to have _all_ traffic going through the proxy server.

C:\Java>mvn archetype:create
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:create] (aggregator-style)
[INFO] ----------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-2918) Active-by-default profiles from settings.xml are not active without pom.xml

Posted by "Roman Alekseenkov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Alekseenkov closed MNG-2918.
----------------------------------

       Resolution: Duplicate
    Fix Version/s: 2.0.7

> Active-by-default profiles from settings.xml are not active without pom.xml
> ---------------------------------------------------------------------------
>
>                 Key: MNG-2918
>                 URL: http://jira.codehaus.org/browse/MNG-2918
>             Project: Maven 2
>          Issue Type: Wish
>          Components: Profiles
>    Affects Versions: 2.0.5
>            Reporter: Roman Alekseenkov
>             Fix For: 2.0.7
>
>         Attachments: settings.xml
>
>
> I use Archiva as Maven proxy, see Maven settings file attached for details. It contains only one profile that is active by default and contains repository URLs on our local area network. If I try to build a specific project, which has pom.xml of course, the profile is being activated and downloads appropriate artifacts from the proxy server. However, when I execute a specific plugin goal without any project, Maven downloads all required artifacts from its central repository, which indicated that the profile hasn't been activated. I'm not sure, whether it is a bug or not. Anyway, it would be good to have _all_ traffic going through the proxy server.
> C:\Java>mvn archetype:create
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:create] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
> ....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Reopened: (MNG-2918) Active-by-default profiles from settings.xml are not active without pom.xml

Posted by "Roman Alekseenkov (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Alekseenkov reopened MNG-2918:
------------------------------------


> Active-by-default profiles from settings.xml are not active without pom.xml
> ---------------------------------------------------------------------------
>
>                 Key: MNG-2918
>                 URL: http://jira.codehaus.org/browse/MNG-2918
>             Project: Maven 2
>          Issue Type: Wish
>          Components: Profiles
>    Affects Versions: 2.0.5
>            Reporter: Roman Alekseenkov
>             Fix For: 2.0.7
>
>         Attachments: settings.xml
>
>
> I use Archiva as Maven proxy, see Maven settings file attached for details. It contains only one profile that is active by default and contains repository URLs on our local area network. If I try to build a specific project, which has pom.xml of course, the profile is being activated and downloads appropriate artifacts from the proxy server. However, when I execute a specific plugin goal without any project, Maven downloads all required artifacts from its central repository, which indicated that the profile hasn't been activated. I'm not sure, whether it is a bug or not. Anyway, it would be good to have _all_ traffic going through the proxy server.
> C:\Java>mvn archetype:create
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:create] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
> ....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MNG-2918) Active-by-default profiles from settings.xml are not active without pom.xml

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-2918.
----------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 3.0-alpha-7)
         Assignee: Benjamin Bentmann

> Active-by-default profiles from settings.xml are not active without pom.xml
> ---------------------------------------------------------------------------
>
>                 Key: MNG-2918
>                 URL: http://jira.codehaus.org/browse/MNG-2918
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Profiles
>    Affects Versions: 2.0.5
>            Reporter: Roman Alekseenkov
>            Assignee: Benjamin Bentmann
>         Attachments: settings.xml
>
>
> I use Archiva as Maven proxy, see Maven settings file attached for details. It contains only one profile that is active by default and contains repository URLs on our local area network. If I try to build a specific project, which has pom.xml of course, the profile is being activated and downloads appropriate artifacts from the proxy server. However, when I execute a specific plugin goal without any project, Maven downloads all required artifacts from its central repository, which indicated that the profile hasn't been activated. I'm not sure, whether it is a bug or not. Anyway, it would be good to have _all_ traffic going through the proxy server.
> C:\Java>mvn archetype:create
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:create] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
> ....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-2918) Active-by-default profiles from settings.xml are not active without pom.xml

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-2918:
-------------------------------

    Fix Version/s:     (was: 2.2.x)
                   3.0-alpha-7

> Active-by-default profiles from settings.xml are not active without pom.xml
> ---------------------------------------------------------------------------
>
>                 Key: MNG-2918
>                 URL: http://jira.codehaus.org/browse/MNG-2918
>             Project: Maven 2 & 3
>          Issue Type: Wish
>          Components: Profiles
>    Affects Versions: 2.0.5
>            Reporter: Roman Alekseenkov
>             Fix For: 3.0-alpha-7
>
>         Attachments: settings.xml
>
>
> I use Archiva as Maven proxy, see Maven settings file attached for details. It contains only one profile that is active by default and contains repository URLs on our local area network. If I try to build a specific project, which has pom.xml of course, the profile is being activated and downloads appropriate artifacts from the proxy server. However, when I execute a specific plugin goal without any project, Maven downloads all required artifacts from its central repository, which indicated that the profile hasn't been activated. I'm not sure, whether it is a bug or not. Anyway, it would be good to have _all_ traffic going through the proxy server.
> C:\Java>mvn archetype:create
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:create] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
> ....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MNG-2918) Active-by-default profiles from settings.xml are not active without pom.xml

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-2918:
------------------------------

    Fix Version/s:     (was: 2.0.7)
                   2.0.x

> Active-by-default profiles from settings.xml are not active without pom.xml
> ---------------------------------------------------------------------------
>
>                 Key: MNG-2918
>                 URL: http://jira.codehaus.org/browse/MNG-2918
>             Project: Maven 2
>          Issue Type: Wish
>          Components: Profiles
>    Affects Versions: 2.0.5
>            Reporter: Roman Alekseenkov
>             Fix For: 2.0.x
>
>         Attachments: settings.xml
>
>
> I use Archiva as Maven proxy, see Maven settings file attached for details. It contains only one profile that is active by default and contains repository URLs on our local area network. If I try to build a specific project, which has pom.xml of course, the profile is being activated and downloads appropriate artifacts from the proxy server. However, when I execute a specific plugin goal without any project, Maven downloads all required artifacts from its central repository, which indicated that the profile hasn't been activated. I'm not sure, whether it is a bug or not. Anyway, it would be good to have _all_ traffic going through the proxy server.
> C:\Java>mvn archetype:create
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:create] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
> ....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira