You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2005/09/05 23:34:06 UTC

[jira] Updated: (MPXDOC-104) [trivial, patch] downloads report cannot be disabled for a child project when maven.xdoc.distributionUrl defined in parent project.properties

     [ http://jira.codehaus.org/browse/MPXDOC-104?page=all ]

Lukas Theussl updated MPXDOC-104:
---------------------------------

    Description: 
I have the following project structure:

workspace
  coral-common
    project.xml
    project.properties
    ...
  coral-reactor
    projet.xml
    project.properties
    ...
  coral-api
    project.xml
    ...
  coral-ri
    project.xml
    ...
  ...  

coral-common is the the parent project that has the following setting:

maven.xdoc.distributionUrl=http://objectledge.org/maven/${pom.groupId}/${maven.multiproject.type}s

It should be used by xdoc for coral-api, coral-ri and other subprojects.

coral-reactor contains project-wide documentation and is used for multiproject:deploy(-snapshot) and multiproject:site. It does not generate artifacts itself and it shouldn't have download page. With the current codebase the following setting has no efect:

maven.xdoc.distributionUrl=

The report is still generated because wrong jelly idoiom is used to check if the variable is defined. The attached patch changes the idiom so that the distributionUrl can be overriden back to nothing in subprojects.

  was:
I have the following project structure:

workspace
  coral-common
    project.xml
    project.properties
    ...
  coral-reactor
    projet.xml
    project.properties
    ...
  coral-api
    project.xml
    ...
  coral-ri
    project.xml
    ...
  ...  

coral-common is the the parent project that has the following setting:

maven.xdoc.distributionUrl=http://objectledge.org/maven/${pom.groupId}/${maven.multiproject.type}s

It should be used by xdoc for coral-api, coral-ri and other subprojects.

coral-reactor contains project-wide documentation and is used for multiproject:deploy(-snapshot) and multiproject:site. It does not generate artifacts itself and it shouldn't have download page. With the current codebase the following setting has no efect:

maven.xdoc.distributionUrl=

The report is still generated because wrong jelly idoiom is used to check if the variable is defined. The attached patch changes the idiom so that the distributionUrl can be overriden back to nothing in subprojects.

    Fix Version: 1.10
    Environment: 

> [trivial, patch] downloads report cannot be disabled for a child project when maven.xdoc.distributionUrl defined in parent project.properties
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: MPXDOC-104
>          URL: http://jira.codehaus.org/browse/MPXDOC-104
>      Project: maven-xdoc-plugin
>         Type: Bug
>     Reporter: Rafal Krzewski
>     Assignee: Lukas Theussl
>     Priority: Minor
>      Fix For: 1.10
>  Attachments: mpxdoc104.diff
>
>
> I have the following project structure:
> workspace
>   coral-common
>     project.xml
>     project.properties
>     ...
>   coral-reactor
>     projet.xml
>     project.properties
>     ...
>   coral-api
>     project.xml
>     ...
>   coral-ri
>     project.xml
>     ...
>   ...  
> coral-common is the the parent project that has the following setting:
> maven.xdoc.distributionUrl=http://objectledge.org/maven/${pom.groupId}/${maven.multiproject.type}s
> It should be used by xdoc for coral-api, coral-ri and other subprojects.
> coral-reactor contains project-wide documentation and is used for multiproject:deploy(-snapshot) and multiproject:site. It does not generate artifacts itself and it shouldn't have download page. With the current codebase the following setting has no efect:
> maven.xdoc.distributionUrl=
> The report is still generated because wrong jelly idoiom is used to check if the variable is defined. The attached patch changes the idiom so that the distributionUrl can be overriden back to nothing in subprojects.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org