[ 
http://jira.codehaus.org/browse/MOJO-1047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_124373
 ] 

deckrider edited comment on MOJO-1047 at 2/20/08 6:31 AM:
----------------------------------------------------------

Just noticed that 'mvn package' creates the file name from the PKG variable 
within the src/main/solaris/pkginfo file.

However, 'mvn install' installs as the regular 
'<artifactId>-<version>.<extension>' format.

What I have to conform to is the naming convention here:

http://www.blastwave.org/standards/pkgcreation.php

Assuming my artifact id is 'CSWfoo' I then have the following in my 
src/main/solaris/pkginfo:

PKG=CSWfoo

And then I need to produce a file name like this:

foo-${project.version}-SunOS-5.10-sparc-CSW.pkg

or the gzipped version:

foo-${project.version}-SunOS-5.10-sparc-CSW.pkg.gz

I don't know if this is possible (or even desirable) for it to work this way in 
Maven repositories.  But I'm thinking that at least the 'mvn package' step 
should produce an artifiact similar in naming behavior as when building a jar 
artifact type.



      was (Author: deckrider):
    Just noticed that 'mvn package' creates the file name from the PKG variable 
within the src/main/solaris/pkginfo file.

However, 'mvn install' installs as the regular 
'<artifactId>-<version>.<extension>' format.

What I have to conform to is the naming convention here:

http://www.blastwave.org/standards/pkgcreation.php

Assuming my artifact id is 'foo' I then have the following in my 
src/main/solaris/pkginfo:

PKG=CSW${project.artifactId}

And then I need to produce a file name like this:

${project.artifactId}-${project.version}-SunOS-5.10-sparc-CSW.pkg

I don't know if this is possible (or even desirable) for it to work this way in 
Maven repositories.  But I'm thinking that at least the 'mvn package' step 
should produce an artifiact similar in naming behavior as when building a jar 
artifact type.


  
> solaris maven plugin ignores packageFilename
> --------------------------------------------
>
>                 Key: MOJO-1047
>                 URL: http://jira.codehaus.org/browse/MOJO-1047
>             Project: Mojo
>          Issue Type: Bug
>         Environment: solaris
>            Reporter: deckrider
>            Assignee: Trygve Laugstol
>
> Using the example at 
> http://codehaus.org/~trygvis/solaris-maven-plugin/usage.html it would appear 
> that packageFilename is available, but the plugin ignores the setting.

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to