You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/04/21 04:42:19 UTC

[jira] Created: (MNG-2235) unify .m2 configuration and have a "super settings"

unify .m2 configuration and have a "super settings"
---------------------------------------------------

         Key: MNG-2235
         URL: http://jira.codehaus.org/browse/MNG-2235
     Project: Maven 2
        Type: Bug

    Reporter: Brett Porter


the ".m2/settings.xml" configuration is located in several places, and instead should be a configuration solely of the default maven settings builder to make it easily changable.

Also, any defaults in the settings model should come from a super model implemented in a similar fashion to the super pom.

-- 
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] Commented: (MNG-2235) unify .m2 configuration and have a "super settings"

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-2235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204221#action_204221 ] 

Jason van Zyl commented on MNG-2235:
------------------------------------

Code doesn't really look the same anymore. Reopen referencing new source if desired.

> unify .m2 configuration and have a "super settings"
> ---------------------------------------------------
>
>                 Key: MNG-2235
>                 URL: http://jira.codehaus.org/browse/MNG-2235
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Settings
>            Reporter: Brett Porter
>             Fix For: 3.x
>
>
> the ".m2/settings.xml" configuration is located in several places, and instead should be a configuration solely of the default maven settings builder to make it easily changable.
> Also, any defaults in the settings model should come from a super model implemented in a similar fashion to the super pom.

-- 
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-2235) unify .m2 configuration and have a "super settings"

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

Jason van Zyl closed MNG-2235.
------------------------------

    Resolution: Won't Fix

> unify .m2 configuration and have a "super settings"
> ---------------------------------------------------
>
>                 Key: MNG-2235
>                 URL: http://jira.codehaus.org/browse/MNG-2235
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Settings
>            Reporter: Brett Porter
>             Fix For: 3.x
>
>
> the ".m2/settings.xml" configuration is located in several places, and instead should be a configuration solely of the default maven settings builder to make it easily changable.
> Also, any defaults in the settings model should come from a super model implemented in a similar fashion to the super pom.

-- 
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] Commented: (MNG-2235) unify .m2 configuration and have a "super settings"

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

Brett Porter commented on MNG-2235:
-----------------------------------

worth another look since some of these sources may have been collapsed already

> unify .m2 configuration and have a "super settings"
> ---------------------------------------------------
>
>                 Key: MNG-2235
>                 URL: http://jira.codehaus.org/browse/MNG-2235
>             Project: Maven 2
>          Issue Type: Bug
>            Reporter: Brett Porter
>             Fix For: 2.1.x
>
>
> the ".m2/settings.xml" configuration is located in several places, and instead should be a configuration solely of the default maven settings builder to make it easily changable.
> Also, any defaults in the settings model should come from a super model implemented in a similar fashion to the super pom.

-- 
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-2235) unify .m2 configuration and have a "super settings"

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

Brett Porter updated MNG-2235:
------------------------------

    Fix Version/s:     (was: 3.x)

> unify .m2 configuration and have a "super settings"
> ---------------------------------------------------
>
>                 Key: MNG-2235
>                 URL: http://jira.codehaus.org/browse/MNG-2235
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Settings
>            Reporter: Brett Porter
>
> the ".m2/settings.xml" configuration is located in several places, and instead should be a configuration solely of the default maven settings builder to make it easily changable.
> Also, any defaults in the settings model should come from a super model implemented in a similar fashion to the super pom.

-- 
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-2235) unify .m2 configuration and have a "super settings"

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2235?page=all ]

Brett Porter updated MNG-2235:
------------------------------

    Fix Version: 2.1

> ./bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/Bootstrap.java
> ./bootstrap/bootstrap-mini/src/main/java/org/apache/maven/bootstrap/settings/Settings.java

unnecessary to change

> ./maven-embedder/src/main/java/org/apache/maven/embedder/MavenEmbedder.java
> ./maven-artifact-ant/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactTask.java

ok, these should be changed to rely on the defaults from the settings builder / to use the settings builder

> ./maven-core/src/main/java/org/apache/maven/cli/MavenCli.java

This is just in the CLI text - I'd suggest we remove that reference as it's not always correct.

> ./maven-core/src/main/java/org/apache/maven/plugin/PluginConfigurationException.java

Just in exception text - I'd suggest removing the .m2 reference as it may be elsewhere.

> ./maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java

Only for integration tests, and I think we can find an alternate way to abstract this.

> ./maven-settings/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

This is the one that needs to be changed. If we can push that into a components definition we can override it in the main application.

> ./maven-artifact-test/src/main/java/org/apache/maven/artifact/test/ArtifactTestCase.java

Should be changed to rely on the default from the settings builder. 


> unify .m2 configuration and have a "super settings"
> ---------------------------------------------------
>
>          Key: MNG-2235
>          URL: http://jira.codehaus.org/browse/MNG-2235
>      Project: Maven 2
>         Type: Bug

>     Reporter: Brett Porter
>      Fix For: 2.1

>
>
> the ".m2/settings.xml" configuration is located in several places, and instead should be a configuration solely of the default maven settings builder to make it easily changable.
> Also, any defaults in the settings model should come from a super model implemented in a similar fashion to the super pom.

-- 
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-2235) unify .m2 configuration and have a "super settings"

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

Brett Porter updated MNG-2235:
------------------------------

    Component/s: Settings

> unify .m2 configuration and have a "super settings"
> ---------------------------------------------------
>
>                 Key: MNG-2235
>                 URL: http://jira.codehaus.org/browse/MNG-2235
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Settings
>            Reporter: Brett Porter
>             Fix For: 2.1.x
>
>
> the ".m2/settings.xml" configuration is located in several places, and instead should be a configuration solely of the default maven settings builder to make it easily changable.
> Also, any defaults in the settings model should come from a super model implemented in a similar fashion to the super pom.

-- 
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