You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "G.J. Sterenborg (JIRA)" <ji...@codehaus.org> on 2007/01/10 09:22:21 UTC

[jira] Created: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
------------------------------------------------------------------------

                 Key: MAVEN-1825
                 URL: http://jira.codehaus.org/browse/MAVEN-1825
             Project: Maven 1.x
          Issue Type: Bug
    Affects Versions: 1.1-rc1
            Reporter: G.J. Sterenborg


We have combined multiple modules into components:

* component 1
root-module-generic -- project-descriptor (project.xml,project.properties)
                                 -- sub-module-1
                                 -- sub-module-2
                                 -- ...


* component 2
root-module-specific -- project-descriptor (project.xml,project.properties)
                                 -- generic-component-descriptor (project.xml,project.properties)                                 
                                 -- sub-module-1
                                 -- sub-module-2
                                 -- ...


* component 3
root-module-specific2-- project-descriptor (project.xml,project.properties)
                                 -- generic-component-descriptor (project.xml,project.properties)     
                                 -- sub-module-1
                                 -- sub-module-2
                                 -- ...

* ...

Every module is released seperately in one big 'component-release'.
This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  

Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.

The root-pom is specifies the component-version.

Every module gets it's own version and cvs-tag (including root-pom for the component-version.)

After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:

http://www.mail-archive.com/users@maven.apache.org/msg55210.html

I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.

Doesn't the parent-pom specify the entire project and the sub-module-poms their own?





-- 
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: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Posted by "G.J. Sterenborg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MAVEN-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

G.J. Sterenborg closed MAVEN-1825.
----------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: 1.1

I've tested our projects against 1.1. 

The problem seems to have gone

> Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1825
>                 URL: http://jira.codehaus.org/browse/MAVEN-1825
>             Project: Maven 1
>          Issue Type: Bug
>    Affects Versions: 1.1-rc1
>            Reporter: G.J. Sterenborg
>             Fix For: 1.1
>
>
> We have combined multiple modules into components:
> * component 1
> root-module-generic -- project-descriptor (project.xml,project.properties)
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 2
> root-module-specific -- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)                                 
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 3
> root-module-specific2-- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)     
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * ...
> Every module is released seperately in one big 'component-release'.
> This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  
> Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.
> The root-pom is specifies the component-version.
> Every module gets it's own version and cvs-tag (including root-pom for the component-version.)
> After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:
> http://www.mail-archive.com/users@maven.apache.org/msg55210.html
> I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.
> Doesn't the parent-pom specify the entire project and the sub-module-poms their own?

-- 
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: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1825?page=comments#action_84633 ] 
            
Arnaud Heritier commented on MAVEN-1825:
----------------------------------------

In theory, It's always possible to have several times the same element in different poms (parent/child).
I'll try to add a testcase for this. 
I'm working on the model actually.

> Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1825
>                 URL: http://jira.codehaus.org/browse/MAVEN-1825
>             Project: Maven 1.x
>          Issue Type: Bug
>    Affects Versions: 1.1-rc1
>            Reporter: G.J. Sterenborg
>
> We have combined multiple modules into components:
> * component 1
> root-module-generic -- project-descriptor (project.xml,project.properties)
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 2
> root-module-specific -- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)                                 
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 3
> root-module-specific2-- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)     
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * ...
> Every module is released seperately in one big 'component-release'.
> This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  
> Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.
> The root-pom is specifies the component-version.
> Every module gets it's own version and cvs-tag (including root-pom for the component-version.)
> After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:
> http://www.mail-archive.com/users@maven.apache.org/msg55210.html
> I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.
> Doesn't the parent-pom specify the entire project and the sub-module-poms their own?

-- 
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: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100771 ] 

Lukas Theussl commented on MAVEN-1825:
--------------------------------------

:) Thanks!

> Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1825
>                 URL: http://jira.codehaus.org/browse/MAVEN-1825
>             Project: Maven 1
>          Issue Type: Bug
>    Affects Versions: 1.1-rc1
>            Reporter: G.J. Sterenborg
>             Fix For: 1.1
>
>
> We have combined multiple modules into components:
> * component 1
> root-module-generic -- project-descriptor (project.xml,project.properties)
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 2
> root-module-specific -- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)                                 
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 3
> root-module-specific2-- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)     
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * ...
> Every module is released seperately in one big 'component-release'.
> This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  
> Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.
> The root-pom is specifies the component-version.
> Every module gets it's own version and cvs-tag (including root-pom for the component-version.)
> After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:
> http://www.mail-archive.com/users@maven.apache.org/msg55210.html
> I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.
> Doesn't the parent-pom specify the entire project and the sub-module-poms their own?

