You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alfonsas Stonis (JIRA)" <ji...@codehaus.org> on 2008/08/18 04:51:27 UTC

[jira] Created: (MNG-3720) Documentation of properties (pom variables) available (in mojo)

Documentation of properties (pom variables) available (in mojo)
---------------------------------------------------------------

                 Key: MNG-3720
                 URL: http://jira.codehaus.org/browse/MNG-3720
             Project: Maven 2
          Issue Type: Improvement
          Components: Documentation:  General
         Environment: All
            Reporter: Alfonsas Stonis


There is no list of properties available to Mojo expressions or within pom files. I spend whole day trying to find anything in Maven site or somewhere on internet. The best I was able to find was this link.
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
I doubt that it is complete. I found somewhere in maven site @parameter expression="${project.resources}" but there is no documentation about it. I do not know the type. I need resources directory and can not find the way how to find it. The only solution seems to work is to write whole path to property, but it is really bad way.


-- 
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-3720) Documentation of properties (pom variables) available (in mojo)

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145514#action_145514 ] 

Dennis Lundberg commented on MNG-3720:
--------------------------------------

The possible values are many. One good way to find out what is available is this:

${project.anything}

will refer to the element "anything" in the current Maven Project. For documentation on Maven Project see the reference at http://maven.apache.org/ref/current/maven-model/maven.html

Your specific request is difficult to get, because there can be more than one resource directory.

> Documentation of properties (pom variables) available (in mojo)
> ---------------------------------------------------------------
>
>                 Key: MNG-3720
>                 URL: http://jira.codehaus.org/browse/MNG-3720
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Documentation:  General
>         Environment: All
>            Reporter: Alfonsas Stonis
>
> There is no list of properties available to Mojo expressions or within pom files. I spend whole day trying to find anything in Maven site or somewhere on internet. The best I was able to find was this link.
> http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
> I doubt that it is complete. I found somewhere in maven site @parameter expression="${project.resources}" but there is no documentation about it. I do not know the type. I need resources directory and can not find the way how to find it. The only solution seems to work is to write whole path to property, but it is really bad way.

-- 
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-3720) Documentation of properties (pom variables) available (in mojo)

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

Brett Porter updated MNG-3720:
------------------------------

    Fix Version/s: Documentation Deficit

> Documentation of properties (pom variables) available (in mojo)
> ---------------------------------------------------------------
>
>                 Key: MNG-3720
>                 URL: http://jira.codehaus.org/browse/MNG-3720
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Documentation:  General
>         Environment: All
>            Reporter: Alfonsas Stonis
>             Fix For: Documentation Deficit
>
>
> There is no list of properties available to Mojo expressions or within pom files. I spend whole day trying to find anything in Maven site or somewhere on internet. The best I was able to find was this link.
> http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
> I doubt that it is complete. I found somewhere in maven site @parameter expression="${project.resources}" but there is no documentation about it. I do not know the type. I need resources directory and can not find the way how to find it. The only solution seems to work is to write whole path to property, but it is really bad way.

-- 
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-3720) Documentation of properties (pom variables) available (in mojo)

Posted by "Alfonsas Stonis (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145523#action_145523 ] 

Alfonsas Stonis commented on MNG-3720:
--------------------------------------

Thanks Dennis. The only one way that I found to solve this problem is to hard code path to the file <schemaFile>${basedir}/src/site/databasedoc/IFS.xml</schemaFile>
I know that it will mean that configuration of the project will be ignored, but I found no better way. Also I assume that what most users would like is to have a documentation of all available properties, that are not listed in the project reference (the one you mentioned).

> Documentation of properties (pom variables) available (in mojo)
> ---------------------------------------------------------------
>
>                 Key: MNG-3720
>                 URL: http://jira.codehaus.org/browse/MNG-3720
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Documentation:  General
>         Environment: All
>            Reporter: Alfonsas Stonis
>
> There is no list of properties available to Mojo expressions or within pom files. I spend whole day trying to find anything in Maven site or somewhere on internet. The best I was able to find was this link.
> http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
> I doubt that it is complete. I found somewhere in maven site @parameter expression="${project.resources}" but there is no documentation about it. I do not know the type. I need resources directory and can not find the way how to find it. The only solution seems to work is to write whole path to property, but it is really bad way.

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