You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Luca (JIRA)" <ji...@codehaus.org> on 2011/01/12 14:44:03 UTC

[jira] Created: (MSITE-543) links to modules where not working if modules are builded with --no-recursive (see continuum)

links to modules where not working if modules are builded with --no-recursive (see continuum)
---------------------------------------------------------------------------------------------

                 Key: MSITE-543
                 URL: http://jira.codehaus.org/browse/MSITE-543
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
          Components: multi module
    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
            Reporter: Luca
            Assignee: Lukas Theussl
             Fix For: 2.1


I've to place the modules into a separate directory:

root/
..pom.xml
..modules/
....module1
....module2

this is supported by maven through

<modules>
  <module>modules/module1</module>
  <module>modules/module2</module>
</modules>

in pom.

but the site generation seems to be broken:

if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:

root/
..module1
..module2

The result is that the links do not work.

If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

-- 
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: (MSITE-543) links to modules where not working if modules are builded with --no-recursive (see continuum)

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

Luca updated MSITE-543:
-----------------------

    Attachment: site-issue.tgz

> links to modules where not working if modules are builded with --no-recursive (see continuum)
> ---------------------------------------------------------------------------------------------
>
>                 Key: MSITE-543
>                 URL: http://jira.codehaus.org/browse/MSITE-543
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
>            Reporter: Luca
>         Attachments: site-issue.tgz
>
>
> I've to place the modules into a separate directory:
> root/
> ..pom.xml
> ..modules/
> ....module1
> ....module2
> this is supported by maven through
> <modules>
>   <module>modules/module1</module>
>   <module>modules/module2</module>
> </modules>
> in pom.
> but the site generation seems to be broken:
> if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:
> root/
> ..module1
> ..module2
> The result is that the links do not work.
> If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

-- 
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: (MSITE-543) links to modules where not working if modules are builded with --no-recursive (see continuum)

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251316#action_251316 ] 

Lukas Theussl commented on MSITE-543:
-------------------------------------

Please test current 2.3-SNAPSHOT as I have recently fixed a few things regarding inheritance. See also MSITE-537. Otherwise, please provide a test project.

> links to modules where not working if modules are builded with --no-recursive (see continuum)
> ---------------------------------------------------------------------------------------------
>
>                 Key: MSITE-543
>                 URL: http://jira.codehaus.org/browse/MSITE-543
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
>            Reporter: Luca
>
> I've to place the modules into a separate directory:
> root/
> ..pom.xml
> ..modules/
> ....module1
> ....module2
> this is supported by maven through
> <modules>
>   <module>modules/module1</module>
>   <module>modules/module2</module>
> </modules>
> in pom.
> but the site generation seems to be broken:
> if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:
> root/
> ..module1
> ..module2
> The result is that the links do not work.
> If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

-- 
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: (MSITE-543) links to modules where not working if modules are builded with --no-recursive (see continuum)

Posted by "Luca (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252192#action_252192 ] 

Luca commented on MSITE-543:
----------------------------

it seems that with 2.3-SNAPSHOT not wotks in both cases: with and without recursion
 mvn -N clean install site-deploy -Dsite.deploy.url=file:///home/luca/Work/egov/trash/regression/javadoc/site2
 mvn clean package site-deploy -Dsite.deploy.url=file:///home/luca/Work/egov/trash/regression/javadoc/site1

testcase attached

> links to modules where not working if modules are builded with --no-recursive (see continuum)
> ---------------------------------------------------------------------------------------------
>
>                 Key: MSITE-543
>                 URL: http://jira.codehaus.org/browse/MSITE-543
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
>            Reporter: Luca
>         Attachments: site-issue.tgz
>
>
> I've to place the modules into a separate directory:
> root/
> ..pom.xml
> ..modules/
> ....module1
> ....module2
> this is supported by maven through
> <modules>
>   <module>modules/module1</module>
>   <module>modules/module2</module>
> </modules>
> in pom.
> but the site generation seems to be broken:
> if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:
> root/
> ..module1
> ..module2
> The result is that the links do not work.
> If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

-- 
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: (MSITE-543) links to modules where not working if modules are builded with --no-recursive (see continuum)

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

Lukas Theussl closed MSITE-543.
-------------------------------

    Resolution: Not A Bug
      Assignee: Lukas Theussl

> links to modules where not working if modules are builded with --no-recursive (see continuum)
> ---------------------------------------------------------------------------------------------
>
>                 Key: MSITE-543
>                 URL: http://jira.codehaus.org/browse/MSITE-543
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
>            Reporter: Luca
>            Assignee: Lukas Theussl
>         Attachments: site-issue.tgz
>
>
> I've to place the modules into a separate directory:
> root/
> ..pom.xml
> ..modules/
> ....module1
> ....module2
> this is supported by maven through
> <modules>
>   <module>modules/module1</module>
>   <module>modules/module2</module>
> </modules>
> in pom.
> but the site generation seems to be broken:
> if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:
> root/
> ..module1
> ..module2
> The result is that the links do not work.
> If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

