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


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