[ 
http://jira.codehaus.org/browse/MOJO-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Tran closed MOJO-896.
-------------------------

      Assignee: Dan Tran
    Resolution: Won't Fix

here is the new comments in my initialize mojo.

        //strip version from finalName since  and
        // disallow user from changing the final name since many
        //  final linker output depending heavily on the name without any 
associated version


so if you's like to use your own finalName, you can use antrun plugin to do 
that job

> Unable to set finalName in pom.xml
> ----------------------------------
>
>                 Key: MOJO-896
>                 URL: http://jira.codehaus.org/browse/MOJO-896
>             Project: Mojo
>          Issue Type: Bug
>          Components: native
>         Environment: native-maven-plugin 1.0-alpha-3-SNAPSHOT
>            Reporter: Mathias Arens
>            Assignee: Dan Tran
>
> If you set the finalName in the pom.xml it doesn't effect the file name of 
> the generated library. 
>  <build>
>         <finalName>name</finalName>
>         <plugins>
> The filename of the generated library is always equal to the artifactId 
> because the finalName  is overwritten in the NativeInitializeMojo.
>         //strip version from finalName;
>         String finalName = project.getBuild().getFinalName();
>         project.getBuild().setFinalName( finalName );
> In my opinion these lines should be removed because you cannot set the 
> finalName in the pom.xml anymore.

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