-- 
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: (MSITE-543) links to modules where not working if modules are builded with --no-recursive (see continuum)

Posted by "Luca (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252315#action_252315 ] 

Luca commented on MSITE-543:
----------------------------

thanks lukas!
my fault. 
adding the url to the parent pom it works.
sorry for the issue

> links to modules where not working if modules are builded with --no-recursive (see continuum)
> ---------------------------------------------------------------------------------------------
>
>                 Key: MSITE-543
>                 URL: http://jira.codehaus.org/browse/MSITE-543
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
>            Reporter: Luca
>         Attachments: site-issue.tgz
>
>
> I've to place the modules into a separate directory:
> root/
> ..pom.xml
> ..modules/
> ....module1
> ....module2
> this is supported by maven through
> <modules>
>   <module>modules/module1</module>
>   <module>modules/module2</module>
> </modules>
> in pom.
> but the site generation seems to be broken:
> if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:
> root/
> ..module1
> ..module2
> The result is that the links do not work.
> If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

-- 
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: (MSITE-543) links to modules where not working if modules are builded with --no-recursive (see continuum)

Posted by "Luca (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251315#action_251315 ] 

Luca commented on MSITE-543:
----------------------------

This issue is still valid in 2.2
If you use continuum all modules and parent project are builded with the --no-recursive option.

When the parent site is builded, the links to the modules are created correctly: 
modules/module1/index.html
modules/module2/index.html

When the single modules are builded, they non respect the structure: are not deployed in 
root/modules/module1
root/modules/module2 
but in 
root/module1
root/module1



> links to modules where not working if modules are builded with --no-recursive (see continuum)
> ---------------------------------------------------------------------------------------------
>
>                 Key: MSITE-543
>                 URL: http://jira.codehaus.org/browse/MSITE-543
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
>            Reporter: Luca
>            Assignee: Lukas Theussl
>
> I've to place the modules into a separate directory:
> root/
> ..pom.xml
> ..modules/
> ....module1
> ....module2
> this is supported by maven through
> <modules>
>   <module>modules/module1</module>
>   <module>modules/module2</module>
> </modules>
> in pom.
> but the site generation seems to be broken:
> if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:
> root/
> ..module1
> ..module2
> The result is that the links do not work.
> If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

-- 
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: (MSITE-543) links to modules where not working if modules are builded with --no-recursive (see continuum)

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252242#action_252242 ] 

Lukas Theussl commented on MSITE-543:
-------------------------------------

I don't see a <url> element in any of your poms. In a multi-module site build, these are essential, see this [faq|http://maven.apache.org/plugins/maven-site-plugin/faq.html#Use_of_url]. See also MSITE-535. 

> links to modules where not working if modules are builded with --no-recursive (see continuum)
> ---------------------------------------------------------------------------------------------
>
>                 Key: MSITE-543
>                 URL: http://jira.codehaus.org/browse/MSITE-543
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
>            Reporter: Luca
>         Attachments: site-issue.tgz
>
>
> I've to place the modules into a separate directory:
> root/
> ..pom.xml
> ..modules/
> ....module1
> ....module2
> this is supported by maven through
> <modules>
>   <module>modules/module1</module>
>   <module>modules/module2</module>
> </modules>
> in pom.
> but the site generation seems to be broken:
> if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:
> root/
> ..module1
> ..module2
> The result is that the links do not work.
> If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

-- 
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: (MSITE-543) links to modules where not working if modules are builded with --no-recursive (see continuum)

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

Lukas Theussl updated MSITE-543:
--------------------------------

    Fix Version/s:     (was: 2.1)
         Assignee:     (was: Lukas Theussl)

> links to modules where not working if modules are builded with --no-recursive (see continuum)
> ---------------------------------------------------------------------------------------------
>
>                 Key: MSITE-543
>                 URL: http://jira.codehaus.org/browse/MSITE-543
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: multi module
>    Affects Versions: 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
>            Reporter: Luca
>
> I've to place the modules into a separate directory:
> root/
> ..pom.xml
> ..modules/
> ....module1
> ....module2
> this is supported by maven through
> <modules>
>   <module>modules/module1</module>
>   <module>modules/module2</module>
> </modules>
> in pom.
> but the site generation seems to be broken:
> if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:
> root/
> ..module1
> ..module2
> The result is that the links do not work.
> If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

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