You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Gier (JIRA)" <ji...@codehaus.org> on 2010/12/17 17:52:57 UTC

[jira] Created: (MNG-4940) Better documentation related to repository order

Better documentation related to repository order
------------------------------------------------

                 Key: MNG-4940
                 URL: http://jira.codehaus.org/browse/MNG-4940
             Project: Maven 2 & 3
          Issue Type: Improvement
          Components: Documentation:  General
            Reporter: Paul Gier


I was not able to find clear documentation describing the order of repositories used during a build.  For example, the documentation should answer the following questions.
1. Which repositories are used first, the ones defined in settings.xml or in the pom.xml or super pom?
2. The order of repositories defined in the settings.xml profiles seems to be the reverse of what one would expect when viewed in the effective-pom, why is this?
3. If a repository ID in settings.xml matches one defined in pom.xml which one takes priority?

Some additional information is available in the JBoss build forum.
http://community.jboss.org/thread/160185

-- 
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] Issue Comment Edited: (MNGSITE-124) Better documentation related to repository order

Posted by "Ondrej Zizka (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGSITE-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248907#action_248907 ] 

Ondrej Zizka edited comment on MNGSITE-124 at 12/17/10 12:36 PM:
-----------------------------------------------------------------

It would be useful if one could modify the order by permuting the order of activated profiles.
Which means,  mvn -Pabc,def,ghi  would give different repo order than  mvn -Pghi,abc,def .

Does Maven documentation say something about the effect of profile activation ordering?
Since this is not yet documented, this could be a good time to enable such feature before the current state gets carved to the stone.

      was (Author: pekarna):
    It would be useful if one could modify the order by permuting the order of activated profiles.
Which means,  mvn -Pabc,def,ghi  would give different repo order than  mvn -Pghi,abc,def .

Does Maven documentation say something about the effect of profile ordering?
Since this is not yet documented, this could be a good time to enable such feature before it gets carved to the stone.
  
> Better documentation related to repository order
> ------------------------------------------------
>
>                 Key: MNGSITE-124
>                 URL: http://jira.codehaus.org/browse/MNGSITE-124
>             Project: Maven Project Web Site
>          Issue Type: Improvement
>            Reporter: Paul Gier
>
> I was not able to find clear documentation describing the order of repositories used during a build.  For example, the documentation should answer the following questions.
> 1. Which repositories are used first, the ones defined in settings.xml or in the pom.xml or super pom?
> 2. The order of repositories defined in the settings.xml profiles seems to be the reverse of what one would expect when viewed in the effective-pom, why is this?
> 3. If a repository ID in settings.xml matches one defined in pom.xml which one takes priority?
> Some additional information is available in the JBoss build forum.
> http://community.jboss.org/thread/160185

-- 
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] Moved: (MNGSITE-124) Better documentation related to repository order

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

Benjamin Bentmann moved MNG-4940 to MNGSITE-124:
------------------------------------------------

     Complexity:   (was: Intermediate)
    Component/s:     (was: Documentation:  General)
            Key: MNGSITE-124  (was: MNG-4940)
        Project: Maven Project Web Site  (was: Maven 2 & 3)

> Better documentation related to repository order
> ------------------------------------------------
>
>                 Key: MNGSITE-124
>                 URL: http://jira.codehaus.org/browse/MNGSITE-124
>             Project: Maven Project Web Site
>          Issue Type: Improvement
>            Reporter: Paul Gier
>
> I was not able to find clear documentation describing the order of repositories used during a build.  For example, the documentation should answer the following questions.
> 1. Which repositories are used first, the ones defined in settings.xml or in the pom.xml or super pom?
> 2. The order of repositories defined in the settings.xml profiles seems to be the reverse of what one would expect when viewed in the effective-pom, why is this?
> 3. If a repository ID in settings.xml matches one defined in pom.xml which one takes priority?
> Some additional information is available in the JBoss build forum.
> http://community.jboss.org/thread/160185

-- 
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: (MNGSITE-124) Better documentation related to repository order

Posted by "Ondrej Zizka (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGSITE-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248907#action_248907 ] 

Ondrej Zizka commented on MNGSITE-124:
--------------------------------------

It would be useful if one could modify the order by permuting the order of activated profiles.
Which means,  mvn -Pabc,def,ghi  would give different repo order than  mvn -Pghi,abc,def .

Does Maven documentation say something about the effect of profile ordering?
Since this is not yet documented, this could be a good time to enable such feature before it gets carved to the stone.

> Better documentation related to repository order
> ------------------------------------------------
>
>                 Key: MNGSITE-124
>                 URL: http://jira.codehaus.org/browse/MNGSITE-124
>             Project: Maven Project Web Site
>          Issue Type: Improvement
>            Reporter: Paul Gier
>
> I was not able to find clear documentation describing the order of repositories used during a build.  For example, the documentation should answer the following questions.
> 1. Which repositories are used first, the ones defined in settings.xml or in the pom.xml or super pom?
> 2. The order of repositories defined in the settings.xml profiles seems to be the reverse of what one would expect when viewed in the effective-pom, why is this?
> 3. If a repository ID in settings.xml matches one defined in pom.xml which one takes priority?
> Some additional information is available in the JBoss build forum.
> http://community.jboss.org/thread/160185

-- 
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: (MNGSITE-124) Better documentation related to repository order

Posted by "Paul Gier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGSITE-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248915#action_248915 ] 

Paul Gier commented on MNGSITE-124:
-----------------------------------

{quote}It would be useful if one could modify the order by permuting the order of activated profiles.
Which means, mvn -Pabc,def,ghi would give different repo order than mvn -Pghi,abc,def .{quote}
Ondrej, can you open a new issue for this, since this would be a new feature.  Currently the order of activated profiles on the command line does not affect their activation order.

> Better documentation related to repository order
> ------------------------------------------------
>
>                 Key: MNGSITE-124
>                 URL: http://jira.codehaus.org/browse/MNGSITE-124
>             Project: Maven Project Web Site
>          Issue Type: Improvement
>            Reporter: Paul Gier
>
> I was not able to find clear documentation describing the order of repositories used during a build.  For example, the documentation should answer the following questions.
> 1. Which repositories are used first, the ones defined in settings.xml or in the pom.xml or super pom?
> 2. The order of repositories defined in the settings.xml profiles seems to be the reverse of what one would expect when viewed in the effective-pom, why is this?
> 3. If a repository ID in settings.xml matches one defined in pom.xml which one takes priority?
> Some additional information is available in the JBoss build forum.
> http://community.jboss.org/thread/160185

-- 
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: (MNGSITE-124) Better documentation related to repository order

Posted by "Ondrej Zizka (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNGSITE-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248996#action_248996 ] 

Ondrej Zizka commented on MNGSITE-124:
--------------------------------------

Paul, done, MNG-4946 .

> Better documentation related to repository order
> ------------------------------------------------
>
>                 Key: MNGSITE-124
>                 URL: http://jira.codehaus.org/browse/MNGSITE-124
>             Project: Maven Project Web Site
>          Issue Type: Improvement
>            Reporter: Paul Gier
>
> I was not able to find clear documentation describing the order of repositories used during a build.  For example, the documentation should answer the following questions.
> 1. Which repositories are used first, the ones defined in settings.xml or in the pom.xml or super pom?
> 2. The order of repositories defined in the settings.xml profiles seems to be the reverse of what one would expect when viewed in the effective-pom, why is this?
> 3. If a repository ID in settings.xml matches one defined in pom.xml which one takes priority?
> Some additional information is available in the JBoss build forum.
> http://community.jboss.org/thread/160185

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