-- 
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: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Posted by "G.J. Sterenborg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1825?page=comments#action_84631 ] 
            
G.J. Sterenborg commented on MAVEN-1825:
----------------------------------------

The versions-tags are not duplicates. (The pom's are not being treated as one entity.)

Parent pom specifies the entire project, child-pom specifies itself.

Our hierarchy:

sub-module/project.xml -- extends -- parent-pom/project.xml (i.e. '../project.xml')
parent-pom/project.xml -- extends -- descriptor/project.xml

This allows the entire set to have a version that will be added to parent-pom/project.xml. 



> Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1825
>                 URL: http://jira.codehaus.org/browse/MAVEN-1825
>             Project: Maven 1.x
>          Issue Type: Bug
>    Affects Versions: 1.1-rc1
>            Reporter: G.J. Sterenborg
>
> We have combined multiple modules into components:
> * component 1
> root-module-generic -- project-descriptor (project.xml,project.properties)
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 2
> root-module-specific -- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)                                 
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 3
> root-module-specific2-- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)     
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * ...
> Every module is released seperately in one big 'component-release'.
> This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  
> Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.
> The root-pom is specifies the component-version.
> Every module gets it's own version and cvs-tag (including root-pom for the component-version.)
> After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:
> http://www.mail-archive.com/users@maven.apache.org/msg55210.html
> I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.
> Doesn't the parent-pom specify the entire project and the sub-module-poms their own?

-- 
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: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1825?page=comments#action_84622 ] 
            
Lukas Theussl commented on MAVEN-1825:
--------------------------------------

I meant <versions> tags, of course...

> Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1825
>                 URL: http://jira.codehaus.org/browse/MAVEN-1825
>             Project: Maven 1.x
>          Issue Type: Bug
>    Affects Versions: 1.1-rc1
>            Reporter: G.J. Sterenborg
>
> We have combined multiple modules into components:
> * component 1
> root-module-generic -- project-descriptor (project.xml,project.properties)
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 2
> root-module-specific -- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)                                 
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 3
> root-module-specific2-- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)     
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * ...
> Every module is released seperately in one big 'component-release'.
> This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  
> Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.
> The root-pom is specifies the component-version.
> Every module gets it's own version and cvs-tag (including root-pom for the component-version.)
> After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:
> http://www.mail-archive.com/users@maven.apache.org/msg55210.html
> I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.
> Doesn't the parent-pom specify the entire project and the sub-module-poms their own?

-- 
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: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1825?page=comments#action_84621 ] 
            
Lukas Theussl commented on MAVEN-1825:
--------------------------------------

Just like I said in the mail thread quoted above, I don't understand what the problem is really. What's the point in having duplicate <version> tags in your pom? Was Maven ever able to distinguish them? Also, multiple version tags are simply not allowed by the current xsd http://maven.apache.org/maven-v3_0_0.xsd, (and never have been, AFAIK, only previous maven's have not enforced this).

> Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1825
>                 URL: http://jira.codehaus.org/browse/MAVEN-1825
>             Project: Maven 1.x
>          Issue Type: Bug
>    Affects Versions: 1.1-rc1
>            Reporter: G.J. Sterenborg
>
> We have combined multiple modules into components:
> * component 1
> root-module-generic -- project-descriptor (project.xml,project.properties)
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 2
> root-module-specific -- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)                                 
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 3
> root-module-specific2-- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)     
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * ...
> Every module is released seperately in one big 'component-release'.
> This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  
> Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.
> The root-pom is specifies the component-version.
> Every module gets it's own version and cvs-tag (including root-pom for the component-version.)
> After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:
> http://www.mail-archive.com/users@maven.apache.org/msg55210.html
> I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.
> Doesn't the parent-pom specify the entire project and the sub-module-poms their own?

-- 
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: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Posted by "G.J. Sterenborg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1825?page=comments#action_84635 ] 
            
G.J. Sterenborg commented on MAVEN-1825:
----------------------------------------

I'll try to create a testcase asap.

> Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1825
>                 URL: http://jira.codehaus.org/browse/MAVEN-1825
>             Project: Maven 1.x
>          Issue Type: Bug
>    Affects Versions: 1.1-rc1
>            Reporter: G.J. Sterenborg
>
> We have combined multiple modules into components:
> * component 1
> root-module-generic -- project-descriptor (project.xml,project.properties)
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 2
> root-module-specific -- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)                                 
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 3
> root-module-specific2-- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)     
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * ...
> Every module is released seperately in one big 'component-release'.
> This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  
> Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.
> The root-pom is specifies the component-version.
> Every module gets it's own version and cvs-tag (including root-pom for the component-version.)
> After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:
> http://www.mail-archive.com/users@maven.apache.org/msg55210.html
> I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.
> Doesn't the parent-pom specify the entire project and the sub-module-poms their own?

