[ 
https://jira.codehaus.org/browse/MUNIX-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272662#comment-272662
 ] 

Trygve Laugstol commented on MUNIX-35:
--------------------------------------

This seems to be a case of bad documentation.

If you replace 
{code}
<id>CSentryportal</id>
{code}

with

{code}

<packages>
  <package>
    <classifier>default</classifier>
    <id>CSentryportal</id>
  </package>
</packages>
{code}

it'll work (at least with the current code. It might be a useful enhancement to 
use the <id> from the <configuration> section as the id of the default package.

> id-field does not map to PKG for Solaris packages
> -------------------------------------------------
>
>                 Key: MUNIX-35
>                 URL: https://jira.codehaus.org/browse/MUNIX-35
>             Project: Maven 2.x Unix Plugin
>          Issue Type: Bug
>    Affects Versions:  1.0-alpha-4
>         Environment: SunOS 5.10 Generic_137111-04 sun4v sparc 
> SUNW,SPARC-Enterprise-T5220
>            Reporter: Patrick Camenzind
>            Priority: Critical
>
> According to the documentation 
> (http://mojo.codehaus.org/unix/unix-handbook/handbook.html#mapping) setting 
> the <id> field in the configuration for the plugin in the pom should change 
> the PKG value in pkginfo to something different than the 
> ${project.artifactId} value, but it doesn't.
> - pom.xml:
> ...
> <configuration>
>       <id>CSentryportal</id>
>       <name>Entry-Portal</name>
>       <contact>SCM</contact>
>       <contactEmail>[email protected]</contactEmail>
>       ...
> </configuration>
> ...
> - resulting "target/unix/root-pkg/pkginfo"
> PKG=portal_entry
> NAME=Entry-Portal
> DESC=Entry Portal for the SCM entry server.
> [email protected]
> ...
> All the other fields are assigned as expected but not the PKG one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to