You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/03/29 04:06:44 UTC

[jira] Closed: (MNG-2179) wrong property evaluation for project.organisation.name

     [ http://jira.codehaus.org/browse/MNG-2179?page=all ]
     
Brett Porter closed MNG-2179:
-----------------------------

     Assign To: Brett Porter
    Resolution: Duplicate

> wrong property evaluation for project.organisation.name
> -------------------------------------------------------
>
>          Key: MNG-2179
>          URL: http://jira.codehaus.org/browse/MNG-2179
>      Project: Maven 2
>         Type: Bug

>   Components: POM
>     Versions: 2.0.2
>  Environment: SuSE linux 10.0 kernel 2.6.13-15.8-smp
>     Reporter: Frank Seidinger
>     Assignee: Brett Porter

>
>
> If you define a name and an organisation in a pom like:
> <project>
>   ...
>   <name>my project name</name>
>   ...
>   <organization>
>     <name>my organization name</name>
>   </organization>  
>   ...
> </project>
> and later use the organisation name, e.g. to include it in a manifest with:
>       ...
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-jar-plugin</artifactId>
>         <configuration>
>           <archive>
>             <manifestEntries>
>               <MIDlet-Vendor>${project.organization.name}</MIDlet-Vendor>
>             </manifestEntries>
>           </archive>
>         </configuration>
>       </plugin>
>       ...
> the property reference is evaluated to the project name. You will find in the manifest:
> MIDlet-Vendor: my project name

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