-- 
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: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1825?page=comments#action_84634 ] 
            
Lukas Theussl commented on MAVEN-1825:
--------------------------------------

Sorry, I still don't get it. Do you have several <versions> tags within one project.xml? Or are you saying that it's an inheritance problem? Can you attach a reproducible test case, that would be helpful. Note also that you should be able to validate each pom (parent or sub-project) with the pom:validate goal (http://maven.apache.org/maven-1.x/plugins/pom/validation.html).

> Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1825
>                 URL: http://jira.codehaus.org/browse/MAVEN-1825
>             Project: Maven 1.x
>          Issue Type: Bug
>    Affects Versions: 1.1-rc1
>            Reporter: G.J. Sterenborg
>
> We have combined multiple modules into components:
> * component 1
> root-module-generic -- project-descriptor (project.xml,project.properties)
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 2
> root-module-specific -- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)                                 
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 3
> root-module-specific2-- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)     
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * ...
> Every module is released seperately in one big 'component-release'.
> This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  
> Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.
> The root-pom is specifies the component-version.
> Every module gets it's own version and cvs-tag (including root-pom for the component-version.)
> After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:
> http://www.mail-archive.com/users@maven.apache.org/msg55210.html
> I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.
> Doesn't the parent-pom specify the entire project and the sub-module-poms their own?

-- 
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: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Posted by "G.J. Sterenborg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1825?page=comments#action_84692 ] 
            
G.J. Sterenborg commented on MAVEN-1825:
----------------------------------------

Btw, it's  an inheritance problem, like the post in the mail-thread.

> Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1825
>                 URL: http://jira.codehaus.org/browse/MAVEN-1825
>             Project: Maven 1.x
>          Issue Type: Bug
>    Affects Versions: 1.1-rc1
>            Reporter: G.J. Sterenborg
>
> We have combined multiple modules into components:
> * component 1
> root-module-generic -- project-descriptor (project.xml,project.properties)
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 2
> root-module-specific -- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)                                 
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 3
> root-module-specific2-- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)     
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * ...
> Every module is released seperately in one big 'component-release'.
> This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  
> Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.
> The root-pom is specifies the component-version.
> Every module gets it's own version and cvs-tag (including root-pom for the component-version.)
> After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:
> http://www.mail-archive.com/users@maven.apache.org/msg55210.html
> I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.
> Doesn't the parent-pom specify the entire project and the sub-module-poms their own?

-- 
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: (MAVEN-1825) Multiple tags not allowed in RC-1 (Duplicated tag: 'project')

Posted by "G.J. Sterenborg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1825?page=comments#action_84601 ] 
            
G.J. Sterenborg commented on MAVEN-1825:
----------------------------------------

(Since I can't edit the description)

* component 2
root-module-specific 
                                 -- project-descriptor (project.xml,project.properties)
                                 -- generic-component-descriptor (project.xml,project.properties)                                 
                                 -- sub-module-1
                                 -- sub-module-2
                                 -- ..

Every component has it's own descriptor which is a dir containing a project.xml and project.properties.

The project.properties in the descriptor describes sub-module-versions.

> Multiple <versions> tags not allowed in RC-1 (Duplicated tag: 'project')
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1825
>                 URL: http://jira.codehaus.org/browse/MAVEN-1825
>             Project: Maven 1.x
>          Issue Type: Bug
>    Affects Versions: 1.1-rc1
>            Reporter: G.J. Sterenborg
>
> We have combined multiple modules into components:
> * component 1
> root-module-generic -- project-descriptor (project.xml,project.properties)
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 2
> root-module-specific -- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)                                 
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * component 3
> root-module-specific2-- project-descriptor (project.xml,project.properties)
>                                  -- generic-component-descriptor (project.xml,project.properties)     
>                                  -- sub-module-1
>                                  -- sub-module-2
>                                  -- ...
> * ...
> Every module is released seperately in one big 'component-release'.
> This component-release checks if a module has changed since the last release and if so ups the version (and adds a <version>-entry to module's pom.)                  
> Sub-modules <extend> root-module and the root-pom extends all dependent component-descriptors.
> The root-pom is specifies the component-version.
> Every module gets it's own version and cvs-tag (including root-pom for the component-version.)
> After testing RC-1, seeing the 'Duplicated tag: 'project'' error and reading:
> http://www.mail-archive.com/users@maven.apache.org/msg55210.html
> I'm very surprised that tag duplication in parent/child modules isn't allowed anymore.
> Doesn't the parent-pom specify the entire project and the sub-module-poms their own?

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